New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mpxjs/babel-plugin-inject-page-events

Package Overview
Dependencies
Maintainers
12
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mpxjs/babel-plugin-inject-page-events - npm Package Compare versions

Comparing version 2.9.1 to 2.9.5

4

package.json
{
"name": "@mpxjs/babel-plugin-inject-page-events",
"version": "2.9.1",
"version": "2.9.5",
"description": "babel plugin for inject page events in composition-api",

@@ -20,3 +20,3 @@ "license": "Apache-2.0",

},
"gitHead": "5460efb7afae97e321ff608258a8c0ad0b366f4c"
"gitHead": "beefb0935f3aa9d3605dd6f31b8cd37094186488"
}

@@ -44,3 +44,5 @@ module.exports = ({ parse }) => {

const code = `global.currentInject.pageEvents = {${pageEventsFun}};`
const newAst = parse(code)
const newAst = parse(code, {
filename: state.filename
})
path.unshiftContainer('body', newAst.program.body)

@@ -47,0 +49,0 @@ }

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