@xylabs/lodash 3.1.12 → 3.2.0

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,28 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from))
11
+ if (!__hasOwnProp.call(to, key) && key !== except)
12
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ }
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
24
+
25
+ // src/cjsIndex.ts
26
+ var import_lodash = __toESM(require("lodash"), 1);
27
+ module.exports = import_lodash.default;
28
+ //# sourceMappingURL=cjsIndex.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/cjsIndex.ts"],"sourcesContent":["/* eslint-disable no-restricted-imports */\nimport lodash from 'lodash'\n\nmodule.exports = lodash\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oBAAmB;AAEnB,OAAO,UAAU,cAAAA;","names":["lodash"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cjsIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../../src/cjsIndex.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cjsIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../../src/cjsIndex.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cjsIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../../src/cjsIndex.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ // src/cjsIndex.ts
2
+ import lodash from "lodash";
3
+ module.exports = lodash;
4
+ //# sourceMappingURL=cjsIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/cjsIndex.ts"],"sourcesContent":["/* eslint-disable no-restricted-imports */\nimport lodash from 'lodash'\n\nmodule.exports = lodash\n"],"mappings":";AACA,OAAO,YAAY;AAEnB,OAAO,UAAU;","names":[]}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/esmIndex.ts
32
+ var esmIndex_exports = {};
33
+ __export(esmIndex_exports, {
34
+ default: () => esmIndex_default
35
+ });
36
+ module.exports = __toCommonJS(esmIndex_exports);
37
+ var lodash = __toESM(require("lodash-es"), 1);
38
+ __reExport(esmIndex_exports, require("lodash-es"), module.exports);
39
+ var esmIndex_default = lodash;
40
+ //# sourceMappingURL=esmIndex.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/esmIndex.ts"],"sourcesContent":["import * as lodash from 'lodash-es'\nexport * from 'lodash-es'\n\n// eslint-disable-next-line import/no-default-export\nexport default lodash\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAAwB;AACxB,6BAAc,sBADd;AAIA,IAAO,mBAAQ;","names":[]}
@@ -0,0 +1,4 @@
1
+ import * as lodash from 'lodash-es';
2
+ export * from 'lodash-es';
3
+ export default lodash;
4
+ //# sourceMappingURL=esmIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esmIndex.d.ts","sourceRoot":"","sources":["../../src/esmIndex.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAA;AACnC,cAAc,WAAW,CAAA;AAGzB,eAAe,MAAM,CAAA"}
@@ -0,0 +1,4 @@
1
+ import * as lodash from 'lodash-es';
2
+ export * from 'lodash-es';
3
+ export default lodash;
4
+ //# sourceMappingURL=esmIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esmIndex.d.ts","sourceRoot":"","sources":["../../src/esmIndex.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAA;AACnC,cAAc,WAAW,CAAA;AAGzB,eAAe,MAAM,CAAA"}
@@ -0,0 +1,4 @@
1
+ import * as lodash from 'lodash-es';
2
+ export * from 'lodash-es';
3
+ export default lodash;
4
+ //# sourceMappingURL=esmIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esmIndex.d.ts","sourceRoot":"","sources":["../../src/esmIndex.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAA;AACnC,cAAc,WAAW,CAAA;AAGzB,eAAe,MAAM,CAAA"}
@@ -0,0 +1,8 @@
1
+ // src/esmIndex.ts
2
+ import * as lodash from "lodash-es";
3
+ export * from "lodash-es";
4
+ var esmIndex_default = lodash;
5
+ export {
6
+ esmIndex_default as default
7
+ };
8
+ //# sourceMappingURL=esmIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/esmIndex.ts"],"sourcesContent":["import * as lodash from 'lodash-es'\nexport * from 'lodash-es'\n\n// eslint-disable-next-line import/no-default-export\nexport default lodash\n"],"mappings":";AAAA,YAAY,YAAY;AACxB,cAAc;AAGd,IAAO,mBAAQ;","names":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/index.ts
32
+ var src_exports = {};
33
+ __export(src_exports, {
34
+ lodashCjs: () => cjsIndex_exports
35
+ });
36
+ module.exports = __toCommonJS(src_exports);
37
+
38
+ // src/cjsIndex.ts
39
+ var cjsIndex_exports = {};
40
+ var import_lodash = __toESM(require("lodash"), 1);
41
+ module.exports = import_lodash.default;
42
+
43
+ // src/esmIndex.ts
44
+ var esmIndex_exports = {};
45
+ __export(esmIndex_exports, {
46
+ default: () => esmIndex_default
47
+ });
48
+ var lodash2 = __toESM(require("lodash-es"), 1);
49
+ __reExport(esmIndex_exports, require("lodash-es"));
50
+ var esmIndex_default = lodash2;
51
+
52
+ // src/index.ts
53
+ __reExport(src_exports, esmIndex_exports, module.exports);
54
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts","../../src/cjsIndex.ts","../../src/esmIndex.ts"],"sourcesContent":["export * as lodashCjs from './cjsIndex'\nexport * from './esmIndex'\n","/* eslint-disable no-restricted-imports */\nimport lodash from 'lodash'\n\nmodule.exports = lodash\n","import * as lodash from 'lodash-es'\nexport * from 'lodash-es'\n\n// eslint-disable-next-line import/no-default-export\nexport default lodash\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AACA,oBAAmB;AAEnB,OAAO,UAAU,cAAAA;;;ACHjB;AAAA;AAAA;AAAA;AAAA,IAAAC,UAAwB;AACxB,6BAAc;AAGd,IAAO,mBAAQA;;;AFHf,wBAAc,kBADd;","names":["lodash","lodash"]}
@@ -0,0 +1,3 @@
1
+ export * as lodashCjs from './cjsIndex';
2
+ export * from './esmIndex';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,YAAY,CAAA;AACvC,cAAc,YAAY,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * as lodashCjs from './cjsIndex';
2
+ export * from './esmIndex';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,YAAY,CAAA;AACvC,cAAc,YAAY,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * as lodashCjs from './cjsIndex';
2
+ export * from './esmIndex';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,YAAY,CAAA;AACvC,cAAc,YAAY,CAAA"}
@@ -0,0 +1,45 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
+
19
+ // src/index.ts
20
+ var src_exports = {};
21
+ __export(src_exports, {
22
+ lodashCjs: () => cjsIndex_exports
23
+ });
24
+
25
+ // src/cjsIndex.ts
26
+ var cjsIndex_exports = {};
27
+ import lodash from "lodash";
28
+ module.exports = lodash;
29
+
30
+ // src/esmIndex.ts
31
+ var esmIndex_exports = {};
32
+ __export(esmIndex_exports, {
33
+ default: () => esmIndex_default
34
+ });
35
+ __reExport(esmIndex_exports, lodash_es_star);
36
+ import * as lodash2 from "lodash-es";
37
+ import * as lodash_es_star from "lodash-es";
38
+ var esmIndex_default = lodash2;
39
+
40
+ // src/index.ts
41
+ __reExport(src_exports, esmIndex_exports);
42
+ export {
43
+ cjsIndex_exports as lodashCjs
44
+ };
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts","../../src/cjsIndex.ts","../../src/esmIndex.ts"],"sourcesContent":["export * as lodashCjs from './cjsIndex'\nexport * from './esmIndex'\n","/* eslint-disable no-restricted-imports */\nimport lodash from 'lodash'\n\nmodule.exports = lodash\n","import * as lodash from 'lodash-es'\nexport * from 'lodash-es'\n\n// eslint-disable-next-line import/no-default-export\nexport default lodash\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;;;ACAA;AACA,OAAO,YAAY;AAEnB,OAAO,UAAU;;;ACHjB;AAAA;AAAA;AAAA;AACA;AADA,YAAYA,aAAY;AACxB,gCAAc;AAGd,IAAO,mBAAQA;;;AFHf,wBAAc;","names":["lodash"]}
package/package.json CHANGED
@@ -46,8 +46,8 @@
46
46
  "devDependencies": {
47
47
  "@types/lodash": "^4.17.0",
48
48
  "@types/lodash-es": "^4.17.12",
49
- "@xylabs/ts-scripts-yarn3": "^3.9.1",
50
- "@xylabs/tsconfig": "^3.9.1",
49
+ "@xylabs/ts-scripts-yarn3": "^3.10.0",
50
+ "@xylabs/tsconfig": "^3.10.0",
51
51
  "typescript": "^5.4.5"
52
52
  },
53
53
  "engines": {
@@ -61,6 +61,6 @@
61
61
  "url": "https://github.com/xylabs/sdk-js.git"
62
62
  },
63
63
  "sideEffects": false,
64
- "version": "3.1.12",
64
+ "version": "3.2.0",
65
65
  "type": "module"
66
66
  }