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

babel-plugin-san-hmr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-san-hmr - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

index.js

@@ -94,3 +94,3 @@ /**

const hmrCode = getHmrString(filename);
nodePath.insertAfter(parse(hmrCode).program.body[0]);
nodePath.insertAfter(parse(hmrCode, {filename}).program.body[0]);
}

@@ -97,0 +97,0 @@ }

{
"name": "babel-plugin-san-hmr",
"version": "1.0.1",
"description": "Babel plugin from San component hot module replacement",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"repository": {
"type": "git",
"url": "ssh://git@github.com:ksky521/babel-plugin-san-hmr.git"
},
"author": "ksky521 <ksky521@gmail.com>",
"license": "MIT",
"dependencies": {
"hash-sum": "^1.0.2",
"san-hot-reload-api": "^1.0.1"
}
"name": "babel-plugin-san-hmr",
"version": "1.0.2",
"description": "Babel plugin from San component hot module replacement",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"repository": {
"type": "git",
"url": "ssh://git@github.com:ksky521/babel-plugin-san-hmr.git"
},
"author": "ksky521 <ksky521@gmail.com>",
"license": "MIT",
"dependencies": {
"hash-sum": "^2.0.0",
"san-hot-reload-api": "^1.0.1"
}
}
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