New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mr

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mr - npm Package Compare versions

Comparing version 16.0.1 to 16.0.2

4

CHANGES.md

@@ -0,1 +1,5 @@

### 16.0.2
- Fixes a bug where a JSON module would fail to load because it would try to re-parse the content while it was already done
### 16.0.1

@@ -2,0 +6,0 @@

2

package.json
{
"name": "mr",
"version": "16.0.1",
"version": "16.0.2",
"description": "A refresh-only CommonJS module system for browsers, used in Montage",

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

@@ -945,3 +945,5 @@

if (json) {
module.exports = JSON.parse(module.text);
if(typeof module.exports !== "object" && typeof module.text === "string") {
module.exports = JSON.parse(module.text);
}
//module.text = null;

@@ -948,0 +950,0 @@ return module;

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