Comparing version 0.1.4 to 0.1.5
@@ -5,2 +5,11 @@ # Changelog | ||
### [0.1.5](https://github.com/nuxt-contrib/jiti/compare/v0.1.4...v0.1.5) (2020-06-11) | ||
### Features | ||
* allow passign debug as jiti options ([8da2310](https://github.com/nuxt-contrib/jiti/commit/8da2310c6b27a2b0fac2276d462c65b0c6f2b0a8)) | ||
* build and stack-trace improvements ([71780ab](https://github.com/nuxt-contrib/jiti/commit/71780ab15d8cb843323c3edcc3e55a2a5928e72e)) | ||
* improve babel transpile and debug ([f3042dc](https://github.com/nuxt-contrib/jiti/commit/f3042dcf116b309090de552d27cd8103bc7f1001)) | ||
### [0.1.4](https://github.com/nuxt-contrib/jiti/compare/v0.1.3...v0.1.4) (2020-06-11) | ||
@@ -7,0 +16,0 @@ |
@@ -1,1 +0,2 @@ | ||
export declare function transform(source: string, filename?: string): string; | ||
import { TransformOptions } from './types'; | ||
export default function transform(opts: TransformOptions): string; |
/// <reference types="node" /> | ||
export default function jiti(_filename: string): NodeRequire; | ||
import { TransformOptions } from './types'; | ||
export declare type JITIOptions = { | ||
transform: (opts: TransformOptions) => string; | ||
debug: boolean; | ||
}; | ||
export default function createJITI(_filename: string | undefined, opts: JITIOptions): NodeRequire; |
{ | ||
"name": "jiti", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Runtime typescript and ESM support for Node.js (CommonJS)", | ||
"license": "MIT", | ||
"main": "dist/jiti.js", | ||
"main": "./inde.js", | ||
"types": "dist/jiti.d.ts", | ||
"files": [ | ||
"index.js", | ||
"dist" | ||
@@ -10,0 +11,0 @@ ], |
@@ -33,3 +33,2 @@ # jiti | ||
- `-` Slower | ||
- `-` No source-map support at the moment | ||
@@ -82,3 +81,2 @@ ### [`babel-register`](https://babeljs.io/docs/en/babel-register) | ||
- [x] Improve project build system | ||
- [ ] Sourcemap support | ||
- [ ] File system cache | ||
@@ -85,0 +83,0 @@ - [ ] Add tests |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
9
4230
1125750
3
100
4
1