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

esmock

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esmock - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

2

package.json
{
"name": "esmock",
"version": "0.3.5",
"version": "0.3.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "readmeFilename": "README.md",

@@ -51,2 +51,4 @@ esmock

* 0.3.6 _Apr.19.2021_
* throw error if mocked module path is not found
* 0.3.5 _Apr.18.2021_

@@ -53,0 +55,0 @@ * added gitlab actions npm test: node 12.x, 14.x and 15.x

@@ -148,2 +148,6 @@ import fs from 'fs';

if (pathModuleFull === null) {
throw new Error(`modulePath not found: "${modulePath}"`);
}
const esmockCacheKey = `file://${pathModuleFull}?`

@@ -150,0 +154,0 @@ + 'key=:esmockKey?esmockGlobals=:esmockGlobals#esmockModuleKeys=:moduleKeys'

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