Comparing version 0.1.2 to 0.1.3
@@ -17,1 +17,5 @@ import { Context } from './context'; | ||
export declare function transform(code: string, options?: TransformeOptions): Transformed; | ||
declare const _default: { | ||
transform: typeof transform; | ||
}; | ||
export default _default; |
@@ -10,4 +10,3 @@ "use strict"; | ||
const context = context_1.createContext({ code }); | ||
const analyze = analyze_1.createAnalyze(context); | ||
analyze.analyze(); | ||
analyze_1.createAnalyze(context).analyze(); | ||
transform_1.createTransform(context, { | ||
@@ -28,1 +27,2 @@ transformImport: options.transformImport, | ||
exports.transform = transform; | ||
exports.default = { transform }; // Compatible tsc transpileModule |
{ | ||
"name": "cjs-esm", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Another CommonJs transform ESModule lib.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
22504
596