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

@scandipwa/babel-plugin-middleware-decorator

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scandipwa/babel-plugin-middleware-decorator - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

10

index.js

@@ -0,1 +1,2 @@

/* eslint-disable new-cap */
// TODO: comment

@@ -143,2 +144,3 @@ // TODO: add examples of transformations

const newName = path.scope.generateUidIdentifier(name);
// eslint-disable-next-line no-param-reassign
path.get('id').node.name = newName.name;

@@ -167,5 +169,5 @@

* Remove export from initial classes declaration
*
*
* TODO: fix AST explorer handles this OK, but our babel throws
*
*
* if (path.parentPath.type === 'ExportNamedDeclaration') {

@@ -176,4 +178,4 @@ * path.parentPath.skip();

*/
},
},
}
}
});

4

package.json
{
"name": "@scandipwa/babel-plugin-middleware-decorator",
"version": "0.0.1",
"version": "0.0.2",
"main": "index.js",

@@ -9,3 +9,3 @@ "license": "OSL-3.0",

},
"gitHead": "c06ea15c60211d92baf7cc8368a38678fa9b2a05"
"gitHead": "9a20d82ccff47f83fbea315370d30806848ccddb"
}
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