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

reify

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reify - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

13

lib/runtime.js

@@ -20,9 +20,2 @@ var Entry = require("./entry.js").Entry;

// Platform-specific code should implement this method however
// appropriate. Module.prototype.require(id) should resolve the given
// module identifier, evaluate the module, and return its exports.
Mp.require = Mp.require || function (id) {
return require(this.resolve(id));
};
// Platform-specific code should find a way to call this method whenever

@@ -32,3 +25,3 @@ // the module system is about to return module.exports from require. This

// so we want Module.prototype.runModuleSetters to run each time.
Mp.runModuleSetters = function runModuleSetters(id) {
Mp.runModuleSetters = function runModuleSetters() {
var entry = Entry.get(this.id);

@@ -51,3 +44,5 @@ if (entry) {

var countBefore = entry && entry.runCount;
var exports = module.require(absoluteId);
var exports = typeof module.require === "function"
? module.require(absoluteId)
: require(absoluteId);

@@ -54,0 +49,0 @@ if (entry && entry.runCount === countBefore) {

{
"name": "reify",
"version": "0.1.8",
"version": "0.1.9",
"main": "node/index.js",

@@ -5,0 +5,0 @@ "browser": "lib/empty.js",

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