diff --git a/packages/app-cli/tests/HtmlToMd.ts b/packages/app-cli/tests/HtmlToMd.ts index 3333cd676..5bb37a31a 100644 --- a/packages/app-cli/tests/HtmlToMd.ts +++ b/packages/app-cli/tests/HtmlToMd.ts @@ -83,8 +83,8 @@ describe('HtmlToMd', () => { it('should allow disabling escape', async () => { const htmlToMd = new HtmlToMd(); - expect(htmlToMd.parse('https://test.com/1_2_3.pdf', { disableEscapeContent: true })).toBe('https://test.com/1_2_3.pdf'); - expect(htmlToMd.parse('https://test.com/1_2_3.pdf', { disableEscapeContent: false })).toBe('https://test.com/1\\_2\\_3.pdf'); + expect(htmlToMd.parse('> 1 _2_ 3.pdf', { disableEscapeContent: true })).toBe('> 1 _2_ 3.pdf'); + expect(htmlToMd.parse('> 1 _2_ 3.pdf', { disableEscapeContent: false })).toBe('\\> 1 \\_2_ 3.pdf'); }); }); diff --git a/packages/app-cli/tests/html_to_md/underscores_in_words.html b/packages/app-cli/tests/html_to_md/underscores_in_words.html new file mode 100644 index 000000000..2e1de9aab --- /dev/null +++ b/packages/app-cli/tests/html_to_md/underscores_in_words.html @@ -0,0 +1,14 @@ +

+ Some URLs in the Rich_Text_Editor contain _ characters, but haven't been converted + to links yet. For example, https://www.example.com/a_test_of_links. +

+

We should preserve the underscores _without escaping them_ to prevent the links from breaking.

+

+ This should also correctly handle unicode characters. For example, punctuation❯_requires escapes_, + but π”π”ˆπ”—π”—π”ˆπ•½_𝔠π”₯π”žπ”―π”žπ” π”±π”’π”―π”°_and_897_numbers_π’Ÿon_'t. +

+

+ _Note_ that what [_causes_] a `_` to create italics_ seems to depend only on the character before + and an escape at the _beginning_ seems to be sufficient. +

+

_s also don't need escapes if _ followed _ by a _space.

\ No newline at end of file diff --git a/packages/app-cli/tests/html_to_md/underscores_in_words.md b/packages/app-cli/tests/html_to_md/underscores_in_words.md new file mode 100644 index 000000000..cefd313a9 --- /dev/null +++ b/packages/app-cli/tests/html_to_md/underscores_in_words.md @@ -0,0 +1,9 @@ +Some URLs in the Rich_Text_Editor contain `_` characters, but haven't been converted to links yet. For example, https://www.example.com/a_test_of_links. + +We should preserve the underscores \_without escaping them_ to prevent the links from breaking. + +This should also correctly handle unicode characters. For example, punctuation❯\_requires escapes_, but π”π”ˆπ”—π”—π”ˆπ•½_𝔠π”₯π”žπ”―π”žπ” π”±π”’π”―π”°_and_897_numbers_π’Ÿon_'t. + +\_Note_ that what \[\_causes_\] a \`\_\` to create italics_ seems to depend only on the character before and an escape at the \_beginning_ seems to be sufficient. + +\_s also don't need escapes if _ followed _ by a \_space. \ No newline at end of file diff --git a/packages/turndown/config/rollup.config.browser.cjs.js b/packages/turndown/config/rollup.config.browser.cjs.mjs similarity index 73% rename from packages/turndown/config/rollup.config.browser.cjs.js rename to packages/turndown/config/rollup.config.browser.cjs.mjs index 8e2bddc60..4a3aef08f 100644 --- a/packages/turndown/config/rollup.config.browser.cjs.js +++ b/packages/turndown/config/rollup.config.browser.cjs.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/config/rollup.config.browser.es.js b/packages/turndown/config/rollup.config.browser.es.mjs similarity index 73% rename from packages/turndown/config/rollup.config.browser.es.js rename to packages/turndown/config/rollup.config.browser.es.mjs index 0b2503422..d5a0c6c70 100644 --- a/packages/turndown/config/rollup.config.browser.es.js +++ b/packages/turndown/config/rollup.config.browser.es.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/config/rollup.config.browser.umd.js b/packages/turndown/config/rollup.config.browser.umd.mjs similarity index 73% rename from packages/turndown/config/rollup.config.browser.umd.js rename to packages/turndown/config/rollup.config.browser.umd.mjs index 04a29ab2d..cf45a2191 100644 --- a/packages/turndown/config/rollup.config.browser.umd.js +++ b/packages/turndown/config/rollup.config.browser.umd.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/config/rollup.config.cjs.js b/packages/turndown/config/rollup.config.cjs.mjs similarity index 72% rename from packages/turndown/config/rollup.config.cjs.js rename to packages/turndown/config/rollup.config.cjs.mjs index 67306087b..91c4e8c4c 100644 --- a/packages/turndown/config/rollup.config.cjs.js +++ b/packages/turndown/config/rollup.config.cjs.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/config/rollup.config.es.js b/packages/turndown/config/rollup.config.es.mjs similarity index 71% rename from packages/turndown/config/rollup.config.es.js rename to packages/turndown/config/rollup.config.es.mjs index d8cc36621..e3ea4e0a6 100644 --- a/packages/turndown/config/rollup.config.es.js +++ b/packages/turndown/config/rollup.config.es.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/config/rollup.config.iife.js b/packages/turndown/config/rollup.config.iife.mjs similarity index 71% rename from packages/turndown/config/rollup.config.iife.js rename to packages/turndown/config/rollup.config.iife.mjs index 2a881eead..a8497e017 100644 --- a/packages/turndown/config/rollup.config.iife.js +++ b/packages/turndown/config/rollup.config.iife.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/config/rollup.config.js b/packages/turndown/config/rollup.config.js deleted file mode 100644 index 4666bd1b8..000000000 --- a/packages/turndown/config/rollup.config.js +++ /dev/null @@ -1,17 +0,0 @@ -import commonjs from 'rollup-plugin-commonjs'; -import replace from 'rollup-plugin-replace'; -import resolve from 'rollup-plugin-node-resolve'; - -export default function(config) { - return { - input: 'src/turndown.js', - name: 'TurndownService', - output: config.output, - external: ['jsdom'], - plugins: [ - commonjs(), - replace({ 'process.browser': JSON.stringify(!!config.browser) }), - resolve(), - ], - }; -} diff --git a/packages/turndown/config/rollup.config.mjs b/packages/turndown/config/rollup.config.mjs new file mode 100644 index 000000000..c1e0dda4b --- /dev/null +++ b/packages/turndown/config/rollup.config.mjs @@ -0,0 +1,22 @@ +import commonjs from '@rollup/plugin-commonjs'; +import replace from '@rollup/plugin-replace'; +import resolve from '@rollup/plugin-node-resolve'; + +export default function(config) { + return { + input: 'src/turndown.js', + output: { + name: 'TurndownService', + ...config.output, + }, + external: ['jsdom'], + plugins: [ + commonjs(), + replace({ + 'process.browser': JSON.stringify(!!config.browser), + preventAssignment: true, + }), + resolve(), + ], + }; +} diff --git a/packages/turndown/config/rollup.config.umd.js b/packages/turndown/config/rollup.config.umd.mjs similarity index 68% rename from packages/turndown/config/rollup.config.umd.js rename to packages/turndown/config/rollup.config.umd.mjs index 37f506a69..9d1a3b220 100644 --- a/packages/turndown/config/rollup.config.umd.js +++ b/packages/turndown/config/rollup.config.umd.mjs @@ -1,4 +1,4 @@ -import config from './rollup.config'; +import config from './rollup.config.mjs'; export default config({ output: { diff --git a/packages/turndown/package.json b/packages/turndown/package.json index bd8e687d9..31ae01430 100644 --- a/packages/turndown/package.json +++ b/packages/turndown/package.json @@ -16,11 +16,11 @@ "jsdom": "22.1.0" }, "devDependencies": { + "@rollup/plugin-commonjs": "25.0.7", + "@rollup/plugin-node-resolve": "15.2.3", + "@rollup/plugin-replace": "5.0.5", "browserify": "14.5.0", - "rollup": "0.50.1", - "rollup-plugin-commonjs": "8.4.1", - "rollup-plugin-node-resolve": "3.4.0", - "rollup-plugin-replace": "2.2.0", + "rollup": "4.2.0", "standard": "17.1.0", "turndown-attendant": "0.0.3" }, @@ -40,11 +40,11 @@ }, "scripts": { "build-all": "npm run build-cjs && npm run build-es && npm run build-umd && npm run build-iife", - "build": "rollup -c config/rollup.config.cjs.js", - "build-cjs": "rollup -c config/rollup.config.cjs.js && rollup -c config/rollup.config.browser.cjs.js", - "build-es": "rollup -c config/rollup.config.es.js && rollup -c config/rollup.config.browser.es.js", - "build-umd": "rollup -c config/rollup.config.umd.js && rollup -c config/rollup.config.browser.umd.js", - "build-iife": "rollup -c config/rollup.config.iife.js", + "build": "rollup -c config/rollup.config.cjs.mjs", + "build-cjs": "rollup -c config/rollup.config.cjs.mjs && rollup -c config/rollup.config.browser.cjs.mjs", + "build-es": "rollup -c config/rollup.config.es.mjs && rollup -c config/rollup.config.browser.es.mjs", + "build-umd": "rollup -c config/rollup.config.umd.mjs && rollup -c config/rollup.config.browser.umd.mjs", + "build-iife": "rollup -c config/rollup.config.iife.mjs", "build-test": "browserify test/turndown-test.js --outfile test/turndown-test.browser.js", "prepare": "npm run build" }, diff --git a/packages/turndown/src/turndown.js b/packages/turndown/src/turndown.js index 77416b2d4..1d38839d3 100644 --- a/packages/turndown/src/turndown.js +++ b/packages/turndown/src/turndown.js @@ -16,7 +16,8 @@ var escapes = [ [/\[/g, '\\['], [/\]/g, '\\]'], [/^>/g, '\\>'], - [/_/g, '\\_'], + // A list of valid \p values can be found here: https://unicode.org/reports/tr44/#GC_Values_Table + [/(^|\p{Punctuation}|\p{Separator}|\p{Symbol})_(\P{Separator})/ug, '$1\\_$2'], [/^(\d+)\. /g, '$1\\. '] ] diff --git a/yarn.lock b/yarn.lock index 7a18d0556..a4e34ac7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6826,14 +6826,14 @@ __metadata: version: 0.0.0-use.local resolution: "@joplin/turndown@workspace:packages/turndown" dependencies: + "@rollup/plugin-commonjs": 25.0.7 + "@rollup/plugin-node-resolve": 15.2.3 + "@rollup/plugin-replace": 5.0.5 browserify: 14.5.0 css: 3.0.0 html-entities: 1.4.0 jsdom: 22.1.0 - rollup: 0.50.1 - rollup-plugin-commonjs: 8.4.1 - rollup-plugin-node-resolve: 3.4.0 - rollup-plugin-replace: 2.2.0 + rollup: 4.2.0 standard: 17.1.0 turndown-attendant: 0.0.3 languageName: unknown @@ -6944,7 +6944,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.14": +"@jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.15": version: 1.4.15 resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 @@ -9060,6 +9060,159 @@ __metadata: languageName: node linkType: hard +"@rollup/plugin-commonjs@npm:25.0.7": + version: 25.0.7 + resolution: "@rollup/plugin-commonjs@npm:25.0.7" + dependencies: + "@rollup/pluginutils": ^5.0.1 + commondir: ^1.0.1 + estree-walker: ^2.0.2 + glob: ^8.0.3 + is-reference: 1.2.1 + magic-string: ^0.30.3 + peerDependencies: + rollup: ^2.68.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 052e11839a9edc556eda5dcc759ab816dcc57e9f0f905a1e6e14fff954eaa6b1e2d0d544f5bd18d863993c5eba43d8ac9c19d9bb53b1c3b1213f32cfc9d50b2e + languageName: node + linkType: hard + +"@rollup/plugin-node-resolve@npm:15.2.3": + version: 15.2.3 + resolution: "@rollup/plugin-node-resolve@npm:15.2.3" + dependencies: + "@rollup/pluginutils": ^5.0.1 + "@types/resolve": 1.20.2 + deepmerge: ^4.2.2 + is-builtin-module: ^3.2.1 + is-module: ^1.0.0 + resolve: ^1.22.1 + peerDependencies: + rollup: ^2.78.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 730f32c2f8fdddff07cf0fca86a5dac7c475605fb96930197a868c066e62eb6388c557545e4f7d99b7a283411754c9fbf98944ab086b6074e04fc1292e234aa8 + languageName: node + linkType: hard + +"@rollup/plugin-replace@npm:5.0.5": + version: 5.0.5 + resolution: "@rollup/plugin-replace@npm:5.0.5" + dependencies: + "@rollup/pluginutils": ^5.0.1 + magic-string: ^0.30.3 + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 5559b48fa098a842ddb3a25b23d9902d75496bed807d4cabac304bb7e75b06374ad4a44f7871ddcd1bfcf23e6015a0274d44564b42af54c722af0a514c247ec1 + languageName: node + linkType: hard + +"@rollup/pluginutils@npm:^5.0.1": + version: 5.0.5 + resolution: "@rollup/pluginutils@npm:5.0.5" + dependencies: + "@types/estree": ^1.0.0 + estree-walker: ^2.0.2 + picomatch: ^2.3.1 + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: dcd4d6e3cb6047f18c465a5f2bcd29995c565f083fb6ca5505bcf2018ae0c16634fd38d99538fbb7dcef4e1b491cf4b4465f8845b5666778a925a27e9202dbab + languageName: node + linkType: hard + +"@rollup/rollup-android-arm-eabi@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.2.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-android-arm64@npm:4.2.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.2.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.2.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.2.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.2.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.2.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.2.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.2.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.2.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.2.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.2.0": + version: 4.2.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.2.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@seiyab/eslint-plugin-react-hooks@npm:4.5.1-beta.0": version: 4.5.1-beta.0 resolution: "@seiyab/eslint-plugin-react-hooks@npm:4.5.1-beta.0" @@ -10491,6 +10644,13 @@ __metadata: languageName: node linkType: hard +"@types/resolve@npm:1.20.2": + version: 1.20.2 + resolution: "@types/resolve@npm:1.20.2" + checksum: 61c2cad2499ffc8eab36e3b773945d337d848d3ac6b7b0a87c805ba814bc838ef2f262fc0f109bfd8d2e0898ff8bd80ad1025f9ff64f1f71d3d4294c9f14e5f6 + languageName: node + linkType: hard + "@types/responselike@npm:*, @types/responselike@npm:^1.0.0": version: 1.0.0 resolution: "@types/responselike@npm:1.0.0" @@ -14061,20 +14221,13 @@ __metadata: languageName: node linkType: hard -"builtin-modules@npm:3.3.0": +"builtin-modules@npm:3.3.0, builtin-modules@npm:^3.3.0": version: 3.3.0 resolution: "builtin-modules@npm:3.3.0" checksum: db021755d7ed8be048f25668fe2117620861ef6703ea2c65ed2779c9e3636d5c3b82325bd912244293959ff3ae303afa3471f6a15bf5060c103e4cc3a839749d languageName: node linkType: hard -"builtin-modules@npm:^2.0.0": - version: 2.0.0 - resolution: "builtin-modules@npm:2.0.0" - checksum: 6d779e54ad930130767ce5362829bff7c2089c013ad4eeb1bf292803482dd2ab1d0c51e9d1fa15a6df87947e563dca72ef4af025b639c77bd10132a27b93387f - languageName: node - linkType: hard - "builtin-status-codes@npm:^3.0.0": version: 3.0.0 resolution: "builtin-status-codes@npm:3.0.0" @@ -19973,17 +20126,10 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^0.5.0": - version: 0.5.2 - resolution: "estree-walker@npm:0.5.2" - checksum: c0beb0a6c016c888337437204d0d0a2677aab623abd1da2d18bf4257fceb9ec38f9772b58b53d7144937e2a5324fd26bfe7a822c18b23f45061f74c5296ec96a - languageName: node - linkType: hard - -"estree-walker@npm:^0.6.1": - version: 0.6.1 - resolution: "estree-walker@npm:0.6.1" - checksum: 9d6f82a4921f11eec18f8089fb3cce6e53bcf45a8e545c42a2674d02d055fb30f25f90495f8be60803df6c39680c80dcee7f944526867eb7aa1fc9254883b23d +"estree-walker@npm:^2.0.2": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc languageName: node linkType: hard @@ -24297,6 +24443,15 @@ __metadata: languageName: node linkType: hard +"is-builtin-module@npm:^3.2.1": + version: 3.2.1 + resolution: "is-builtin-module@npm:3.2.1" + dependencies: + builtin-modules: ^3.3.0 + checksum: e8f0ffc19a98240bda9c7ada84d846486365af88d14616e737d280d378695c8c448a621dcafc8332dbf0fcd0a17b0763b845400709963fa9151ddffece90ae88 + languageName: node + linkType: hard + "is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.4": version: 1.2.4 resolution: "is-callable@npm:1.2.4" @@ -24758,6 +24913,15 @@ __metadata: languageName: node linkType: hard +"is-reference@npm:1.2.1": + version: 1.2.1 + resolution: "is-reference@npm:1.2.1" + dependencies: + "@types/estree": "*" + checksum: e7b48149f8abda2c10849ea51965904d6a714193d68942ad74e30522231045acf06cbfae5a4be2702fede5d232e61bf50b3183acdc056e6e3afe07fcf4f4b2bc + languageName: node + linkType: hard + "is-regex@npm:^1.0.4, is-regex@npm:^1.1.4, is-regex@npm:~1.1.3": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -27691,21 +27855,12 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.22.4": - version: 0.22.5 - resolution: "magic-string@npm:0.22.5" +"magic-string@npm:^0.30.3": + version: 0.30.5 + resolution: "magic-string@npm:0.30.5" dependencies: - vlq: ^0.2.2 - checksum: e4d8b2083ed81f139ca471c19f5d0505c0f9083e06b71f48835057b3295a9494a15aac6a111d335573b986a67d3932e41c726d2eb6c76af30d0391b5e254ced3 - languageName: node - linkType: hard - -"magic-string@npm:^0.25.2": - version: 0.25.7 - resolution: "magic-string@npm:0.25.7" - dependencies: - sourcemap-codec: ^1.4.4 - checksum: 727a1fb70f9610304fe384f1df0251eb7d1d9dd779c07ef1225690361b71b216f26f5d934bfb11c919b5b0e7ba50f6240c823a6f2e44cfd33d4a07d7747ca829 + "@jridgewell/sourcemap-codec": ^1.4.15 + checksum: da10fecff0c0a7d3faf756913ce62bd6d5e7b0402be48c3b27bfd651b90e29677e279069a63b764bcdc1b8ecdcdb898f29a5c5ec510f2323e8d62ee057a6eb18 languageName: node linkType: hard @@ -36306,49 +36461,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-commonjs@npm:8.4.1": - version: 8.4.1 - resolution: "rollup-plugin-commonjs@npm:8.4.1" - dependencies: - acorn: ^5.2.1 - estree-walker: ^0.5.0 - magic-string: ^0.22.4 - resolve: ^1.4.0 - rollup-pluginutils: ^2.0.1 - checksum: 519c24477a4f814b786bf5f4ed05566a441aca9abea05af72e14742f39af485ad9a5c9eae4a170e79a4f2281078ab5f25bb9dc6df1e23f4e54e069db3384d829 - languageName: node - linkType: hard - -"rollup-plugin-node-resolve@npm:3.4.0": - version: 3.4.0 - resolution: "rollup-plugin-node-resolve@npm:3.4.0" - dependencies: - builtin-modules: ^2.0.0 - is-module: ^1.0.0 - resolve: ^1.1.6 - checksum: 75ce3843dbc20dcd9997d597835aa8c827c9995fc4dce3ab1dc4e5508a444eda0b41173e9b0773b6275a032e6fed51b2438bd2da58faa68496cf73a5693170eb - languageName: node - linkType: hard - -"rollup-plugin-replace@npm:2.2.0": - version: 2.2.0 - resolution: "rollup-plugin-replace@npm:2.2.0" - dependencies: - magic-string: ^0.25.2 - rollup-pluginutils: ^2.6.0 - checksum: 5c173ec5b8eb4f6654f7cfa3816ac429be029721d7e295a215aa3b3c55521062fc2320b0fbcfec7f138e85a5d1b4c230e5b5e675791a604894b7c7d6c06edd49 - languageName: node - linkType: hard - -"rollup-pluginutils@npm:^2.0.1, rollup-pluginutils@npm:^2.6.0": - version: 2.8.2 - resolution: "rollup-pluginutils@npm:2.8.2" - dependencies: - estree-walker: ^0.6.1 - checksum: 339fdf866d8f4ff6e408fa274c0525412f7edb01dc46b5ccda51f575b7e0d20ad72965773376fb5db95a77a7fcfcab97bf841ec08dbadf5d6b08af02b7a2cf5e - languageName: node - linkType: hard - "rollup@npm:0.50.1": version: 0.50.1 resolution: "rollup@npm:0.50.1" @@ -36358,6 +36470,56 @@ __metadata: languageName: node linkType: hard +"rollup@npm:4.2.0": + version: 4.2.0 + resolution: "rollup@npm:4.2.0" + dependencies: + "@rollup/rollup-android-arm-eabi": 4.2.0 + "@rollup/rollup-android-arm64": 4.2.0 + "@rollup/rollup-darwin-arm64": 4.2.0 + "@rollup/rollup-darwin-x64": 4.2.0 + "@rollup/rollup-linux-arm-gnueabihf": 4.2.0 + "@rollup/rollup-linux-arm64-gnu": 4.2.0 + "@rollup/rollup-linux-arm64-musl": 4.2.0 + "@rollup/rollup-linux-x64-gnu": 4.2.0 + "@rollup/rollup-linux-x64-musl": 4.2.0 + "@rollup/rollup-win32-arm64-msvc": 4.2.0 + "@rollup/rollup-win32-ia32-msvc": 4.2.0 + "@rollup/rollup-win32-x64-msvc": 4.2.0 + fsevents: ~2.3.2 + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 99f855a56e5d71e7e4d48b8853116e14ce9d42d141772c1b4a6f0a409b65eb22a5dea359fd259acd1d8a1ee633d5f0cc873717732330b57f05b02893704e6010 + languageName: node + linkType: hard + "root@workspace:.": version: 0.0.0-use.local resolution: "root@workspace:." @@ -37771,13 +37933,6 @@ __metadata: languageName: node linkType: hard -"sourcemap-codec@npm:^1.4.4": - version: 1.4.8 - resolution: "sourcemap-codec@npm:1.4.8" - checksum: b57981c05611afef31605732b598ccf65124a9fcb03b833532659ac4d29ac0f7bfacbc0d6c5a28a03e84c7510e7e556d758d0bb57786e214660016fb94279316 - languageName: node - linkType: hard - "space-separated-tokens@npm:^1.0.0": version: 1.1.5 resolution: "space-separated-tokens@npm:1.1.5" @@ -41717,13 +41872,6 @@ __metadata: languageName: node linkType: hard -"vlq@npm:^0.2.2": - version: 0.2.3 - resolution: "vlq@npm:0.2.3" - checksum: 2231d8caeb5b2c1a438677ab029e9a94aa6fb61ab05819c72691b792aea0456dab29576aff5ae29309ee45bad0a309e832dc45173119bca1393f3b87709d8f8d - languageName: node - linkType: hard - "vlq@npm:^1.0.0": version: 1.0.1 resolution: "vlq@npm:1.0.1"