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

babel-plugin-alias-modules

Package Overview
Dependencies
Maintainers
15
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.24.2 to 2.24.3

34

lib/index.js

@@ -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);
},
},
};
}
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