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

rewire

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rewire - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

CHANGELOG.md
##Changelog
###v1.0.3
- Fixed error with client-side bundlers when a module was ending with a comment
###v1.0.2

@@ -4,0 +7,0 @@ - Improved strict mode detection

2

lib/bundlers/injectRewire.js

@@ -39,3 +39,3 @@ "use strict"; // run code in ES5 strict mode

settersAndGettersSrc + "\n" +
src +
src + "\n" +

@@ -42,0 +42,0 @@ " })();";

{
"name" : "rewire",
"version" : "1.0.2",
"version" : "1.0.3",
"description" : "Dependency injection for node.js applications",

@@ -5,0 +5,0 @@ "keywords" : [

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