cross-import
Advanced tools
Comparing version 1.5.5 to 2.0.2
import fg from 'fast-glob'; | ||
import { BuildOptions } from 'esbuild'; | ||
export default function crossImport(source: string | fg.Pattern[], options?: fg.Options, buildOptions?: BuildOptions): any; | ||
export { crossImport }; |
@@ -1,1 +0,1 @@ | ||
{"name":"cross-import","scripts":{"build":"aron pack --platform node","dev":"npm run 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,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"dependencies":{"esbuild":"^0.16.9","fast-glob":"^3.2.12","require-from-string":"^2.0.2","to-extend":"^1.5.5","to-read-package":"^1.5.5","upath":"^2.0.1"},"version":"1.5.5"} | ||
{"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:require-from-string --external:@techor/extend --external:@techor/fs --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:require-from-string --external:@techor/extend --external:@techor/fs --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":{"esbuild":"^0.16.9","fast-glob":"^3.2.12","require-from-string":"^2.0.2","@techor/extend":"^2.0.2","@techor/fs":"^2.0.2","upath":"^2.0.1"},"version":"2.0.2"} |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
15654
7
16
+ Added@techor/extend@^2.0.2
+ Added@techor/fs@^2.0.2
+ Added@techor/extend@2.6.7(transitive)
+ Added@techor/fs@2.6.7(transitive)
- Removedto-extend@^1.5.5
- Removedto-read-package@^1.5.5
- Removedfs-extra@11.2.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedjsonfile@6.1.0(transitive)
- Removedto-extend@1.5.5(transitive)
- Removedto-read-package@1.5.5(transitive)
- Removeduniversalify@2.0.1(transitive)