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

rewire

Package Overview
Dependencies
Maintainers
2
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 2.3.4 to 2.4.0

8

CHANGELOG.md
Changelog
---------
### 2.4.0
- Make rewire's special methods `__set__`, `__get__` and `__with__` writable [#78](https://github.com/jhnns/rewire/pull/78)
### 2.3.4
- Add license and keywords to package.json [#59](https://github.com/jhnns/rewire/issues/59) [#60](https://github.com/jhnns/rewire/issues/60)
### 2.3.3

@@ -9,3 +15,3 @@ - Fix issue where the strict mode was not detected when a comment was before "strict mode"; [#54](https://github.com/jhnns/rewire/issues/54)

- Fix a problem when a function declaration had the same name as a global variable [#56](https://github.com/jhnns/rewire/issues/56)
- Added README section about rewire's limitations
- Add README section about rewire's limitations

@@ -12,0 +18,0 @@ ### 2.3.1

5

lib/getDefinePropertySrc.js

@@ -21,3 +21,4 @@ "use strict";

srcs[value] +
"}); ";
", "+
"writable: true}); ";
}, "");

@@ -28,2 +29,2 @@

module.exports = getDefinePropertySrc;
module.exports = getDefinePropertySrc;
{
"name": "rewire",
"version": "2.3.4",
"version": "2.4.0",
"description": "Easy dependency injection for node.js unit testing",

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

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