Socket
Socket
Sign inDemoInstall

babel-plugin-wrap-modules-amd

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-wrap-modules-amd - npm Package Compare versions

Comparing version 1.7.0-alpha.e4d06b30 to 2.0.0-rc.1

2

lib/index.js

@@ -94,3 +94,3 @@ 'use strict';

var buildDefine = (0, _babelTemplate2.default)('\n define(DEPS, function(module, exports, require) {\n \t SOURCE\n })\n ');
var buildDefine = (0, _babelTemplate2.default)('\n define(DEPS, function(module, exports, require) {\n // Make module believe it is running under Node.js\n var define = undefined;\n \t SOURCE\n })\n ');

@@ -97,0 +97,0 @@ /**

{
"name": "babel-plugin-wrap-modules-amd",
"version": "1.7.0-alpha.e4d06b30",
"version": "2.0.0-rc.1",
"description": "A Babel plugin to wrap package modules inside AMD define() calls.",

@@ -16,5 +16,5 @@ "main": "lib/index.js",

"babel-template": "^6.25.0",
"liferay-npm-build-tools-common": "1.7.0-alpha.e4d06b30",
"liferay-npm-build-tools-common": "2.0.0-rc.1",
"read-json-sync": "^1.1.1"
}
}

@@ -7,2 +7,4 @@ import template from 'babel-template';

define(DEPS, function(module, exports, require) {
// Make module believe it is running under Node.js
var define = undefined;
SOURCE

@@ -9,0 +11,0 @@ })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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