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

babel-plugin-mockable-imports

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-mockable-imports - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Changelog

## [1.5.2] - 2019-11-04
- Fix a bug where functions passed to `$imports.$mock` were processed as both
objects and functions
[#16](https://github.com/robertknight/babel-plugin-mockable-imports/pull/16)
## [1.5.1] - 2019-05-29

@@ -10,0 +16,0 @@

1

lib/helpers.js

@@ -109,2 +109,3 @@ "use strict";

this.$mock(mocks);
return;
}

@@ -111,0 +112,0 @@

4

package.json
{
"name": "babel-plugin-mockable-imports",
"version": "1.5.1",
"version": "1.5.2",
"description": "Babel plugin for mocking ES imports",

@@ -39,5 +39,5 @@ "main": "index.js",

"eslint": "^5.16.0",
"mocha": "^6.0.2",
"mocha": "^6.1.4",
"prettier": "1.16.4"
}
}
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