@chialab/node-resolve
Advanced tools
Comparing version 0.12.19 to 0.12.24
/** | ||
* @typedef {{ [key: string]: string|false }} AliasMap | ||
* @typedef {string|((importer: string) => string|false)|false} Alias | ||
*/ | ||
/** | ||
* @typedef {{ [key: string]: Alias }} AliasMap | ||
*/ | ||
/** | ||
* Escape RegExp modifiers in a string. | ||
@@ -85,3 +89,3 @@ * @param {string} source | ||
/** | ||
* @type {Map<RegExp, { key: string, value: string|false }>} | ||
* @type {Map<RegExp, { key: string, value: Alias }>} | ||
*/ | ||
@@ -88,0 +92,0 @@ const map = new Map(); |
{ | ||
"name": "@chialab/node-resolve", | ||
"type": "module", | ||
"version": "0.12.19", | ||
"version": "0.12.24", | ||
"description": "A promise based node resolution library based on enhanced-resolve.", | ||
@@ -44,3 +44,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "83a72c39b9461439f29bbcbb0ff019267d1a87ad" | ||
"gitHead": "a79495d2c3c31232d30d29d986af5b5e7211e521" | ||
} |
/** | ||
* @typedef {{ [key: string]: string|false }} AliasMap | ||
* @typedef {string|((importer: string) => string|false)|false} Alias | ||
*/ | ||
/** | ||
* @typedef {{ [key: string]: Alias }} AliasMap | ||
*/ | ||
/** | ||
* Escape RegExp modifiers in a string. | ||
@@ -40,3 +43,3 @@ * @param {string} source | ||
key: string; | ||
value: string | false; | ||
value: Alias; | ||
}>; | ||
@@ -55,4 +58,5 @@ /** | ||
} | ||
export type Alias = string | false | ((importer: string) => string | false); | ||
export type AliasMap = { | ||
[key: string]: string | false; | ||
[key: string]: Alias; | ||
}; |
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
18416
532