@pkgr/es-modules
Advanced tools
Comparing version 0.5.1 to 0.5.2
# Change Log | ||
## 0.5.2 | ||
### Patch Changes | ||
- [#282](https://github.com/rx-ts/pkgr/pull/282) [`0b06f95`](https://github.com/rx-ts/pkgr/commit/0b06f95b1d93f987ea5f3ca452a125e97bbd7218) Thanks [@JounQin](https://github.com/JounQin)! - fix(es-modules): remove marked and systemjs | ||
## 0.5.1 | ||
@@ -4,0 +10,0 @@ |
@@ -10,4 +10,2 @@ export const MODULE_DEFINITIONS = { | ||
}, | ||
marked: 'marked/lib/marked.esm', | ||
systemjs: 'systemjs/dist/system', | ||
}; | ||
@@ -19,2 +17,3 @@ const defEntries = Object.entries(MODULE_DEFINITIONS); | ||
export const entries = defEntries.reduce((acc, [module, definition]) => { | ||
/* istanbul ignore next */ | ||
const { target, exact } = typeof definition === 'string' | ||
@@ -39,8 +38,9 @@ ? { target: definition, exact: true } | ||
export const alias = defEntries.reduce((acc, [module, definition]) => { | ||
/* istanbul ignore next */ | ||
const { target, exact } = typeof definition === 'string' | ||
? { target: definition, exact: true } | ||
: definition; | ||
acc[exact ? module + '$' : module] = target; | ||
acc[ /* istanbul ignore next */exact ? module + '$' : module] = target; | ||
return acc; | ||
}, {}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pkgr/es-modules", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"type": "module", | ||
@@ -19,3 +19,3 @@ "description": "Union collections of es modules mappings for pkgs without or with incorrect `module` field", | ||
"lib", | ||
"!*.tsbuildinfo" | ||
"!**/*.tsbuildinfo" | ||
], | ||
@@ -22,0 +22,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
9852
94