Socket
Socket
Sign inDemoInstall

esbuild-plugin-alias

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-plugin-alias - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

5

CHANGELOG.md
# Changelog
## 0.2.0 (04.10.2021)
Added TS definition file.
## 0.1.2 (12.02.2021)

@@ -4,0 +9,0 @@

2

index.js
module.exports = options => {
const aliases = Object.keys(options);
const re = new RegExp(`^${aliases.map(x => escapeRegExp(x)).join('|')}$`);
const re = new RegExp(`^(${aliases.map(x => escapeRegExp(x)).join('|')})$`);

@@ -5,0 +5,0 @@ return {

{
"name": "esbuild-plugin-alias",
"version": "0.1.2",
"version": "0.2.0",
"description": "esbuild plugin for path aliases",
"main": "index.js",
"scripts": {
"dev": "nodemon --exec 'npm run test' --watch index.js --watch tests",
"test": "mocha",

@@ -34,3 +35,4 @@ "lint": "eslint ."

"lint-staged": "10.5.4",
"mocha": "8.2.1"
"mocha": "8.2.1",
"nodemon": "2.0.13"
},

@@ -37,0 +39,0 @@ "husky": {

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