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

@pkgr/es-modules

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pkgr/es-modules - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

6

CHANGELOG.md
# 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 @@

6

lib/index.js

@@ -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

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