cross-import
Advanced tools
Comparing version 2.1.10 to 2.1.11
@@ -1,2 +0,2 @@ | ||
var h=Object.create;var f=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var P=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var x=(r,t)=>{for(var e in t)f(r,e,{get:t[e],enumerable:!0})},n=(r,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of y(t))!w.call(r,o)&&o!==e&&f(r,o,{get:()=>t[o],enumerable:!(i=g(t,o))||i.enumerable});return r};var m=(r,t,e)=>(e=r!=null?h(P(r)):{},n(t||!r||!r.__esModule?f(e,"default",{value:r,enumerable:!0}):e,r)),v=r=>n(f({},"__esModule",{value:!0}),r);var b={};x(b,{crossImport:()=>_,default:()=>_});module.exports=v(b);var a=m(require("upath")),p=m(require("fast-glob")),s=m(require("@techor/extend")),c=m(require("jiti")),u=require("sucrase"),d=m(require("path")),l=require("url"),j={};if(typeof __dirname>"u"){let r=(0,l.fileURLToPath)(j.url);global.__dirname=d.default.dirname(r)}function _(r,t){if(t=(0,s.default)({cwd:process.cwd()},t),!r)return;let e=p.default.sync(r,t)[0];if(!e)return;let i=a.default.resolve(t.cwd,e);try{return require(i)}catch{return(0,c.default)(__dirname,{interopDefault:!0,transform:o=>(0,u.transform)(o.source,{transforms:["imports","typescript"]})})(i)}}0&&(module.exports={crossImport}); | ||
var h=Object.create;var f=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var P=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var x=(r,t)=>{for(var e in t)f(r,e,{get:t[e],enumerable:!0})},n=(r,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of y(t))!w.call(r,o)&&o!==e&&f(r,o,{get:()=>t[o],enumerable:!(i=g(t,o))||i.enumerable});return r};var m=(r,t,e)=>(e=r!=null?h(P(r)):{},n(t||!r||!r.__esModule?f(e,"default",{value:r,enumerable:!0}):e,r)),q=r=>n(f({},"__esModule",{value:!0}),r);var v={};x(v,{crossImport:()=>_,default:()=>_});module.exports=q(v);var a=m(require("upath")),p=m(require("fast-glob")),c=m(require("@techor/extend")),s=m(require("jiti")),u=require("sucrase"),d=m(require("path")),l=require("url"),b={};if(typeof __dirname>"u"){let r=(0,l.fileURLToPath)(b.url);global.__dirname=d.default.dirname(r)}function _(r,t){if(t=(0,c.default)({cwd:process.cwd()},t),!r)return;let e=p.default.sync(r,t)[0];if(!e)return;let i=a.default.resolve(t.cwd,e);try{return delete require.cache[i],require(i)}catch{return(0,s.default)(__dirname,{interopDefault:!0,transform:o=>(0,u.transform)(o.source,{transforms:["imports","typescript"]})})(i)}}0&&(module.exports={crossImport}); | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
{"name":"cross-import","scripts":{"build:cjs":"esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath","build:esm":"esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath","build:type":"tsc --emitDeclarationOnly --preserveWatchOutput","build":"npm run build:cjs && npm run build:esm && npm run build:type","dev":"conc 'npm:build:* -- --watch'","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Import .ts, .mjs, .cjs files across environments as JavaScript modules","author":{"name":"Aron","email":"i@aron.tw","url":"http://aron.tw"},"homepage":"https://aron.tw","bugs":{"url":"https://github.com/1aron/utils/issues"},"repository":{"type":"git","url":"https://github.com/1aron/utils.git","directory":"packages/read-module"},"keywords":["cjs","mjs","config","utils","module","read","cross","environments","esm","commonjs","ts","typescript"],"sideEffects":false,"publishConfig":{"access":"public"},"main":"./dist/index.js","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"dependencies":{"@techor/extend":"^2.1.10","fast-glob":"^3.2.12","jiti":"^1.18.2","sucrase":"^3.32.0","upath":"^2.0.1"},"version":"2.1.10"} | ||
{"name":"cross-import","scripts":{"build:cjs":"esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath","build:esm":"esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath","build:type":"tsc --emitDeclarationOnly --preserveWatchOutput","build":"npm run build:cjs && npm run build:esm && npm run build:type","dev":"conc 'npm:build:* -- --watch'","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Import .ts, .mjs, .cjs files across environments as JavaScript modules","author":{"name":"Aron","email":"i@aron.tw","url":"http://aron.tw"},"homepage":"https://aron.tw","bugs":{"url":"https://github.com/1aron/utils/issues"},"repository":{"type":"git","url":"https://github.com/1aron/utils.git","directory":"packages/read-module"},"keywords":["cjs","mjs","config","utils","module","read","cross","environments","esm","commonjs","ts","typescript"],"sideEffects":false,"publishConfig":{"access":"public"},"main":"./dist/index.js","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"dependencies":{"@techor/extend":"^2.1.11","fast-glob":"^3.2.12","jiti":"^1.18.2","sucrase":"^3.32.0","upath":"^2.0.1"},"version":"2.1.11"} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13554
14
Updated@techor/extend@^2.1.11