@pkgr/es-modules
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.3.3](https://github.com/rx-ts/pkgr/compare/@pkgr/es-modules@0.3.2...@pkgr/es-modules@0.3.3) (2020-07-30) | ||
### Bug Fixes | ||
* **es-modules:** lodash es module definition ([7f1429f](https://github.com/rx-ts/pkgr/commit/7f1429fc50cfe711038b46028668db5525015f00)) | ||
## 0.3.2 (2020-02-13) | ||
@@ -8,0 +19,0 @@ |
@@ -10,3 +10,6 @@ 'use strict'; | ||
}, | ||
lodash: 'lodash-es', | ||
lodash: { | ||
target: 'lodash-es', | ||
exact: false, | ||
}, | ||
systemjs: 'systemjs/dist/system', | ||
@@ -13,0 +16,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={dayjs:{target:"dayjs/esm",exact:!1},lodash:"lodash-es",systemjs:"systemjs/dist/system"},t=Object.entries(e),s=t.reduce((function(e,t){var s=t[0],r=t[1],a="string"==typeof r?{target:r,exact:!0}:r,n=a.target,c=a.exact;return e.push({find:s,replacement:n}),c||e.push({find:new RegExp("^"+s+"/(.*)$"),replacement:n+"/$1"}),e}),[]),r=t.reduce((function(e,t){var s=t[0],r=t[1],a="string"==typeof r?{target:r,exact:!0}:r,n=a.target;return e[a.exact?s+"$":s]=n,e}),{});exports.MODULE_DEFINITIONS=e,exports.alias=r,exports.entries=s; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={dayjs:{target:"dayjs/esm",exact:!1},lodash:{target:"lodash-es",exact:!1},systemjs:"systemjs/dist/system"},t=Object.entries(e),s=t.reduce((function(e,t){var s=t[0],r=t[1],a="string"==typeof r?{target:r,exact:!0}:r,n=a.target,c=a.exact;return e.push({find:s,replacement:n}),c||e.push({find:new RegExp("^"+s+"/(.*)$"),replacement:n+"/$1"}),e}),[]),r=t.reduce((function(e,t){var s=t[0],r=t[1],a="string"==typeof r?{target:r,exact:!0}:r,n=a.target;return e[a.exact?s+"$":s]=n,e}),{});exports.MODULE_DEFINITIONS=e,exports.alias=r,exports.entries=s; |
@@ -6,3 +6,6 @@ const MODULE_DEFINITIONS = { | ||
}, | ||
lodash: 'lodash-es', | ||
lodash: { | ||
target: 'lodash-es', | ||
exact: false, | ||
}, | ||
systemjs: 'systemjs/dist/system', | ||
@@ -9,0 +12,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
const e={dayjs:{target:"dayjs/esm",exact:!1},lodash:"lodash-es",systemjs:"systemjs/dist/system"},t=Object.entries(e),s=t.reduce((e,[t,s])=>{const{target:r,exact:a}="string"==typeof s?{target:s,exact:!0}:s;return e.push({find:t,replacement:r}),a||e.push({find:new RegExp("^"+t+"/(.*)$"),replacement:r+"/$1"}),e},[]),r=t.reduce((e,[t,s])=>{const{target:r,exact:a}="string"==typeof s?{target:s,exact:!0}:s;return e[a?t+"$":t]=r,e},{});export{e as MODULE_DEFINITIONS,r as alias,s as entries}; | ||
const e={dayjs:{target:"dayjs/esm",exact:!1},lodash:{target:"lodash-es",exact:!1},systemjs:"systemjs/dist/system"},t=Object.entries(e),s=t.reduce((e,[t,s])=>{const{target:a,exact:r}="string"==typeof s?{target:s,exact:!0}:s;return e.push({find:t,replacement:a}),r||e.push({find:new RegExp("^"+t+"/(.*)$"),replacement:a+"/$1"}),e},[]),a=t.reduce((e,[t,s])=>{const{target:a,exact:r}="string"==typeof s?{target:s,exact:!0}:s;return e[r?t+"$":t]=a,e},{});export{e as MODULE_DEFINITIONS,a as alias,s as entries}; |
@@ -6,3 +6,6 @@ var MODULE_DEFINITIONS = { | ||
}, | ||
lodash: 'lodash-es', | ||
lodash: { | ||
target: 'lodash-es', | ||
exact: false, | ||
}, | ||
systemjs: 'systemjs/dist/system', | ||
@@ -9,0 +12,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
var e={dayjs:{target:"dayjs/esm",exact:!1},lodash:"lodash-es",systemjs:"systemjs/dist/system"},t=Object.entries(e),r=t.reduce((function(e,t){var r=t[0],s=t[1],a="string"==typeof s?{target:s,exact:!0}:s,n=a.target,c=a.exact;return e.push({find:r,replacement:n}),c||e.push({find:new RegExp("^"+r+"/(.*)$"),replacement:n+"/$1"}),e}),[]),s=t.reduce((function(e,t){var r=t[0],s=t[1],a="string"==typeof s?{target:s,exact:!0}:s,n=a.target;return e[a.exact?r+"$":r]=n,e}),{});export{e as MODULE_DEFINITIONS,s as alias,r as entries}; | ||
var e={dayjs:{target:"dayjs/esm",exact:!1},lodash:{target:"lodash-es",exact:!1},systemjs:"systemjs/dist/system"},t=Object.entries(e),a=t.reduce((function(e,t){var a=t[0],r=t[1],s="string"==typeof r?{target:r,exact:!0}:r,n=s.target,c=s.exact;return e.push({find:a,replacement:n}),c||e.push({find:new RegExp("^"+a+"/(.*)$"),replacement:n+"/$1"}),e}),[]),r=t.reduce((function(e,t){var a=t[0],r=t[1],s="string"==typeof r?{target:r,exact:!0}:r,n=s.target;return e[s.exact?a+"$":a]=n,e}),{});export{e as MODULE_DEFINITIONS,r as alias,a as entries}; |
@@ -6,3 +6,6 @@ export var MODULE_DEFINITIONS = { | ||
}, | ||
lodash: 'lodash-es', | ||
lodash: { | ||
target: 'lodash-es', | ||
exact: false, | ||
}, | ||
systemjs: 'systemjs/dist/system', | ||
@@ -9,0 +12,0 @@ }; |
@@ -12,3 +12,6 @@ (function (global, factory) { | ||
}, | ||
lodash: 'lodash-es', | ||
lodash: { | ||
target: 'lodash-es', | ||
exact: false, | ||
}, | ||
systemjs: 'systemjs/dist/system', | ||
@@ -15,0 +18,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).EsModules={})}(this,(function(e){"use strict";var t={dayjs:{target:"dayjs/esm",exact:!1},lodash:"lodash-es",systemjs:"systemjs/dist/system"},s=Object.entries(t),n=s.reduce((function(e,t){var s=t[0],n=t[1],r="string"==typeof n?{target:n,exact:!0}:n,a=r.target,i=r.exact;return e.push({find:s,replacement:a}),i||e.push({find:new RegExp("^"+s+"/(.*)$"),replacement:a+"/$1"}),e}),[]),r=s.reduce((function(e,t){var s=t[0],n=t[1],r="string"==typeof n?{target:n,exact:!0}:n,a=r.target;return e[r.exact?s+"$":s]=a,e}),{});e.MODULE_DEFINITIONS=t,e.alias=r,e.entries=n,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).EsModules={})}(this,(function(e){"use strict";var t={dayjs:{target:"dayjs/esm",exact:!1},lodash:{target:"lodash-es",exact:!1},systemjs:"systemjs/dist/system"},s=Object.entries(t),n=s.reduce((function(e,t){var s=t[0],n=t[1],r="string"==typeof n?{target:n,exact:!0}:n,a=r.target,i=r.exact;return e.push({find:s,replacement:a}),i||e.push({find:new RegExp("^"+s+"/(.*)$"),replacement:a+"/$1"}),e}),[]),r=s.reduce((function(e,t){var s=t[0],n=t[1],r="string"==typeof n?{target:n,exact:!0}:n,a=r.target;return e[r.exact?s+"$":s]=a,e}),{});e.MODULE_DEFINITIONS=t,e.alias=r,e.entries=n,Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "@pkgr/es-modules", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Union collections of es modules mappings for pkgs without or with incorrect `module` field", | ||
@@ -33,3 +33,3 @@ "repository": "git+https://github.com/rx-ts/pkgr.git", | ||
"sideEffects": false, | ||
"gitHead": "baa58822ba42a9f5c47811173d3a2f11ecc1d75e" | ||
"gitHead": "46396a18fbacdc07a3c78ac23e0e5b7fecfb9a46" | ||
} |
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
17163
259