@xylabs/lodash 2.11.7 → 2.11.9

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.
Files changed (59) hide show
  1. package/dist/{cjsIndex.d.mts.map → browser/cjsIndex.d.mts.map} +1 -1
  2. package/dist/{cjsIndex.d.ts.map → browser/cjsIndex.d.ts.map} +1 -1
  3. package/dist/browser/cjsIndex.js +12 -0
  4. package/dist/browser/cjsIndex.js.map +1 -0
  5. package/dist/browser/esmIndex.d.mts.map +1 -0
  6. package/dist/browser/esmIndex.d.ts.map +1 -0
  7. package/dist/browser/esmIndex.js +7 -0
  8. package/dist/browser/esmIndex.js.map +1 -0
  9. package/dist/browser/index.d.mts.map +1 -0
  10. package/dist/browser/index.d.ts.map +1 -0
  11. package/dist/browser/index.js +6 -0
  12. package/dist/browser/index.js.map +1 -0
  13. package/dist/node/cjsIndex.d.mts +2 -0
  14. package/dist/node/cjsIndex.d.mts.map +1 -0
  15. package/dist/node/cjsIndex.d.ts +2 -0
  16. package/dist/node/cjsIndex.d.ts.map +1 -0
  17. package/dist/node/cjsIndex.js +26 -0
  18. package/dist/node/cjsIndex.js.map +1 -0
  19. package/dist/node/cjsIndex.mjs +12 -0
  20. package/dist/node/cjsIndex.mjs.map +1 -0
  21. package/dist/node/esmIndex.d.mts +4 -0
  22. package/dist/node/esmIndex.d.mts.map +1 -0
  23. package/dist/node/esmIndex.d.ts +4 -0
  24. package/dist/node/esmIndex.d.ts.map +1 -0
  25. package/dist/node/esmIndex.js +42 -0
  26. package/dist/node/esmIndex.js.map +1 -0
  27. package/dist/node/esmIndex.mjs +7 -0
  28. package/dist/node/esmIndex.mjs.map +1 -0
  29. package/dist/node/index.d.mts +3 -0
  30. package/dist/node/index.d.mts.map +1 -0
  31. package/dist/node/index.d.ts +3 -0
  32. package/dist/node/index.d.ts.map +1 -0
  33. package/dist/node/index.js +42 -0
  34. package/dist/node/index.js.map +1 -0
  35. package/dist/node/index.mjs +6 -0
  36. package/dist/node/index.mjs.map +1 -0
  37. package/package.json +10 -13
  38. package/dist/cjsIndex.js +0 -5524
  39. package/dist/cjsIndex.js.map +0 -1
  40. package/dist/cjsIndex.mjs +0 -5528
  41. package/dist/cjsIndex.mjs.map +0 -1
  42. package/dist/esmIndex.d.mts.map +0 -1
  43. package/dist/esmIndex.d.ts.map +0 -1
  44. package/dist/esmIndex.js +0 -9119
  45. package/dist/esmIndex.js.map +0 -1
  46. package/dist/esmIndex.mjs +0 -8778
  47. package/dist/esmIndex.mjs.map +0 -1
  48. package/dist/index.d.mts.map +0 -1
  49. package/dist/index.d.ts.map +0 -1
  50. package/dist/index.js +0 -13350
  51. package/dist/index.js.map +0 -1
  52. package/dist/index.mjs +0 -13017
  53. package/dist/index.mjs.map +0 -1
  54. /package/dist/{cjsIndex.d.mts → browser/cjsIndex.d.mts} +0 -0
  55. /package/dist/{cjsIndex.d.ts → browser/cjsIndex.d.ts} +0 -0
  56. /package/dist/{esmIndex.d.mts → browser/esmIndex.d.mts} +0 -0
  57. /package/dist/{esmIndex.d.ts → browser/esmIndex.d.ts} +0 -0
  58. /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
  59. /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../src/cjsIndex.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../../src/cjsIndex.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../src/cjsIndex.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"cjsIndex.d.ts","sourceRoot":"","sources":["../../src/cjsIndex.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ var __getOwnPropNames = Object.getOwnPropertyNames;
2
+ var __commonJS = (cb, mod) => function __require() {
3
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
4
+ };
5
+ import lodash from "lodash";
6
+ var require_cjsIndex = __commonJS({
7
+ "src/cjsIndex.ts"(exports, module) {
8
+ module.exports = lodash;
9
+ }
10
+ });
11
+ export default require_cjsIndex();
12
+ //# 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;AADnB;AAAA;AAGA,WAAO,UAAU;AAAA;AAAA;","names":[]}
@@ -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 @@
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,7 @@
1
+ import * as lodash from "lodash-es";
2
+ export * from "lodash-es";
3
+ var esmIndex_default = lodash;
4
+ export {
5
+ esmIndex_default as default
6
+ };
7
+ //# 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 @@
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 @@
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,6 @@
1
+ import * as lodashCjs from "./cjsIndex";
2
+ export * from "./esmIndex";
3
+ export {
4
+ lodashCjs
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * as lodashCjs from './cjsIndex'\nexport * from './esmIndex'\n"],"mappings":"AAAA,YAAY,eAAe;AAC3B,cAAc;","names":[]}
@@ -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,26 @@
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
+ var import_lodash = __toESM(require("lodash"));
25
+ module.exports = import_lodash.default;
26
+ //# 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,oBAAmB;AAEnB,OAAO,UAAU,cAAAA;","names":["lodash"]}
@@ -0,0 +1,12 @@
1
+ var __getOwnPropNames = Object.getOwnPropertyNames;
2
+ var __commonJS = (cb, mod) => function __require() {
3
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
4
+ };
5
+ import lodash from "lodash";
6
+ var require_cjsIndex = __commonJS({
7
+ "src/cjsIndex.ts"(exports, module) {
8
+ module.exports = lodash;
9
+ }
10
+ });
11
+ export default require_cjsIndex();
12
+ //# sourceMappingURL=cjsIndex.mjs.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;AADnB;AAAA;AAGA,WAAO,UAAU;AAAA;AAAA;","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,42 @@
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
+ var esmIndex_exports = {};
31
+ __export(esmIndex_exports, {
32
+ default: () => esmIndex_default
33
+ });
34
+ module.exports = __toCommonJS(esmIndex_exports);
35
+ var lodash = __toESM(require("lodash-es"));
36
+ __reExport(esmIndex_exports, require("lodash-es"), module.exports);
37
+ var esmIndex_default = lodash;
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ ...require("lodash-es")
41
+ });
42
+ //# 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;AAAA;AAAA;AAAA;AAAA;AAAA,aAAwB;AACxB,6BAAc,sBADd;AAIA,IAAO,mBAAQ;","names":[]}
@@ -0,0 +1,7 @@
1
+ import * as lodash from "lodash-es";
2
+ export * from "lodash-es";
3
+ var esmIndex_default = lodash;
4
+ export {
5
+ esmIndex_default as default
6
+ };
7
+ //# sourceMappingURL=esmIndex.mjs.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,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,42 @@
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
+ var src_exports = {};
31
+ __export(src_exports, {
32
+ lodashCjs: () => lodashCjs
33
+ });
34
+ module.exports = __toCommonJS(src_exports);
35
+ var lodashCjs = __toESM(require("./cjsIndex"));
36
+ __reExport(src_exports, require("./esmIndex"), module.exports);
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ lodashCjs,
40
+ ...require("./esmIndex")
41
+ });
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * as lodashCjs from './cjsIndex'\nexport * from './esmIndex'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAA2B;AAC3B,wBAAc,uBADd;","names":[]}
@@ -0,0 +1,6 @@
1
+ import * as lodashCjs from "./cjsIndex";
2
+ export * from "./esmIndex";
3
+ export {
4
+ lodashCjs
5
+ };
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * as lodashCjs from './cjsIndex'\nexport * from './esmIndex'\n"],"mappings":"AAAA,YAAY,eAAe;AAC3B,cAAc;","names":[]}
package/package.json CHANGED
@@ -12,27 +12,25 @@
12
12
  },
13
13
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
14
14
  "docs": "dist/docs.json",
15
+ "types": "dist/node/cjsIndex.d.ts",
15
16
  "exports": {
16
17
  ".": {
17
18
  "require": {
18
- "types": "./dist/esmIndex.d.ts",
19
- "default": "./dist/cjsIndex.js"
19
+ "types": "./dist/node/cjsIndex.d.ts",
20
+ "default": "./dist/node/cjsIndex.js"
20
21
  },
21
22
  "import": {
22
- "types": "./dist/esmIndex.d.mts",
23
- "default": "./dist/esmIndex.mjs"
23
+ "types": "./dist/node/esmIndex.d.mts",
24
+ "default": "./dist/node/esmIndex.mjs"
24
25
  }
25
26
  },
26
- "./dist/docs.json": {
27
- "default": "./dist/docs.json"
28
- },
29
27
  "./docs": {
30
28
  "default": "./dist/docs.json"
31
29
  },
32
30
  "./package.json": "./package.json"
33
31
  },
34
- "main": "dist/cjsIndex.js",
35
- "module": "dist/esmIndex.mjs",
32
+ "main": "dist/node/cjsIndex.js",
33
+ "module": "dist/node/esmIndex.mjs",
36
34
  "homepage": "https://xylabs.com",
37
35
  "keywords": [
38
36
  "xylabs",
@@ -51,8 +49,8 @@
51
49
  "devDependencies": {
52
50
  "@types/lodash": "^4.14.198",
53
51
  "@types/lodash-es": "^4.17.9",
54
- "@xylabs/ts-scripts-yarn3": "^3.0.28",
55
- "@xylabs/tsconfig": "^3.0.28",
52
+ "@xylabs/ts-scripts-yarn3": "^3.0.55",
53
+ "@xylabs/tsconfig": "^3.0.55",
56
54
  "typescript": "^5.2.2"
57
55
  },
58
56
  "publishConfig": {
@@ -63,8 +61,7 @@
63
61
  "url": "https://github.com/xylabs/sdk-js.git"
64
62
  },
65
63
  "sideEffects": false,
66
- "types": "./dist/esmIndex.d.ts",
67
- "version": "2.11.7",
64
+ "version": "2.11.9",
68
65
  "xy": {
69
66
  "compile": {
70
67
  "depth": 1