From a7ac55f86d1cd0985bcb1f32d4f2cff31d4eb5e3 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Mon, 5 Jul 2021 08:30:49 +0200 Subject: [PATCH] Fix node 12.18 module error --- package.json | 4 +- patches/es-module-lexer+0.4.1.patch | 19 ++++ patches/sourcemap-codec+1.4.8.patch | 162 ++++++++++++++++++++++++++++ yarn.lock | 43 ++++++++ 4 files changed, 227 insertions(+), 1 deletion(-) create mode 100644 patches/es-module-lexer+0.4.1.patch create mode 100644 patches/sourcemap-codec+1.4.8.patch diff --git a/package.json b/package.json index 506a30833..63bc57c15 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "demo": "yarn workspace @examples/demo run", "docs": "yarn workspace docs", "iso": "yarn workspace preact-iso", - "ci": "yarn wmr build && yarn --check-files && yarn demo build:prod" + "ci": "yarn wmr build && yarn --check-files && yarn demo build:prod", + "postinstall": "patch-package --exclude 'nothing'" }, "eslintConfig": { "extends": [ @@ -91,6 +92,7 @@ "eslint-plugin-prettier": "^3.1.4", "husky": "^4.2.5", "lint-staged": "^10.2.11", + "patch-package": "^6.4.7", "prettier": "^2.0.5" } } diff --git a/patches/es-module-lexer+0.4.1.patch b/patches/es-module-lexer+0.4.1.patch new file mode 100644 index 000000000..d5103875e --- /dev/null +++ b/patches/es-module-lexer+0.4.1.patch @@ -0,0 +1,19 @@ +diff --git a/node_modules/es-module-lexer/package.json b/node_modules/es-module-lexer/package.json +index 0c49d6e..4b9d388 100755 +--- a/node_modules/es-module-lexer/package.json ++++ b/node_modules/es-module-lexer/package.json +@@ -5,6 +5,14 @@ + "main": "dist/lexer.cjs", + "module": "dist/lexer.js", + "types": "types/lexer.d.ts", ++ "exports": { ++ ".": { ++ "import": "./dist/lexer.js", ++ "require": "./dist/lexer.cjs" ++ }, ++ "./package.json": "./package.json", ++ "./": "./" ++ }, + "scripts": { + "test": "NODE_OPTIONS=\"--experimental-modules\" mocha -b -u tdd test/*.cjs", + "build": "node --experimental-modules build.js && babel dist/lexer.js | terser -o dist/lexer.cjs", diff --git a/patches/sourcemap-codec+1.4.8.patch b/patches/sourcemap-codec+1.4.8.patch new file mode 100644 index 000000000..5c5117ea6 --- /dev/null +++ b/patches/sourcemap-codec+1.4.8.patch @@ -0,0 +1,162 @@ +diff --git a/node_modules/sourcemap-codec/.DS_Store b/node_modules/sourcemap-codec/.DS_Store +new file mode 100644 +index 0000000..f7b71aa +Binary files /dev/null and b/node_modules/sourcemap-codec/.DS_Store differ +diff --git a/node_modules/sourcemap-codec/dist/sourcemap-codec.mjs b/node_modules/sourcemap-codec/dist/sourcemap-codec.mjs +new file mode 100644 +index 0000000..4e3813e +--- /dev/null ++++ b/node_modules/sourcemap-codec/dist/sourcemap-codec.mjs +@@ -0,0 +1,124 @@ ++var charToInteger = {}; ++var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; ++for (var i = 0; i < chars.length; i++) { ++ charToInteger[chars.charCodeAt(i)] = i; ++} ++function decode(mappings) { ++ var decoded = []; ++ var line = []; ++ var segment = [ ++ 0, ++ 0, ++ 0, ++ 0, ++ 0, ++ ]; ++ var j = 0; ++ for (var i = 0, shift = 0, value = 0; i < mappings.length; i++) { ++ var c = mappings.charCodeAt(i); ++ if (c === 44) { // "," ++ segmentify(line, segment, j); ++ j = 0; ++ } ++ else if (c === 59) { // ";" ++ segmentify(line, segment, j); ++ j = 0; ++ decoded.push(line); ++ line = []; ++ segment[0] = 0; ++ } ++ else { ++ var integer = charToInteger[c]; ++ if (integer === undefined) { ++ throw new Error('Invalid character (' + String.fromCharCode(c) + ')'); ++ } ++ var hasContinuationBit = integer & 32; ++ integer &= 31; ++ value += integer << shift; ++ if (hasContinuationBit) { ++ shift += 5; ++ } ++ else { ++ var shouldNegate = value & 1; ++ value >>>= 1; ++ if (shouldNegate) { ++ value = value === 0 ? -0x80000000 : -value; ++ } ++ segment[j] += value; ++ j++; ++ value = shift = 0; // reset ++ } ++ } ++ } ++ segmentify(line, segment, j); ++ decoded.push(line); ++ return decoded; ++} ++function segmentify(line, segment, j) { ++ // This looks ugly, but we're creating specialized arrays with a specific ++ // length. This is much faster than creating a new array (which v8 expands to ++ // a capacity of 17 after pushing the first item), or slicing out a subarray ++ // (which is slow). Length 4 is assumed to be the most frequent, followed by ++ // length 5 (since not everything will have an associated name), followed by ++ // length 1 (it's probably rare for a source substring to not have an ++ // associated segment data). ++ if (j === 4) ++ line.push([segment[0], segment[1], segment[2], segment[3]]); ++ else if (j === 5) ++ line.push([segment[0], segment[1], segment[2], segment[3], segment[4]]); ++ else if (j === 1) ++ line.push([segment[0]]); ++} ++function encode(decoded) { ++ var sourceFileIndex = 0; // second field ++ var sourceCodeLine = 0; // third field ++ var sourceCodeColumn = 0; // fourth field ++ var nameIndex = 0; // fifth field ++ var mappings = ''; ++ for (var i = 0; i < decoded.length; i++) { ++ var line = decoded[i]; ++ if (i > 0) ++ mappings += ';'; ++ if (line.length === 0) ++ continue; ++ var generatedCodeColumn = 0; // first field ++ var lineMappings = []; ++ for (var _i = 0, line_1 = line; _i < line_1.length; _i++) { ++ var segment = line_1[_i]; ++ var segmentMappings = encodeInteger(segment[0] - generatedCodeColumn); ++ generatedCodeColumn = segment[0]; ++ if (segment.length > 1) { ++ segmentMappings += ++ encodeInteger(segment[1] - sourceFileIndex) + ++ encodeInteger(segment[2] - sourceCodeLine) + ++ encodeInteger(segment[3] - sourceCodeColumn); ++ sourceFileIndex = segment[1]; ++ sourceCodeLine = segment[2]; ++ sourceCodeColumn = segment[3]; ++ } ++ if (segment.length === 5) { ++ segmentMappings += encodeInteger(segment[4] - nameIndex); ++ nameIndex = segment[4]; ++ } ++ lineMappings.push(segmentMappings); ++ } ++ mappings += lineMappings.join(','); ++ } ++ return mappings; ++} ++function encodeInteger(num) { ++ var result = ''; ++ num = num < 0 ? (-num << 1) | 1 : num << 1; ++ do { ++ var clamped = num & 31; ++ num >>>= 5; ++ if (num > 0) { ++ clamped |= 32; ++ } ++ result += chars[clamped]; ++ } while (num > 0); ++ return result; ++} ++ ++export { decode, encode }; ++//# sourceMappingURL=sourcemap-codec.mjs.map +diff --git a/node_modules/sourcemap-codec/dist/sourcemap-codec.mjs.map b/node_modules/sourcemap-codec/dist/sourcemap-codec.mjs.map +new file mode 100644 +index 0000000..5b2c6ed +--- /dev/null ++++ b/node_modules/sourcemap-codec/dist/sourcemap-codec.mjs.map +@@ -0,0 +1 @@ ++{"version":3,"file":"sourcemap-codec.mjs","sources":["../src/sourcemap-codec.ts"],"sourcesContent":["export type SourceMapSegment =\n\t| [number]\n\t| [number, number, number, number]\n\t| [number, number, number, number, number];\nexport type SourceMapLine = SourceMapSegment[];\nexport type SourceMapMappings = SourceMapLine[];\n\nconst charToInteger: { [charCode: number]: number } = {};\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfor (let i = 0; i < chars.length; i++) {\n\tcharToInteger[chars.charCodeAt(i)] = i;\n}\n\nexport function decode(mappings: string): SourceMapMappings {\n\tconst decoded: SourceMapMappings = [];\n\tlet line: SourceMapLine = [];\n\tconst segment: SourceMapSegment = [\n\t\t0, // generated code column\n\t\t0, // source file index\n\t\t0, // source code line\n\t\t0, // source code column\n\t\t0, // name index\n\t];\n\n\tlet j = 0;\n\tfor (let i = 0, shift = 0, value = 0; i < mappings.length; i++) {\n\t\tconst c = mappings.charCodeAt(i);\n\n\t\tif (c === 44) { // \",\"\n\t\t\tsegmentify(line, segment, j);\n\t\t\tj = 0;\n\n\t\t} else if (c === 59) { // \";\"\n\t\t\tsegmentify(line, segment, j);\n\t\t\tj = 0;\n\t\t\tdecoded.push(line);\n\t\t\tline = [];\n\t\t\tsegment[0] = 0;\n\n\t\t} else {\n\t\t\tlet integer = charToInteger[c];\n\t\t\tif (integer === undefined) {\n\t\t\t\tthrow new Error('Invalid character (' + String.fromCharCode(c) + ')');\n\t\t\t}\n\n\t\t\tconst hasContinuationBit = integer & 32;\n\n\t\t\tinteger &= 31;\n\t\t\tvalue += integer << shift;\n\n\t\t\tif (hasContinuationBit) {\n\t\t\t\tshift += 5;\n\t\t\t} else {\n\t\t\t\tconst shouldNegate = value & 1;\n\t\t\t\tvalue >>>= 1;\n\n\t\t\t\tif (shouldNegate) {\n\t\t\t\t\tvalue = value === 0 ? -0x80000000 : -value;\n\t\t\t\t}\n\n\t\t\t\tsegment[j] += value;\n\t\t\t\tj++;\n\t\t\t\tvalue = shift = 0; // reset\n\t\t\t}\n\t\t}\n\t}\n\n\tsegmentify(line, segment, j);\n\tdecoded.push(line);\n\n\treturn decoded;\n}\n\nfunction segmentify(line: SourceMapSegment[], segment: SourceMapSegment, j: number) {\n\t// This looks ugly, but we're creating specialized arrays with a specific\n\t// length. This is much faster than creating a new array (which v8 expands to\n\t// a capacity of 17 after pushing the first item), or slicing out a subarray\n\t// (which is slow). Length 4 is assumed to be the most frequent, followed by\n\t// length 5 (since not everything will have an associated name), followed by\n\t// length 1 (it's probably rare for a source substring to not have an\n\t// associated segment data).\n\tif (j === 4) line.push([segment[0], segment[1], segment[2], segment[3]]);\n\telse if (j === 5) line.push([segment[0], segment[1], segment[2], segment[3], segment[4]]);\n\telse if (j === 1) line.push([segment[0]]);\n}\n\nexport function encode(decoded: SourceMapMappings): string {\n\tlet sourceFileIndex = 0; // second field\n\tlet sourceCodeLine = 0; // third field\n\tlet sourceCodeColumn = 0; // fourth field\n\tlet nameIndex = 0; // fifth field\n\tlet mappings = '';\n\n\tfor (let i = 0; i < decoded.length; i++) {\n\t\tconst line = decoded[i];\n\t\tif (i > 0) mappings += ';';\n\t\tif (line.length === 0) continue;\n\n\t\tlet generatedCodeColumn = 0; // first field\n\n\t\tconst lineMappings: string[] = [];\n\n\t\tfor (const segment of line) {\n\t\t\tlet segmentMappings = encodeInteger(segment[0] - generatedCodeColumn);\n\t\t\tgeneratedCodeColumn = segment[0];\n\n\t\t\tif (segment.length > 1) {\n\t\t\t\tsegmentMappings +=\n\t\t\t\t\tencodeInteger(segment[1] - sourceFileIndex) +\n\t\t\t\t\tencodeInteger(segment[2] - sourceCodeLine) +\n\t\t\t\t\tencodeInteger(segment[3] - sourceCodeColumn);\n\n\t\t\t\tsourceFileIndex = segment[1];\n\t\t\t\tsourceCodeLine = segment[2];\n\t\t\t\tsourceCodeColumn = segment[3];\n\t\t\t}\n\n\t\t\tif (segment.length === 5) {\n\t\t\t\tsegmentMappings += encodeInteger(segment[4] - nameIndex);\n\t\t\t\tnameIndex = segment[4];\n\t\t\t}\n\n\t\t\tlineMappings.push(segmentMappings);\n\t\t}\n\n\t\tmappings += lineMappings.join(',');\n\t}\n\n\treturn mappings;\n}\n\nfunction encodeInteger(num: number): string {\n\tvar result = '';\n\tnum = num < 0 ? (-num << 1) | 1 : num << 1;\n\tdo {\n\t\tvar clamped = num & 31;\n\t\tnum >>>= 5;\n\t\tif (num > 0) {\n\t\t\tclamped |= 32;\n\t\t}\n\t\tresult += chars[clamped];\n\t} while (num > 0);\n\n\treturn result;\n}\n"],"names":[],"mappings":"AAOA,IAAM,aAAa,GAAmC,EAAE,CAAC;AACzD,IAAM,KAAK,GAAG,mEAAmE,CAAC;AAElF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IACtC,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACvC;SAEe,MAAM,CAAC,QAAgB;IACtC,IAAM,OAAO,GAAsB,EAAE,CAAC;IACtC,IAAI,IAAI,GAAkB,EAAE,CAAC;IAC7B,IAAM,OAAO,GAAqB;QACjC,CAAC;QACD,CAAC;QACD,CAAC;QACD,CAAC;QACD,CAAC;KACD,CAAC;IAEF,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC,GAA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AAC,CAAC;IAC3C,GAAG;QACF,IAAI,OAAO,GAAG,GAAG,GAAG,EAAE,CAAC;QACvB,GAAG,MAAM,CAAC,CAAC;QACX,IAAI,GAAG,GAAG,CAAC,EAAE;YACZ,OAAO,IAAI,EAAE,CAAC;SACd;QACD,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KACzB,QAAQ,GAAG,GAAG,CAAC,EAAE;IAElB,OAAO,MAAM,CAAC;AACf;;;;"} +\ No newline at end of file +diff --git a/node_modules/sourcemap-codec/package.json b/node_modules/sourcemap-codec/package.json +index 4b2d219..96f5feb 100644 +--- a/node_modules/sourcemap-codec/package.json ++++ b/node_modules/sourcemap-codec/package.json +@@ -5,6 +5,15 @@ + "main": "dist/sourcemap-codec.umd.js", + "module": "dist/sourcemap-codec.es.js", + "types": "dist/types/sourcemap-codec.d.ts", ++ "exports": { ++ ".": { ++ "browser": "./dist/sourcemap-codec.umd.js", ++ "import": "./dist/sourcemap-codec.mjs", ++ "require": "./dist/sourcemap-codec.umd.js" ++ }, ++ "./package.json": "./package.json", ++ "./": "./" ++ }, + "scripts": { + "test": "mocha", + "build": "rm -rf dist && rollup -c && tsc", diff --git a/yarn.lock b/yarn.lock index 31704deb3..1138e33b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1286,6 +1286,11 @@ semver "^7.3.2" tsutils "^3.17.1" +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + JSV@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/JSV/-/JSV-4.0.2.tgz#d077f6825571f82132f9dffaed587b4029feff57" @@ -3914,6 +3919,13 @@ find-yarn-workspace-root2@1.2.16: micromatch "^4.0.2" pkg-dir "^4.2.0" +find-yarn-workspace-root@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" + integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== + dependencies: + micromatch "^4.0.2" + flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -5748,6 +5760,13 @@ kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +klaw-sync@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== + dependencies: + graceful-fs "^4.1.11" + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" @@ -6938,6 +6957,25 @@ password-prompt@^1.0.4: ansi-escapes "^3.1.0" cross-spawn "^6.0.5" +patch-package@^6.4.7: + version "6.4.7" + resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.4.7.tgz#2282d53c397909a0d9ef92dae3fdeb558382b148" + integrity sha512-S0vh/ZEafZ17hbhgqdnpunKDfzHQibQizx9g8yEf5dcVk3KOflOfdufRXQX8CSEkyOQwuM/bNz1GwKvFj54kaQ== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^2.4.2" + cross-spawn "^6.0.5" + find-yarn-workspace-root "^2.0.0" + fs-extra "^7.0.1" + is-ci "^2.0.0" + klaw-sync "^6.0.0" + minimist "^1.2.0" + open "^7.4.2" + rimraf "^2.6.3" + semver "^5.6.0" + slash "^2.0.0" + tmp "^0.0.33" + path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -8306,6 +8344,11 @@ sisteransi@^1.0.5: resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"