babel-plugin-alias-modules
Advanced tools
Comparing version 2.24.2 to 2.24.3
@@ -38,19 +38,2 @@ "use strict"; | ||
let t; | ||
/** | ||
* @return {object} a babel visitor | ||
*/ | ||
function default_1({ types }) { | ||
t = types; | ||
return { | ||
visitor: { | ||
CallExpression(bpath, state) { | ||
state.visitor.CallExpression(bpath); | ||
}, | ||
Program(bpath, state) { | ||
new Visitor(state); | ||
}, | ||
}, | ||
}; | ||
} | ||
exports.default = default_1; | ||
class Visitor { | ||
@@ -205,1 +188,18 @@ constructor(state) { | ||
exports.Visitor = Visitor; | ||
/** | ||
* @return {object} a babel visitor | ||
*/ | ||
function default_1({ types }) { | ||
t = types; | ||
return { | ||
visitor: { | ||
CallExpression(bpath, state) { | ||
state.visitor.CallExpression(bpath); | ||
}, | ||
Program(bpath, state) { | ||
new Visitor(state); | ||
}, | ||
}, | ||
}; | ||
} | ||
exports.default = default_1; |
{ | ||
"author": "Liferay Frontend Infrastructure Team <pt-frontend-infrastructure@liferay.com>", | ||
"dependencies": { | ||
"liferay-npm-build-tools-common": "2.24.2" | ||
"liferay-npm-build-tools-common": "2.24.3" | ||
}, | ||
@@ -19,4 +19,3 @@ "description": "A Babel plugin to rewrite aliased require() calls.", | ||
}, | ||
"version": "2.24.2", | ||
"gitHead": "ab0d522bd9736308380ab2c3757d318ee95d3701" | ||
"version": "2.24.3" | ||
} |
@@ -24,20 +24,2 @@ /** | ||
/** | ||
* @return {object} a babel visitor | ||
*/ | ||
export default function ({types}) { | ||
t = types; | ||
return { | ||
visitor: { | ||
CallExpression(bpath, state) { | ||
state.visitor.CallExpression(bpath); | ||
}, | ||
Program(bpath, state) { | ||
new Visitor(state); | ||
}, | ||
}, | ||
}; | ||
} | ||
export class Visitor { | ||
@@ -303,1 +285,19 @@ constructor(state) { | ||
} | ||
/** | ||
* @return {object} a babel visitor | ||
*/ | ||
export default function ({types}) { | ||
t = types; | ||
return { | ||
visitor: { | ||
CallExpression(bpath, state) { | ||
state.visitor.CallExpression(bpath); | ||
}, | ||
Program(bpath, state) { | ||
new Visitor(state); | ||
}, | ||
}, | ||
}; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25270
+ Addedbabel-plugin-add-module-metadata@2.24.3(transitive)
+ Addedbabel-plugin-name-amd-modules@2.24.3(transitive)
+ Addedbabel-plugin-namespace-amd-define@2.24.3(transitive)
+ Addedbabel-plugin-namespace-modules@2.24.3(transitive)
+ Addedbabel-plugin-normalize-requires@2.24.3(transitive)
+ Addedbabel-plugin-wrap-modules-amd@2.24.3(transitive)
+ Addedbabel-preset-liferay-standard@2.24.3(transitive)
+ Addedliferay-npm-build-tools-common@2.24.3(transitive)
+ Addedliferay-npm-bundler-plugin-exclude-imports@2.24.3(transitive)
+ Addedliferay-npm-bundler-plugin-inject-imports-dependencies@2.24.3(transitive)
+ Addedliferay-npm-bundler-plugin-inject-peer-dependencies@2.24.3(transitive)
+ Addedliferay-npm-bundler-plugin-namespace-packages@2.24.3(transitive)
+ Addedliferay-npm-bundler-plugin-replace-browser-modules@2.24.3(transitive)
+ Addedliferay-npm-bundler-plugin-resolve-linked-dependencies@2.24.3(transitive)
+ Addedliferay-npm-bundler-preset-standard@2.24.3(transitive)
- Removedbabel-plugin-add-module-metadata@2.24.2(transitive)
- Removedbabel-plugin-name-amd-modules@2.24.2(transitive)
- Removedbabel-plugin-namespace-amd-define@2.24.2(transitive)
- Removedbabel-plugin-namespace-modules@2.24.2(transitive)
- Removedbabel-plugin-normalize-requires@2.24.2(transitive)
- Removedbabel-plugin-wrap-modules-amd@2.24.2(transitive)
- Removedbabel-preset-liferay-standard@2.24.2(transitive)
- Removedliferay-npm-build-tools-common@2.24.2(transitive)
- Removedliferay-npm-bundler-plugin-exclude-imports@2.24.2(transitive)
- Removedliferay-npm-bundler-plugin-inject-imports-dependencies@2.24.2(transitive)
- Removedliferay-npm-bundler-plugin-inject-peer-dependencies@2.24.2(transitive)
- Removedliferay-npm-bundler-plugin-namespace-packages@2.24.2(transitive)
- Removedliferay-npm-bundler-plugin-replace-browser-modules@2.24.2(transitive)
- Removedliferay-npm-bundler-plugin-resolve-linked-dependencies@2.24.2(transitive)
- Removedliferay-npm-bundler-preset-standard@2.24.2(transitive)