magic-string-ast
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -8,2 +8,5 @@ import MagicString__default, { MagicStringOptions, OverwriteOptions } from 'magic-string'; | ||
} | ||
/** | ||
* MagicString with AST manipulation | ||
*/ | ||
declare class MagicStringAST implements MagicString__default { | ||
@@ -36,2 +39,5 @@ private prototype; | ||
} | ||
/** | ||
* Generate an object of code and source map from MagicString. | ||
*/ | ||
declare function generateTransform(s: MagicString__default | undefined, id: string): { | ||
@@ -38,0 +44,0 @@ code: string; |
{ | ||
"name": "magic-string-ast", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "magic-string with Babel AST shortcut.", | ||
@@ -35,8 +35,8 @@ "type": "module", | ||
"devDependencies": { | ||
"@babel/types": "^7.24.0", | ||
"@sxzz/eslint-config": "^3.9.1", | ||
"@babel/types": "^7.24.5", | ||
"@sxzz/eslint-config": "^3.11.0", | ||
"@sxzz/prettier-config": "^2.0.2", | ||
"@types/node": "^20.12.7", | ||
"bumpp": "^9.4.0", | ||
"eslint": "^9.1.0", | ||
"@types/node": "^20.12.12", | ||
"bumpp": "^9.4.1", | ||
"eslint": "^9.2.0", | ||
"fast-glob": "^3.3.2", | ||
@@ -46,5 +46,5 @@ "magic-string-stack": "^0.1.1", | ||
"tsup": "^8.0.2", | ||
"tsx": "^4.7.2", | ||
"tsx": "^4.10.3", | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.5.0" | ||
"vitest": "^1.6.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "engines": { |
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
13366
226