@swc-node/core
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [1.1.0](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@1.0.0...@swc-node/core@1.1.0) (2020-10-21) | ||
### Features | ||
- **core:** support react config in transformOptions ([313e021](https://github.com/Brooooooklyn/swc-node/commit/313e02128f833b09f4bf6dd9200b82819cb734cc)) | ||
## [0.7.6](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@0.7.4...@swc-node/core@0.7.6) (2020-09-16) | ||
@@ -8,0 +14,0 @@ |
@@ -0,1 +1,2 @@ | ||
import { ReactConfig } from '@swc/core'; | ||
export interface Options { | ||
@@ -10,2 +11,3 @@ target?: 'es3' | 'es5' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019'; | ||
esModuleInterop?: boolean; | ||
react?: Partial<ReactConfig>; | ||
} | ||
@@ -12,0 +14,0 @@ export declare function transformSync(source: string, path: string, options?: Options): import("@swc/core").Output; |
@@ -22,2 +22,4 @@ "use strict"; | ||
decoratorMetadata: Boolean(opts.emitDecoratorMetadata), | ||
// @ts-expect-error | ||
react: options === null || options === void 0 ? void 0 : options.react, | ||
hidden: { | ||
@@ -24,0 +26,0 @@ jest, |
{ | ||
"name": "@swc-node/core", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Faster swc nodejs binding", | ||
@@ -52,5 +52,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@swc/core": "^1.2.34" | ||
"@swc/core": "^1.2.36" | ||
}, | ||
"gitHead": "79c77f87bbab8b96f1306679cbb5c49368f94777" | ||
"gitHead": "768f53831c3a14742af31e9cafe598785e8c5b4f" | ||
} |
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
14666
65
Updated@swc/core@^1.2.36