Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

magic-string-ast

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magic-string-ast - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

6

dist/index.d.ts

@@ -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;

16

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc