Socket
Socket
Sign inDemoInstall

babel-plugin-namespace-modules

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-namespace-modules - npm Package Compare versions

Comparing version 2.0.0-rc.1 to 2.0.0-rc.2

3

lib/__tests__/index.test.js

@@ -27,2 +27,5 @@ 'use strict';

},
'shims': {
fs: '^1.0.0'
},
'': {

@@ -29,0 +32,0 @@ 'no-namespace-module': '^1.0.0'

2

lib/index.js

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

if (typeof moduleName !== 'string' || mod.isLocalModule(moduleName) || mod.isNodeCoreModule(moduleName) || ns.isNamespaced(moduleName)) {
if (typeof moduleName !== 'string' || mod.isLocalModule(moduleName) || ns.isNamespaced(moduleName)) {
return;

@@ -147,0 +147,0 @@ }

{
"name": "babel-plugin-namespace-modules",
"version": "2.0.0-rc.1",
"version": "2.0.0-rc.2",
"description": "A Babel plugin to namespace AMD module names based on root's project name.",

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

"dependencies": {
"liferay-npm-build-tools-common": "2.0.0-rc.1",
"liferay-npm-build-tools-common": "2.0.0-rc.2",
"read-json-sync": "^1.1.1"
}
}

@@ -10,2 +10,5 @@ import * as babel from 'babel-core';

},
'shims': {
fs: '^1.0.0',
},
'': {

@@ -12,0 +15,0 @@ 'no-namespace-module': '^1.0.0',

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

mod.isLocalModule(moduleName) ||
mod.isNodeCoreModule(moduleName) ||
ns.isNamespaced(moduleName)

@@ -155,0 +154,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

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