ts-swc-transform 2.7.7 → 2.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/compat.js +1 -1
- package/dist/cjs/compat.js.map +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/createMatcher.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/lib/import-meta-resolve.js +1 -1
- package/dist/cjs/lib/parseSpecifiers.js +1 -1
- package/dist/cjs/lib/patchCJS.js +1 -1
- package/dist/cjs/lib/patchESM.js +1 -1
- package/dist/cjs/lib/prepareSWCOptions.js +1 -1
- package/dist/cjs/lib/rewriteExtensions.js +1 -1
- package/dist/cjs/lib/transformFile.js +1 -1
- package/dist/cjs/lib/urlFileUrl.js +1 -1
- package/dist/cjs/lib/urlFileUrl.js.map +1 -1
- package/dist/cjs/resolveFileSync.js +1 -1
- package/dist/cjs/toPath.js +1 -1
- package/dist/cjs/transformDirectory.js +1 -1
- package/dist/cjs/transformSync.js +1 -1
- package/dist/cjs/transformTypes.js +1 -1
- package/dist/cjs/types.js +1 -1
- package/dist/cjs/workers/transformDirectory.js +1 -1
- package/dist/cjs/workers/transformSync.js +1 -1
- package/dist/cjs/workers/transformTypes.js +1 -1
- package/dist/esm/compat.js +5 -5
- package/dist/esm/compat.js.map +1 -1
- package/dist/esm/lib/urlFileUrl.js +3 -3
- package/dist/esm/lib/urlFileUrl.js.map +1 -1
- package/package.json +11 -11
package/dist/cjs/compat.js
CHANGED
|
@@ -61,4 +61,4 @@ function stringReplaceAll(str, search, replace) {
|
|
|
61
61
|
var escaped = search.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
62
62
|
return str.replace(new RegExp(escaped, 'g'), replace);
|
|
63
63
|
}
|
|
64
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
64
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/cjs/compat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.8+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.8+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.8-3.x\n */\
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.8+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.8+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.8-3.x\n */\nconst hasStartsWith = typeof String.prototype.startsWith === 'function';\n\nexport function stringStartsWith(str: string, search: string, position?: number): boolean {\n if (hasStartsWith) {\n return str.startsWith(search, position);\n }\n position = position || 0;\n return str.indexOf(search, position) === position;\n}\n\n/**\n * String.prototype.endsWith wrapper for Node.js 0.8+\n * - Uses native endsWith on Node 4.0+ / ES2015+\n * - Falls back to lastIndexOf on Node 0.8-3.x\n */\nconst hasEndsWith = typeof String.prototype.endsWith === 'function';\n\nexport function stringEndsWith(str: string, search: string, position?: number): boolean {\n if (hasEndsWith) {\n return str.endsWith(search, position);\n }\n const len = position === undefined ? str.length : position;\n return str.lastIndexOf(search) === len - search.length;\n}\n\n/**\n * String.prototype.replaceAll wrapper for Node.js 0.8+\n * - Uses native replaceAll on Node 15.0+ / ES2021+\n * - Falls back to regex replace on older versions\n */\n// biome-ignore lint/suspicious/noExplicitAny: Feature detection for ES2021 replaceAll\nconst hasReplaceAll = typeof (String.prototype as any).replaceAll === 'function';\n\nexport function stringReplaceAll(str: string, search: string, replace: string): string {\n if (hasReplaceAll) {\n // biome-ignore lint/suspicious/noExplicitAny: Using native replaceAll when available\n return (str as any).replaceAll(search, replace);\n }\n // Escape special regex characters\n const escaped = search.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n return str.replace(new RegExp(escaped, 'g'), replace);\n}\n"],"names":["stringEndsWith","stringReplaceAll","stringStartsWith","hasStartsWith","String","prototype","startsWith","str","search","position","indexOf","hasEndsWith","endsWith","len","undefined","length","lastIndexOf","hasReplaceAll","replaceAll","replace","escaped","RegExp"],"mappings":";;;;;;;;;;;QA2BgBA;eAAAA;;QAgBAC;eAAAA;;QA/BAC;eAAAA;;;AAZhB;;;CAGC,GAED;;;;CAIC,GACD,IAAMC,gBAAgB,OAAOC,OAAOC,SAAS,CAACC,UAAU,KAAK;AAEtD,SAASJ,iBAAiBK,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC7E,IAAIN,eAAe;QACjB,OAAOI,IAAID,UAAU,CAACE,QAAQC;IAChC;IACAA,WAAWA,YAAY;IACvB,OAAOF,IAAIG,OAAO,CAACF,QAAQC,cAAcA;AAC3C;AAEA;;;;CAIC,GACD,IAAME,cAAc,OAAOP,OAAOC,SAAS,CAACO,QAAQ,KAAK;AAElD,SAASZ,eAAeO,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC3E,IAAIE,aAAa;QACf,OAAOJ,IAAIK,QAAQ,CAACJ,QAAQC;IAC9B;IACA,IAAMI,MAAMJ,aAAaK,YAAYP,IAAIQ,MAAM,GAAGN;IAClD,OAAOF,IAAIS,WAAW,CAACR,YAAYK,MAAML,OAAOO,MAAM;AACxD;AAEA;;;;CAIC,GACD,sFAAsF;AACtF,IAAME,gBAAgB,OAAO,AAACb,OAAOC,SAAS,CAASa,UAAU,KAAK;AAE/D,SAASjB,iBAAiBM,GAAW,EAAEC,MAAc,EAAEW,OAAe;IAC3E,IAAIF,eAAe;QACjB,qFAAqF;QACrF,OAAO,AAACV,IAAYW,UAAU,CAACV,QAAQW;IACzC;IACA,kCAAkC;IAClC,IAAMC,UAAUZ,OAAOW,OAAO,CAAC,uBAAuB;IACtD,OAAOZ,IAAIY,OAAO,CAAC,IAAIE,OAAOD,SAAS,MAAMD;AAC/C"}
|
package/dist/cjs/constants.js
CHANGED
|
@@ -31,4 +31,4 @@ var extensions = [
|
|
|
31
31
|
'.cjs',
|
|
32
32
|
'.jsx'
|
|
33
33
|
];
|
|
34
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
34
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -24,4 +24,4 @@ function createMatcher(tsconfig) {
|
|
|
24
24
|
exclude: exclude
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
27
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/cjs/index.js
CHANGED
|
@@ -84,4 +84,4 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
84
84
|
}
|
|
85
85
|
return newObj;
|
|
86
86
|
}
|
|
87
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
87
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -19,4 +19,4 @@ var resolve = _require('../../../assets/import-meta-resolve.cjs').resolve;
|
|
|
19
19
|
function importMetaResolve(specifier, url) {
|
|
20
20
|
return resolve(specifier, url);
|
|
21
21
|
}
|
|
22
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
22
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -35,4 +35,4 @@ function parser(code, regex) {
|
|
|
35
35
|
}
|
|
36
36
|
return parsed;
|
|
37
37
|
}
|
|
38
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
38
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/cjs/lib/patchCJS.js
CHANGED
|
@@ -30,4 +30,4 @@ function patchCJS(entry, output, options) {
|
|
|
30
30
|
output.code += interop;
|
|
31
31
|
return (0, _rewriteExtensionsts.replaceExtension)(_path.default.extname(entry.basename));
|
|
32
32
|
}
|
|
33
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
33
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/cjs/lib/patchESM.js
CHANGED
|
@@ -20,4 +20,4 @@ function patchESM(entry, output, options) {
|
|
|
20
20
|
if (rewrite) output.code = (0, _rewriteExtensionsts.rewriteExtensions)(output.code);
|
|
21
21
|
return (0, _rewriteExtensionsts.replaceExtension)(_path.default.extname(entry.basename));
|
|
22
22
|
}
|
|
23
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
23
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -39,4 +39,4 @@ function prepareSWCOptions(tsconfig) {
|
|
|
39
39
|
return {};
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
42
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -79,4 +79,4 @@ function rewriteExtensionsCJS(content) {
|
|
|
79
79
|
});
|
|
80
80
|
return result;
|
|
81
81
|
}
|
|
82
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
82
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -117,4 +117,4 @@ function transformFile(entry, dest, type, options, callback) {
|
|
|
117
117
|
});
|
|
118
118
|
}).catch(callback);
|
|
119
119
|
}
|
|
120
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
120
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -87,4 +87,4 @@ function pathToFileURL(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
return new URLClass("file:".concat(resolved));
|
|
89
89
|
}
|
|
90
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
90
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/lib/urlFileUrl.ts"],"sourcesContent":["// Extracted from https://raw.githubusercontent.com/holepunchto/url-file-url/refs/heads/main/index.js\n// Apache 2 License https://github.com/holepunchto/url-file-url/blob/main/LICENSE\n\nimport Module from 'module';\nimport path from 'path';\nimport url from 'url';\n\nimport { stringReplaceAll } from '../compat.ts';\n\n// ESM-compatible require\
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/lib/urlFileUrl.ts"],"sourcesContent":["// Extracted from https://raw.githubusercontent.com/holepunchto/url-file-url/refs/heads/main/index.js\n// Apache 2 License https://github.com/holepunchto/url-file-url/blob/main/LICENSE\n\nimport Module from 'module';\nimport path from 'path';\nimport url from 'url';\n\nimport { stringReplaceAll } from '../compat.ts';\n\n// ESM-compatible require\nconst _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;\n\n// URL class - available natively in Node 7.0+, use core-js-pure for Node 0.8-6.x\n// biome-ignore lint/suspicious/noExplicitAny: Feature detection for URL class\nlet URLClass: typeof URL = (url as any).URL;\nif (!URLClass) {\n URLClass = _require('core-js-pure/actual/url/index.js');\n}\n\nconst isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);\n\nexport function fileURLToPath(urlInput: string | URL): string {\n let parsedUrl: URL;\n if (typeof urlInput === 'string') {\n parsedUrl = new URLClass(urlInput);\n } else {\n parsedUrl = urlInput;\n }\n\n if (parsedUrl.protocol !== 'file:') {\n throw new Error('The URL must use the file: protocol');\n }\n\n if (isWindows) {\n if (/%2f|%5c/i.test(parsedUrl.pathname)) {\n throw new Error('The file: URL path must not include encoded \\\\ or / characters');\n }\n } else {\n if (parsedUrl.hostname) {\n throw new Error(\"The file: URL host must be 'localhost' or empty\");\n }\n\n if (/%2f/i.test(parsedUrl.pathname)) {\n throw new Error('The file: URL path must not include encoded / characters');\n }\n }\n\n const pathname = path.normalize(decodeURIComponent(parsedUrl.pathname));\n\n if (isWindows) {\n if (parsedUrl.hostname) return `\\\\\\\\${parsedUrl.hostname}${pathname}`;\n\n const letter = pathname.charCodeAt(1) | 0x20;\n\n if (letter < 0x61 /* a */ || letter > 0x7a /* z */ || pathname.charCodeAt(2) !== 0x3a /* : */) {\n throw new Error('The file: URL path must be absolute');\n }\n\n return pathname.slice(1);\n }\n\n return pathname;\n}\n\nexport function pathToFileURL(pathname: string): URL {\n let resolved = path.resolve(pathname);\n\n if (pathname[pathname.length - 1] === '/') {\n resolved += '/';\n } else if (isWindows && pathname[pathname.length - 1] === '\\\\') {\n resolved += '\\\\';\n }\n\n resolved = stringReplaceAll(resolved, '%', '%25'); // Must be first\n resolved = stringReplaceAll(resolved, '#', '%23');\n resolved = stringReplaceAll(resolved, '?', '%3f');\n resolved = stringReplaceAll(resolved, '\\n', '%0a');\n resolved = stringReplaceAll(resolved, '\\r', '%0d');\n resolved = stringReplaceAll(resolved, '\\t', '%09');\n\n if (!isWindows) {\n resolved = stringReplaceAll(resolved, '\\\\', '%5c');\n }\n\n return new URLClass(`file:${resolved}`);\n}\n"],"names":["fileURLToPath","pathToFileURL","_require","require","Module","createRequire","URLClass","url","URL","isWindows","process","platform","test","env","OSTYPE","urlInput","parsedUrl","protocol","Error","pathname","hostname","path","normalize","decodeURIComponent","letter","charCodeAt","slice","resolved","resolve","length","stringReplaceAll"],"mappings":"AAAA,qGAAqG;AACrG,iFAAiF;;;;;;;;;;;;QAoBjEA;eAAAA;;QA2CAC;eAAAA;;;6DA7DG;2DACF;0DACD;wBAEiB;;;;;;AAEjC,yBAAyB;AACzB,IAAMC,WAAW,OAAOC,YAAY,cAAcC,eAAM,CAACC,aAAa,CAAC,uDAAmBF;AAE1F,iFAAiF;AACjF,8EAA8E;AAC9E,IAAIG,WAAuB,AAACC,YAAG,CAASC,GAAG;AAC3C,IAAI,CAACF,UAAU;IACbA,WAAWJ,SAAS;AACtB;AAEA,IAAMO,YAAYC,QAAQC,QAAQ,KAAK,WAAW,kBAAkBC,IAAI,CAACF,QAAQG,GAAG,CAACC,MAAM;AAEpF,SAASd,cAAce,QAAsB;IAClD,IAAIC;IACJ,IAAI,OAAOD,aAAa,UAAU;QAChCC,YAAY,IAAIV,SAASS;IAC3B,OAAO;QACLC,YAAYD;IACd;IAEA,IAAIC,UAAUC,QAAQ,KAAK,SAAS;QAClC,MAAM,IAAIC,MAAM;IAClB;IAEA,IAAIT,WAAW;QACb,IAAI,WAAWG,IAAI,CAACI,UAAUG,QAAQ,GAAG;YACvC,MAAM,IAAID,MAAM;QAClB;IACF,OAAO;QACL,IAAIF,UAAUI,QAAQ,EAAE;YACtB,MAAM,IAAIF,MAAM;QAClB;QAEA,IAAI,OAAON,IAAI,CAACI,UAAUG,QAAQ,GAAG;YACnC,MAAM,IAAID,MAAM;QAClB;IACF;IAEA,IAAMC,WAAWE,aAAI,CAACC,SAAS,CAACC,mBAAmBP,UAAUG,QAAQ;IAErE,IAAIV,WAAW;QACb,IAAIO,UAAUI,QAAQ,EAAE,OAAO,AAAC,OAA2BD,OAArBH,UAAUI,QAAQ,EAAY,OAATD;QAE3D,IAAMK,SAASL,SAASM,UAAU,CAAC,KAAK;QAExC,IAAID,SAAS,KAAK,KAAK,OAAMA,SAAS,KAAK,KAAK,OAAML,SAASM,UAAU,CAAC,OAAO,KAAK,KAAK,KAAI;YAC7F,MAAM,IAAIP,MAAM;QAClB;QAEA,OAAOC,SAASO,KAAK,CAAC;IACxB;IAEA,OAAOP;AACT;AAEO,SAASlB,cAAckB,QAAgB;IAC5C,IAAIQ,WAAWN,aAAI,CAACO,OAAO,CAACT;IAE5B,IAAIA,QAAQ,CAACA,SAASU,MAAM,GAAG,EAAE,KAAK,KAAK;QACzCF,YAAY;IACd,OAAO,IAAIlB,aAAaU,QAAQ,CAACA,SAASU,MAAM,GAAG,EAAE,KAAK,MAAM;QAC9DF,YAAY;IACd;IAEAA,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,KAAK,QAAQ,gBAAgB;IACnEA,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,KAAK;IAC3CA,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,KAAK;IAC3CA,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,MAAM;IAC5CA,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,MAAM;IAC5CA,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,MAAM;IAE5C,IAAI,CAAClB,WAAW;QACdkB,WAAWG,IAAAA,0BAAgB,EAACH,UAAU,MAAM;IAC9C;IAEA,OAAO,IAAIrB,SAAS,AAAC,QAAgB,OAATqB;AAC9B"}
|
|
@@ -52,4 +52,4 @@ function resolveFileSync(specifier, context) {
|
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
55
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/cjs/toPath.js
CHANGED
|
@@ -101,4 +101,4 @@ function toPath(specifier, context) {
|
|
|
101
101
|
}
|
|
102
102
|
return specifier;
|
|
103
103
|
}
|
|
104
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
104
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -86,4 +86,4 @@ function transformDirectory(src, dest, type, options, callback) {
|
|
|
86
86
|
else return Promise.reject(err);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
89
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -32,4 +32,4 @@ function transformSync(contents, fileName, tsconfig) {
|
|
|
32
32
|
if (!tsconfig) tsconfig = (0, _readtsconfigsync.default)(process.cwd());
|
|
33
33
|
return dispatch(version, contents, fileName, tsconfig);
|
|
34
34
|
}
|
|
35
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
35
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -85,4 +85,4 @@ function transformTypes(src, dest, options, callback) {
|
|
|
85
85
|
else return Promise.reject(err);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
88
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/cjs/types.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
5
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -109,4 +109,4 @@ function transformDirectoryWorker(src, dest, type, options, callback) {
|
|
|
109
109
|
});
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
112
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -77,4 +77,4 @@ function transformSyncWorker(contents, fileName, tsconfig) {
|
|
|
77
77
|
filename: fileName
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
80
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -258,4 +258,4 @@ function transformTypesWorker(src, dest, options, callback) {
|
|
|
258
258
|
});
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (
|
|
261
|
+
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (let key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
package/dist/esm/compat.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* String.prototype.startsWith wrapper for Node.js 0.8+
|
|
6
6
|
* - Uses native startsWith on Node 4.0+ / ES2015+
|
|
7
7
|
* - Falls back to indexOf on Node 0.8-3.x
|
|
8
|
-
*/
|
|
8
|
+
*/ const hasStartsWith = typeof String.prototype.startsWith === 'function';
|
|
9
9
|
export function stringStartsWith(str, search, position) {
|
|
10
10
|
if (hasStartsWith) {
|
|
11
11
|
return str.startsWith(search, position);
|
|
@@ -17,12 +17,12 @@ export function stringStartsWith(str, search, position) {
|
|
|
17
17
|
* String.prototype.endsWith wrapper for Node.js 0.8+
|
|
18
18
|
* - Uses native endsWith on Node 4.0+ / ES2015+
|
|
19
19
|
* - Falls back to lastIndexOf on Node 0.8-3.x
|
|
20
|
-
*/
|
|
20
|
+
*/ const hasEndsWith = typeof String.prototype.endsWith === 'function';
|
|
21
21
|
export function stringEndsWith(str, search, position) {
|
|
22
22
|
if (hasEndsWith) {
|
|
23
23
|
return str.endsWith(search, position);
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
const len = position === undefined ? str.length : position;
|
|
26
26
|
return str.lastIndexOf(search) === len - search.length;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
@@ -30,13 +30,13 @@ export function stringEndsWith(str, search, position) {
|
|
|
30
30
|
* - Uses native replaceAll on Node 15.0+ / ES2021+
|
|
31
31
|
* - Falls back to regex replace on older versions
|
|
32
32
|
*/ // biome-ignore lint/suspicious/noExplicitAny: Feature detection for ES2021 replaceAll
|
|
33
|
-
|
|
33
|
+
const hasReplaceAll = typeof String.prototype.replaceAll === 'function';
|
|
34
34
|
export function stringReplaceAll(str, search, replace) {
|
|
35
35
|
if (hasReplaceAll) {
|
|
36
36
|
// biome-ignore lint/suspicious/noExplicitAny: Using native replaceAll when available
|
|
37
37
|
return str.replaceAll(search, replace);
|
|
38
38
|
}
|
|
39
39
|
// Escape special regex characters
|
|
40
|
-
|
|
40
|
+
const escaped = search.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
41
41
|
return str.replace(new RegExp(escaped, 'g'), replace);
|
|
42
42
|
}
|
package/dist/esm/compat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.8+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.8+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.8-3.x\n */\
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/compat.ts"],"sourcesContent":["/**\n * Compatibility Layer for Node.js 0.8+\n * Local to this package - contains only needed functions.\n */\n\n/**\n * String.prototype.startsWith wrapper for Node.js 0.8+\n * - Uses native startsWith on Node 4.0+ / ES2015+\n * - Falls back to indexOf on Node 0.8-3.x\n */\nconst hasStartsWith = typeof String.prototype.startsWith === 'function';\n\nexport function stringStartsWith(str: string, search: string, position?: number): boolean {\n if (hasStartsWith) {\n return str.startsWith(search, position);\n }\n position = position || 0;\n return str.indexOf(search, position) === position;\n}\n\n/**\n * String.prototype.endsWith wrapper for Node.js 0.8+\n * - Uses native endsWith on Node 4.0+ / ES2015+\n * - Falls back to lastIndexOf on Node 0.8-3.x\n */\nconst hasEndsWith = typeof String.prototype.endsWith === 'function';\n\nexport function stringEndsWith(str: string, search: string, position?: number): boolean {\n if (hasEndsWith) {\n return str.endsWith(search, position);\n }\n const len = position === undefined ? str.length : position;\n return str.lastIndexOf(search) === len - search.length;\n}\n\n/**\n * String.prototype.replaceAll wrapper for Node.js 0.8+\n * - Uses native replaceAll on Node 15.0+ / ES2021+\n * - Falls back to regex replace on older versions\n */\n// biome-ignore lint/suspicious/noExplicitAny: Feature detection for ES2021 replaceAll\nconst hasReplaceAll = typeof (String.prototype as any).replaceAll === 'function';\n\nexport function stringReplaceAll(str: string, search: string, replace: string): string {\n if (hasReplaceAll) {\n // biome-ignore lint/suspicious/noExplicitAny: Using native replaceAll when available\n return (str as any).replaceAll(search, replace);\n }\n // Escape special regex characters\n const escaped = search.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n return str.replace(new RegExp(escaped, 'g'), replace);\n}\n"],"names":["hasStartsWith","String","prototype","startsWith","stringStartsWith","str","search","position","indexOf","hasEndsWith","endsWith","stringEndsWith","len","undefined","length","lastIndexOf","hasReplaceAll","replaceAll","stringReplaceAll","replace","escaped","RegExp"],"mappings":"AAAA;;;CAGC,GAED;;;;CAIC,GACD,MAAMA,gBAAgB,OAAOC,OAAOC,SAAS,CAACC,UAAU,KAAK;AAE7D,OAAO,SAASC,iBAAiBC,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC7E,IAAIP,eAAe;QACjB,OAAOK,IAAIF,UAAU,CAACG,QAAQC;IAChC;IACAA,WAAWA,YAAY;IACvB,OAAOF,IAAIG,OAAO,CAACF,QAAQC,cAAcA;AAC3C;AAEA;;;;CAIC,GACD,MAAME,cAAc,OAAOR,OAAOC,SAAS,CAACQ,QAAQ,KAAK;AAEzD,OAAO,SAASC,eAAeN,GAAW,EAAEC,MAAc,EAAEC,QAAiB;IAC3E,IAAIE,aAAa;QACf,OAAOJ,IAAIK,QAAQ,CAACJ,QAAQC;IAC9B;IACA,MAAMK,MAAML,aAAaM,YAAYR,IAAIS,MAAM,GAAGP;IAClD,OAAOF,IAAIU,WAAW,CAACT,YAAYM,MAAMN,OAAOQ,MAAM;AACxD;AAEA;;;;CAIC,GACD,sFAAsF;AACtF,MAAME,gBAAgB,OAAO,AAACf,OAAOC,SAAS,CAASe,UAAU,KAAK;AAEtE,OAAO,SAASC,iBAAiBb,GAAW,EAAEC,MAAc,EAAEa,OAAe;IAC3E,IAAIH,eAAe;QACjB,qFAAqF;QACrF,OAAO,AAACX,IAAYY,UAAU,CAACX,QAAQa;IACzC;IACA,kCAAkC;IAClC,MAAMC,UAAUd,OAAOa,OAAO,CAAC,uBAAuB;IACtD,OAAOd,IAAIc,OAAO,CAAC,IAAIE,OAAOD,SAAS,MAAMD;AAC/C"}
|
|
@@ -5,16 +5,16 @@ import path from 'path';
|
|
|
5
5
|
import url from 'url';
|
|
6
6
|
import { stringReplaceAll } from '../compat.js';
|
|
7
7
|
// ESM-compatible require
|
|
8
|
-
|
|
8
|
+
const _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;
|
|
9
9
|
// URL class - available natively in Node 7.0+, use core-js-pure for Node 0.8-6.x
|
|
10
10
|
// biome-ignore lint/suspicious/noExplicitAny: Feature detection for URL class
|
|
11
|
-
|
|
11
|
+
let URLClass = url.URL;
|
|
12
12
|
if (!URLClass) {
|
|
13
13
|
URLClass = _require('core-js-pure/actual/url/index.js');
|
|
14
14
|
}
|
|
15
15
|
const isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);
|
|
16
16
|
export function fileURLToPath(urlInput) {
|
|
17
|
-
|
|
17
|
+
let parsedUrl;
|
|
18
18
|
if (typeof urlInput === 'string') {
|
|
19
19
|
parsedUrl = new URLClass(urlInput);
|
|
20
20
|
} else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/lib/urlFileUrl.ts"],"sourcesContent":["// Extracted from https://raw.githubusercontent.com/holepunchto/url-file-url/refs/heads/main/index.js\n// Apache 2 License https://github.com/holepunchto/url-file-url/blob/main/LICENSE\n\nimport Module from 'module';\nimport path from 'path';\nimport url from 'url';\n\nimport { stringReplaceAll } from '../compat.ts';\n\n// ESM-compatible require\
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-swc-transform/src/lib/urlFileUrl.ts"],"sourcesContent":["// Extracted from https://raw.githubusercontent.com/holepunchto/url-file-url/refs/heads/main/index.js\n// Apache 2 License https://github.com/holepunchto/url-file-url/blob/main/LICENSE\n\nimport Module from 'module';\nimport path from 'path';\nimport url from 'url';\n\nimport { stringReplaceAll } from '../compat.ts';\n\n// ESM-compatible require\nconst _require = typeof require === 'undefined' ? Module.createRequire(import.meta.url) : require;\n\n// URL class - available natively in Node 7.0+, use core-js-pure for Node 0.8-6.x\n// biome-ignore lint/suspicious/noExplicitAny: Feature detection for URL class\nlet URLClass: typeof URL = (url as any).URL;\nif (!URLClass) {\n URLClass = _require('core-js-pure/actual/url/index.js');\n}\n\nconst isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE);\n\nexport function fileURLToPath(urlInput: string | URL): string {\n let parsedUrl: URL;\n if (typeof urlInput === 'string') {\n parsedUrl = new URLClass(urlInput);\n } else {\n parsedUrl = urlInput;\n }\n\n if (parsedUrl.protocol !== 'file:') {\n throw new Error('The URL must use the file: protocol');\n }\n\n if (isWindows) {\n if (/%2f|%5c/i.test(parsedUrl.pathname)) {\n throw new Error('The file: URL path must not include encoded \\\\ or / characters');\n }\n } else {\n if (parsedUrl.hostname) {\n throw new Error(\"The file: URL host must be 'localhost' or empty\");\n }\n\n if (/%2f/i.test(parsedUrl.pathname)) {\n throw new Error('The file: URL path must not include encoded / characters');\n }\n }\n\n const pathname = path.normalize(decodeURIComponent(parsedUrl.pathname));\n\n if (isWindows) {\n if (parsedUrl.hostname) return `\\\\\\\\${parsedUrl.hostname}${pathname}`;\n\n const letter = pathname.charCodeAt(1) | 0x20;\n\n if (letter < 0x61 /* a */ || letter > 0x7a /* z */ || pathname.charCodeAt(2) !== 0x3a /* : */) {\n throw new Error('The file: URL path must be absolute');\n }\n\n return pathname.slice(1);\n }\n\n return pathname;\n}\n\nexport function pathToFileURL(pathname: string): URL {\n let resolved = path.resolve(pathname);\n\n if (pathname[pathname.length - 1] === '/') {\n resolved += '/';\n } else if (isWindows && pathname[pathname.length - 1] === '\\\\') {\n resolved += '\\\\';\n }\n\n resolved = stringReplaceAll(resolved, '%', '%25'); // Must be first\n resolved = stringReplaceAll(resolved, '#', '%23');\n resolved = stringReplaceAll(resolved, '?', '%3f');\n resolved = stringReplaceAll(resolved, '\\n', '%0a');\n resolved = stringReplaceAll(resolved, '\\r', '%0d');\n resolved = stringReplaceAll(resolved, '\\t', '%09');\n\n if (!isWindows) {\n resolved = stringReplaceAll(resolved, '\\\\', '%5c');\n }\n\n return new URLClass(`file:${resolved}`);\n}\n"],"names":["Module","path","url","stringReplaceAll","_require","require","createRequire","URLClass","URL","isWindows","process","platform","test","env","OSTYPE","fileURLToPath","urlInput","parsedUrl","protocol","Error","pathname","hostname","normalize","decodeURIComponent","letter","charCodeAt","slice","pathToFileURL","resolved","resolve","length"],"mappings":"AAAA,qGAAqG;AACrG,iFAAiF;AAEjF,OAAOA,YAAY,SAAS;AAC5B,OAAOC,UAAU,OAAO;AACxB,OAAOC,SAAS,MAAM;AAEtB,SAASC,gBAAgB,QAAQ,eAAe;AAEhD,yBAAyB;AACzB,MAAMC,WAAW,OAAOC,YAAY,cAAcL,OAAOM,aAAa,CAAC,YAAYJ,GAAG,IAAIG;AAE1F,iFAAiF;AACjF,8EAA8E;AAC9E,IAAIE,WAAuB,AAACL,IAAYM,GAAG;AAC3C,IAAI,CAACD,UAAU;IACbA,WAAWH,SAAS;AACtB;AAEA,MAAMK,YAAYC,QAAQC,QAAQ,KAAK,WAAW,kBAAkBC,IAAI,CAACF,QAAQG,GAAG,CAACC,MAAM;AAE3F,OAAO,SAASC,cAAcC,QAAsB;IAClD,IAAIC;IACJ,IAAI,OAAOD,aAAa,UAAU;QAChCC,YAAY,IAAIV,SAASS;IAC3B,OAAO;QACLC,YAAYD;IACd;IAEA,IAAIC,UAAUC,QAAQ,KAAK,SAAS;QAClC,MAAM,IAAIC,MAAM;IAClB;IAEA,IAAIV,WAAW;QACb,IAAI,WAAWG,IAAI,CAACK,UAAUG,QAAQ,GAAG;YACvC,MAAM,IAAID,MAAM;QAClB;IACF,OAAO;QACL,IAAIF,UAAUI,QAAQ,EAAE;YACtB,MAAM,IAAIF,MAAM;QAClB;QAEA,IAAI,OAAOP,IAAI,CAACK,UAAUG,QAAQ,GAAG;YACnC,MAAM,IAAID,MAAM;QAClB;IACF;IAEA,MAAMC,WAAWnB,KAAKqB,SAAS,CAACC,mBAAmBN,UAAUG,QAAQ;IAErE,IAAIX,WAAW;QACb,IAAIQ,UAAUI,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAEJ,UAAUI,QAAQ,GAAGD,UAAU;QAErE,MAAMI,SAASJ,SAASK,UAAU,CAAC,KAAK;QAExC,IAAID,SAAS,KAAK,KAAK,OAAMA,SAAS,KAAK,KAAK,OAAMJ,SAASK,UAAU,CAAC,OAAO,KAAK,KAAK,KAAI;YAC7F,MAAM,IAAIN,MAAM;QAClB;QAEA,OAAOC,SAASM,KAAK,CAAC;IACxB;IAEA,OAAON;AACT;AAEA,OAAO,SAASO,cAAcP,QAAgB;IAC5C,IAAIQ,WAAW3B,KAAK4B,OAAO,CAACT;IAE5B,IAAIA,QAAQ,CAACA,SAASU,MAAM,GAAG,EAAE,KAAK,KAAK;QACzCF,YAAY;IACd,OAAO,IAAInB,aAAaW,QAAQ,CAACA,SAASU,MAAM,GAAG,EAAE,KAAK,MAAM;QAC9DF,YAAY;IACd;IAEAA,WAAWzB,iBAAiByB,UAAU,KAAK,QAAQ,gBAAgB;IACnEA,WAAWzB,iBAAiByB,UAAU,KAAK;IAC3CA,WAAWzB,iBAAiByB,UAAU,KAAK;IAC3CA,WAAWzB,iBAAiByB,UAAU,MAAM;IAC5CA,WAAWzB,iBAAiByB,UAAU,MAAM;IAC5CA,WAAWzB,iBAAiByB,UAAU,MAAM;IAE5C,IAAI,CAACnB,WAAW;QACdmB,WAAWzB,iBAAiByB,UAAU,MAAM;IAC9C;IAEA,OAAO,IAAIrB,SAAS,CAAC,KAAK,EAAEqB,UAAU;AACxC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-swc-transform",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.9",
|
|
4
4
|
"description": "Typescript transformers for swc. Supports Node >= 0.8",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"matcher",
|
|
@@ -46,33 +46,33 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@swc/core": "^1.15.3",
|
|
48
48
|
"core-js-pure": "^3.47.0",
|
|
49
|
-
"exit-compat": "^1.0.
|
|
49
|
+
"exit-compat": "^1.0.2",
|
|
50
50
|
"fs-iterator": "^6.1.10",
|
|
51
|
-
"install-optional": "^1.0.
|
|
51
|
+
"install-optional": "^1.0.18",
|
|
52
52
|
"is-absolute": "^1.0.0",
|
|
53
53
|
"lodash.debounce": "^4.0.8",
|
|
54
54
|
"lodash.find": "^4.6.0",
|
|
55
55
|
"mkdirp-classic": "^0.5.3",
|
|
56
56
|
"node-version-call": "^1.9.19",
|
|
57
57
|
"queue-cb": "^1.6.1",
|
|
58
|
-
"read-tsconfig-sync": "^1.1.
|
|
58
|
+
"read-tsconfig-sync": "^1.1.7",
|
|
59
59
|
"resolve": "^1.22.11",
|
|
60
|
-
"test-match": "^1.1.
|
|
60
|
+
"test-match": "^1.1.2",
|
|
61
61
|
"ts-node": "^10.9.2",
|
|
62
62
|
"typescript": "^5.9.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/mocha": "^10.0.10",
|
|
66
|
-
"@types/node": "^25.0.
|
|
66
|
+
"@types/node": "^25.0.1",
|
|
67
67
|
"core-js": "^3.47.0",
|
|
68
68
|
"cr": "^0.1.0",
|
|
69
|
-
"cross-spawn-cb": "^2.4.
|
|
70
|
-
"fs-remove-compat": "^0.2.
|
|
71
|
-
"node-version-use": "^2.1.
|
|
69
|
+
"cross-spawn-cb": "^2.4.12",
|
|
70
|
+
"fs-remove-compat": "^0.2.2",
|
|
71
|
+
"node-version-use": "^2.1.5",
|
|
72
72
|
"pinkie-promise": "^2.0.1",
|
|
73
|
-
"react": "^19.2.
|
|
73
|
+
"react": "^19.2.3",
|
|
74
74
|
"ts-dev-stack": "^1.21.3",
|
|
75
|
-
"tsds-config": "^0.2.
|
|
75
|
+
"tsds-config": "^0.2.1"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=0.8"
|