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

browserify-transform-machinepack

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-transform-machinepack - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -33,3 +33,3 @@ /**

var shimCode = _.reduce(packMetadata.machines, function (memo, machineIdentity){
var line = util.format(' \'%s\': Machine.build( require(\'%s\') ),\n', machineIdentity, './'+Path.join(packMetadata.machineDir,machineIdentity));
var line = util.format('module.exports[Machine.getMethodName(\'%s\')] = Machine.build( require(\'%s\') );\n', machineIdentity, './'+Path.join(packMetadata.machineDir,machineIdentity));
memo += line;

@@ -44,3 +44,3 @@ return memo;

'\n'+
'module.exports = {\n');
'module.exports = {};\n');
shimCode += '};\n';

@@ -47,0 +47,0 @@ // console.log('\n------\n',shimCode,'\n\n');

{
"name": "browserify-transform-machinepack",
"version": "1.0.0",
"version": "1.0.1",
"description": "A browserify transform that makes machinepacks work when they are required from a browserified module (or each other).",

@@ -5,0 +5,0 @@ "scripts": {},

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