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

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 2.6.2 to 2.7.0

6

lib/__tests__/index.test.js

@@ -23,2 +23,8 @@ 'use strict';

/**
* © 2017 Liferay, Inc. <https://liferay.com>
*
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
var logger = void 0;

@@ -25,0 +31,0 @@

9

lib/index.js

@@ -39,4 +39,4 @@ 'use strict';

exit: function exit(path, state) {
var opts = state.opts,
dependencies = state.dependencies;
var opts = state.opts;
var dependencies = state.dependencies;

@@ -100,2 +100,7 @@ // We must traverse the AST again because some plugins emit

*/
/**
* © 2017 Liferay, Inc. <https://liferay.com>
*
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
//# sourceMappingURL=index.js.map
{
"name": "babel-plugin-wrap-modules-amd",
"version": "2.6.2",
"version": "2.7.0",
"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": "2.6.2",
"liferay-npm-build-tools-common": "2.7.0",
"read-json-sync": "^1.1.1"
}
}

@@ -0,1 +1,7 @@

/**
* © 2017 Liferay, Inc. <https://liferay.com>
*
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
import * as babel from 'babel-core';

@@ -2,0 +8,0 @@ import * as babelIpc from 'liferay-npm-build-tools-common/lib/babel-ipc';

@@ -0,1 +1,7 @@

/**
* © 2017 Liferay, Inc. <https://liferay.com>
*
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
import template from 'babel-template';

@@ -48,3 +54,4 @@ import * as babelIpc from 'liferay-npm-build-tools-common/lib/babel-ipc';

exit(path, state) {
let {opts, dependencies} = state;
const {opts} = state;
let {dependencies} = state;

@@ -51,0 +58,0 @@ // We must traverse the AST again because some plugins emit

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