@xylabs/lodash 2.11.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var lodash = require('lodash');
4
+
5
+ /* eslint-disable no-restricted-imports */
6
+ module.exports = lodash;
7
+
8
+ var cjsIndex = /*#__PURE__*/Object.freeze({
9
+ __proto__: null
10
+ });
11
+
12
+ exports.cjsIndex = cjsIndex;
13
+ //# sourceMappingURL=cjsIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjsIndex.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ import lodash from 'lodash';
2
+
3
+ /* eslint-disable no-restricted-imports */
4
+ module.exports = lodash;
5
+
6
+ var cjsIndex = /*#__PURE__*/Object.freeze({
7
+ __proto__: null
8
+ });
9
+
10
+ export { cjsIndex as c };
11
+ //# sourceMappingURL=cjsIndex.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjsIndex.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var lodash = require('lodash-es');
6
+
7
+ function _interopNamespaceDefault(e) {
8
+ var n = Object.create(null);
9
+ if (e) {
10
+ Object.keys(e).forEach(function (k) {
11
+ if (k !== 'default') {
12
+ var d = Object.getOwnPropertyDescriptor(e, k);
13
+ Object.defineProperty(n, k, d.get ? d : {
14
+ enumerable: true,
15
+ get: function () { return e[k]; }
16
+ });
17
+ }
18
+ });
19
+ }
20
+ n.default = e;
21
+ return Object.freeze(n);
22
+ }
23
+
24
+ var lodash__namespace = /*#__PURE__*/_interopNamespaceDefault(lodash);
25
+
26
+
27
+
28
+ exports.default = lodash__namespace;
29
+ Object.keys(lodash).forEach(function (k) {
30
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
31
+ enumerable: true,
32
+ get: function () { return lodash[k]; }
33
+ });
34
+ });
35
+ //# sourceMappingURL=esmIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esmIndex.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ import * as lodash from 'lodash-es';
2
+ export * from 'lodash-es';
3
+ export { lodash as default };
4
+ //# sourceMappingURL=esmIndex.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esmIndex.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/dist/index.js CHANGED
@@ -1,16 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var lodash$1 = require('lodash');
3
+ var cjsIndex = require('./cjsIndex.js');
4
4
  var lodash = require('lodash-es');
5
+ require('lodash');
5
6
 
6
- /* eslint-disable no-restricted-imports */
7
- module.exports = lodash$1;
8
7
 
9
- var cjsIndex = /*#__PURE__*/Object.freeze({
10
- __proto__: null
11
- });
12
8
 
13
- exports.lodashCjs = cjsIndex;
9
+ exports.lodashCjs = cjsIndex.cjsIndex;
14
10
  Object.keys(lodash).forEach(function (k) {
15
11
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
16
12
  enumerable: true,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
package/dist/index.mjs CHANGED
@@ -1,12 +1,4 @@
1
- import lodash$1 from 'lodash';
1
+ export { c as lodashCjs } from './cjsIndex.mjs';
2
2
  export * from 'lodash-es';
3
-
4
- /* eslint-disable no-restricted-imports */
5
- module.exports = lodash$1;
6
-
7
- var cjsIndex = /*#__PURE__*/Object.freeze({
8
- __proto__: null
9
- });
10
-
11
- export { cjsIndex as lodashCjs };
3
+ import 'lodash';
12
4
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/package.json CHANGED
@@ -51,8 +51,8 @@
51
51
  "devDependencies": {
52
52
  "@types/lodash": "^4.14.198",
53
53
  "@types/lodash-es": "^4.17.9",
54
- "@xylabs/ts-scripts-yarn3": "^3.0.0-rc.15",
55
- "@xylabs/tsconfig": "^3.0.0-rc.15",
54
+ "@xylabs/ts-scripts-yarn3": "^3.0.0-rc.16",
55
+ "@xylabs/tsconfig": "^3.0.0-rc.16",
56
56
  "typescript": "^5.2.2"
57
57
  },
58
58
  "publishConfig": {
@@ -64,5 +64,5 @@
64
64
  },
65
65
  "sideEffects": false,
66
66
  "types": "./dist/esmIndex.d.ts",
67
- "version": "2.11.0"
67
+ "version": "2.11.1"
68
68
  }