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

babel-plugin-webpack-alias

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.1 to 1.4.0

5

build/index.js

@@ -86,2 +86,7 @@ 'use strict';

// In the case of a file requiring a child directory of the current directory, we need to add a dot slash
if (['.', '/'].indexOf(requiredFilePath[0]) === -1) {
requiredFilePath = './' + requiredFilePath;
}
path.node.arguments = [(0, _babelTypes.StringLiteral)(requiredFilePath)];

@@ -88,0 +93,0 @@ return;

10

package.json
{
"version": "1.3.1",
"version": "1.4.0",
"name": "babel-plugin-webpack-alias",

@@ -25,3 +25,4 @@ "description": "babel 6 plugin which allows to use webpack aliases",

"devDependencies": {
"ava": "^0.14.0",
"ava": "^0.15.2",
"babel-cli": "^6.5.1",
"babel-core": "^6.6.0",

@@ -36,5 +37,5 @@ "babel-plugin-transform-es2015-destructuring": "^6.6.0",

"babel-register": "^6.5.2",
"eslint": "^2.0.0",
"eslint": "^3.2.2",
"estraverse-fb": "^1.3.1",
"watch": "^0.18.0"
"watch": "^0.19.1"
},

@@ -57,3 +58,2 @@ "keywords": [

"dependencies": {
"babel-cli": "^6.5.1",
"babel-types": "^6.5.2",

@@ -60,0 +60,0 @@ "find-up": "^1.1.2"

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