diff --git a/CHANGELOG.md b/CHANGELOG.md index b450a85a..da190c32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.8.7 / 2022-12-05 +================== + +* Added import statements template to configuration file +* Updated readme info about supported Node.js versions + 1.8.6 / 2022-08-19 ================== diff --git a/__DOCS__/JSDocTemplate/template/static/js/prism.js b/__DOCS__/JSDocTemplate/template/static/js/prism.js index 98835b58..4b9c9a0f 100644 --- a/__DOCS__/JSDocTemplate/template/static/js/prism.js +++ b/__DOCS__/JSDocTemplate/template/static/js/prism.js @@ -1325,7 +1325,10 @@ Prism.languages.markup = { pattern: /^=/, alias: 'attr-equals' }, - /"|'/ + { + pattern: /^(\s*)["']|["']$/, + lookbehind: true + } ] } }, @@ -1468,7 +1471,7 @@ Prism.languages.rss = Prism.languages.xml; Prism.languages.css = { 'comment': /\/\*[\s\S]*?\*\//, 'atrule': { - pattern: /@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/, + pattern: RegExp('@[\\w-](?:' + /[^;{\s"']|\s+(?!\s)/.source + '|' + string.source + ')*?' + /(?:;|(?=\s*\{))/.source), inside: { 'rule': /^@[\w-]+/, 'selector-function-argument': { diff --git a/package.json b/package.json index 1957727b..b7d6937e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cloudinary/url-gen", - "version": "1.8.6", + "version": "1.8.7", "description": "", "scripts": { "test": "npm run build && npm run test:types && npm run build && jest --coverage --reporters default && npm run test:size",