babel-plugin-san-hmr
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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" | ||
} | ||
} |
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
5836
+ Addedhash-sum@2.0.0(transitive)
- Removedhash-sum@1.0.2(transitive)
Updatedhash-sum@^2.0.0