@xylabs/set 2.11.22 → 2.11.24

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 (41) hide show
  1. package/dist/browser/index.cjs +2 -26
  2. package/dist/browser/index.cjs.map +1 -1
  3. package/dist/browser/index.js +1 -19
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/browser/lib/difference.cjs +1 -3
  6. package/dist/browser/lib/difference.cjs.map +1 -1
  7. package/dist/browser/lib/difference.js +1 -2
  8. package/dist/browser/lib/difference.js.map +1 -1
  9. package/dist/browser/lib/index.cjs +4 -26
  10. package/dist/browser/lib/index.cjs.map +1 -1
  11. package/dist/browser/lib/index.js +3 -19
  12. package/dist/browser/lib/index.js.map +1 -1
  13. package/dist/browser/lib/intersection.cjs +1 -3
  14. package/dist/browser/lib/intersection.cjs.map +1 -1
  15. package/dist/browser/lib/intersection.js +1 -2
  16. package/dist/browser/lib/intersection.js.map +1 -1
  17. package/dist/browser/lib/union.cjs +1 -3
  18. package/dist/browser/lib/union.cjs.map +1 -1
  19. package/dist/browser/lib/union.js +1 -2
  20. package/dist/browser/lib/union.js.map +1 -1
  21. package/dist/node/index.js +29 -3
  22. package/dist/node/index.js.map +1 -1
  23. package/dist/node/index.mjs +19 -1
  24. package/dist/node/index.mjs.map +1 -1
  25. package/dist/node/lib/difference.js +3 -1
  26. package/dist/node/lib/difference.js.map +1 -1
  27. package/dist/node/lib/difference.mjs +2 -1
  28. package/dist/node/lib/difference.mjs.map +1 -1
  29. package/dist/node/lib/index.js +29 -7
  30. package/dist/node/lib/index.js.map +1 -1
  31. package/dist/node/lib/index.mjs +19 -3
  32. package/dist/node/lib/index.mjs.map +1 -1
  33. package/dist/node/lib/intersection.js +3 -1
  34. package/dist/node/lib/intersection.js.map +1 -1
  35. package/dist/node/lib/intersection.mjs +2 -1
  36. package/dist/node/lib/intersection.mjs.map +1 -1
  37. package/dist/node/lib/union.js +3 -1
  38. package/dist/node/lib/union.js.map +1 -1
  39. package/dist/node/lib/union.mjs +2 -1
  40. package/dist/node/lib/union.mjs.map +1 -1
  41. package/package.json +3 -3
@@ -3,10 +3,6 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
6
  var __copyProps = (to, from, except, desc) => {
11
7
  if (from && typeof from === "object" || typeof from === "function") {
12
8
  for (let key of __getOwnPropNames(from))
@@ -15,29 +11,9 @@ var __copyProps = (to, from, except, desc) => {
15
11
  }
16
12
  return to;
17
13
  };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
16
  var src_exports = {};
22
- __export(src_exports, {
23
- difference: () => difference,
24
- intersection: () => intersection,
25
- union: () => union
26
- });
27
17
  module.exports = __toCommonJS(src_exports);
28
-
29
- // src/lib/difference.ts
30
- var difference = (a, b) => {
31
- return new Set(Array.from(a).filter((x) => !b.has(x)));
32
- };
33
-
34
- // src/lib/intersection.ts
35
- var intersection = (a, b) => {
36
- return new Set(Array.from(a).filter((x) => b.has(x)));
37
- };
38
-
39
- // src/lib/union.ts
40
- var union = (a, b) => {
41
- return /* @__PURE__ */ new Set([...a, ...b]);
42
- };
18
+ __reExport(src_exports, require("./lib"), module.exports);
43
19
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/lib/difference.ts","../../src/lib/intersection.ts","../../src/lib/union.ts"],"sourcesContent":["export * from './lib'\n","export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './lib'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,kBAAd;","names":[]}
@@ -1,20 +1,2 @@
1
- // src/lib/difference.ts
2
- var difference = (a, b) => {
3
- return new Set(Array.from(a).filter((x) => !b.has(x)));
4
- };
5
-
6
- // src/lib/intersection.ts
7
- var intersection = (a, b) => {
8
- return new Set(Array.from(a).filter((x) => b.has(x)));
9
- };
10
-
11
- // src/lib/union.ts
12
- var union = (a, b) => {
13
- return /* @__PURE__ */ new Set([...a, ...b]);
14
- };
15
- export {
16
- difference,
17
- intersection,
18
- union
19
- };
1
+ export * from "./lib";
20
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/difference.ts","../../src/lib/intersection.ts","../../src/lib/union.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './lib'\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -16,14 +16,12 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/lib/difference.ts
21
19
  var difference_exports = {};
22
20
  __export(difference_exports, {
23
21
  difference: () => difference
24
22
  });
25
23
  module.exports = __toCommonJS(difference_exports);
26
- var difference = (a, b) => {
24
+ const difference = (a, b) => {
27
25
  return new Set(Array.from(a).filter((x) => !b.has(x)));
28
26
  };
29
27
  //# sourceMappingURL=difference.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
@@ -1,5 +1,4 @@
1
- // src/lib/difference.ts
2
- var difference = (a, b) => {
1
+ const difference = (a, b) => {
3
2
  return new Set(Array.from(a).filter((x) => !b.has(x)));
4
3
  };
5
4
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":"AAAO,MAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
@@ -3,10 +3,6 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
6
  var __copyProps = (to, from, except, desc) => {
11
7
  if (from && typeof from === "object" || typeof from === "function") {
12
8
  for (let key of __getOwnPropNames(from))
@@ -15,29 +11,11 @@ var __copyProps = (to, from, except, desc) => {
15
11
  }
16
12
  return to;
17
13
  };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/lib/index.ts
21
16
  var lib_exports = {};
22
- __export(lib_exports, {
23
- difference: () => difference,
24
- intersection: () => intersection,
25
- union: () => union
26
- });
27
17
  module.exports = __toCommonJS(lib_exports);
28
-
29
- // src/lib/difference.ts
30
- var difference = (a, b) => {
31
- return new Set(Array.from(a).filter((x) => !b.has(x)));
32
- };
33
-
34
- // src/lib/intersection.ts
35
- var intersection = (a, b) => {
36
- return new Set(Array.from(a).filter((x) => b.has(x)));
37
- };
38
-
39
- // src/lib/union.ts
40
- var union = (a, b) => {
41
- return /* @__PURE__ */ new Set([...a, ...b]);
42
- };
18
+ __reExport(lib_exports, require("./difference"), module.exports);
19
+ __reExport(lib_exports, require("./intersection"), module.exports);
20
+ __reExport(lib_exports, require("./union"), module.exports);
43
21
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/index.ts","../../../src/lib/difference.ts","../../../src/lib/intersection.ts","../../../src/lib/union.ts"],"sourcesContent":["export * from './difference'\nexport * from './intersection'\nexport * from './union'\n","export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/index.ts"],"sourcesContent":["export * from './difference'\nexport * from './intersection'\nexport * from './union'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,yBAAd;AACA,wBAAc,2BADd;AAEA,wBAAc,oBAFd;","names":[]}
@@ -1,20 +1,4 @@
1
- // src/lib/difference.ts
2
- var difference = (a, b) => {
3
- return new Set(Array.from(a).filter((x) => !b.has(x)));
4
- };
5
-
6
- // src/lib/intersection.ts
7
- var intersection = (a, b) => {
8
- return new Set(Array.from(a).filter((x) => b.has(x)));
9
- };
10
-
11
- // src/lib/union.ts
12
- var union = (a, b) => {
13
- return /* @__PURE__ */ new Set([...a, ...b]);
14
- };
15
- export {
16
- difference,
17
- intersection,
18
- union
19
- };
1
+ export * from "./difference";
2
+ export * from "./intersection";
3
+ export * from "./union";
20
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/difference.ts","../../../src/lib/intersection.ts","../../../src/lib/union.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/index.ts"],"sourcesContent":["export * from './difference'\nexport * from './intersection'\nexport * from './union'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
@@ -16,14 +16,12 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/lib/intersection.ts
21
19
  var intersection_exports = {};
22
20
  __export(intersection_exports, {
23
21
  intersection: () => intersection
24
22
  });
25
23
  module.exports = __toCommonJS(intersection_exports);
26
- var intersection = (a, b) => {
24
+ const intersection = (a, b) => {
27
25
  return new Set(Array.from(a).filter((x) => b.has(x)));
28
26
  };
29
27
  //# sourceMappingURL=intersection.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
@@ -1,5 +1,4 @@
1
- // src/lib/intersection.ts
2
- var intersection = (a, b) => {
1
+ const intersection = (a, b) => {
3
2
  return new Set(Array.from(a).filter((x) => b.has(x)));
4
3
  };
5
4
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":";AAAO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":"AAAO,MAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
@@ -16,14 +16,12 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/lib/union.ts
21
19
  var union_exports = {};
22
20
  __export(union_exports, {
23
21
  union: () => union
24
22
  });
25
23
  module.exports = __toCommonJS(union_exports);
26
- var union = (a, b) => {
24
+ const union = (a, b) => {
27
25
  return /* @__PURE__ */ new Set([...a, ...b]);
28
26
  };
29
27
  //# sourceMappingURL=union.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -1,5 +1,4 @@
1
- // src/lib/union.ts
2
- var union = (a, b) => {
1
+ const union = (a, b) => {
3
2
  return /* @__PURE__ */ new Set([...a, ...b]);
4
3
  };
5
4
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";AAAO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":"AAAO,MAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -11,13 +15,35 @@ var __copyProps = (to, from, except, desc) => {
11
15
  }
12
16
  return to;
13
17
  };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
16
21
  var src_exports = {};
22
+ __export(src_exports, {
23
+ difference: () => difference,
24
+ intersection: () => intersection,
25
+ union: () => union
26
+ });
17
27
  module.exports = __toCommonJS(src_exports);
18
- __reExport(src_exports, require("./lib"), module.exports);
28
+
29
+ // src/lib/difference.ts
30
+ var difference = (a, b) => {
31
+ return new Set(Array.from(a).filter((x) => !b.has(x)));
32
+ };
33
+
34
+ // src/lib/intersection.ts
35
+ var intersection = (a, b) => {
36
+ return new Set(Array.from(a).filter((x) => b.has(x)));
37
+ };
38
+
39
+ // src/lib/union.ts
40
+ var union = (a, b) => {
41
+ return /* @__PURE__ */ new Set([...a, ...b]);
42
+ };
19
43
  // Annotate the CommonJS export names for ESM import in node:
20
44
  0 && (module.exports = {
21
- ...require("./lib")
45
+ difference,
46
+ intersection,
47
+ union
22
48
  });
23
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './lib'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,kBAAd;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/lib/difference.ts","../../src/lib/intersection.ts","../../src/lib/union.ts"],"sourcesContent":["export * from './lib'\n","export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -1,2 +1,20 @@
1
- export * from "./lib";
1
+ // src/lib/difference.ts
2
+ var difference = (a, b) => {
3
+ return new Set(Array.from(a).filter((x) => !b.has(x)));
4
+ };
5
+
6
+ // src/lib/intersection.ts
7
+ var intersection = (a, b) => {
8
+ return new Set(Array.from(a).filter((x) => b.has(x)));
9
+ };
10
+
11
+ // src/lib/union.ts
12
+ var union = (a, b) => {
13
+ return /* @__PURE__ */ new Set([...a, ...b]);
14
+ };
15
+ export {
16
+ difference,
17
+ intersection,
18
+ union
19
+ };
2
20
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './lib'\n"],"mappings":"AAAA,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/difference.ts","../../src/lib/intersection.ts","../../src/lib/union.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/lib/difference.ts
19
21
  var difference_exports = {};
20
22
  __export(difference_exports, {
21
23
  difference: () => difference
22
24
  });
23
25
  module.exports = __toCommonJS(difference_exports);
24
- const difference = (a, b) => {
26
+ var difference = (a, b) => {
25
27
  return new Set(Array.from(a).filter((x) => !b.has(x)));
26
28
  };
27
29
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
@@ -1,4 +1,5 @@
1
- const difference = (a, b) => {
1
+ // src/lib/difference.ts
2
+ var difference = (a, b) => {
2
3
  return new Set(Array.from(a).filter((x) => !b.has(x)));
3
4
  };
4
5
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":"AAAO,MAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/difference.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;","names":[]}
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -11,17 +15,35 @@ var __copyProps = (to, from, except, desc) => {
11
15
  }
12
16
  return to;
13
17
  };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/lib/index.ts
16
21
  var lib_exports = {};
22
+ __export(lib_exports, {
23
+ difference: () => difference,
24
+ intersection: () => intersection,
25
+ union: () => union
26
+ });
17
27
  module.exports = __toCommonJS(lib_exports);
18
- __reExport(lib_exports, require("./difference"), module.exports);
19
- __reExport(lib_exports, require("./intersection"), module.exports);
20
- __reExport(lib_exports, require("./union"), module.exports);
28
+
29
+ // src/lib/difference.ts
30
+ var difference = (a, b) => {
31
+ return new Set(Array.from(a).filter((x) => !b.has(x)));
32
+ };
33
+
34
+ // src/lib/intersection.ts
35
+ var intersection = (a, b) => {
36
+ return new Set(Array.from(a).filter((x) => b.has(x)));
37
+ };
38
+
39
+ // src/lib/union.ts
40
+ var union = (a, b) => {
41
+ return /* @__PURE__ */ new Set([...a, ...b]);
42
+ };
21
43
  // Annotate the CommonJS export names for ESM import in node:
22
44
  0 && (module.exports = {
23
- ...require("./difference"),
24
- ...require("./intersection"),
25
- ...require("./union")
45
+ difference,
46
+ intersection,
47
+ union
26
48
  });
27
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/index.ts"],"sourcesContent":["export * from './difference'\nexport * from './intersection'\nexport * from './union'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,yBAAd;AACA,wBAAc,2BADd;AAEA,wBAAc,oBAFd;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/index.ts","../../../src/lib/difference.ts","../../../src/lib/intersection.ts","../../../src/lib/union.ts"],"sourcesContent":["export * from './difference'\nexport * from './intersection'\nexport * from './union'\n","export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -1,4 +1,20 @@
1
- export * from "./difference";
2
- export * from "./intersection";
3
- export * from "./union";
1
+ // src/lib/difference.ts
2
+ var difference = (a, b) => {
3
+ return new Set(Array.from(a).filter((x) => !b.has(x)));
4
+ };
5
+
6
+ // src/lib/intersection.ts
7
+ var intersection = (a, b) => {
8
+ return new Set(Array.from(a).filter((x) => b.has(x)));
9
+ };
10
+
11
+ // src/lib/union.ts
12
+ var union = (a, b) => {
13
+ return /* @__PURE__ */ new Set([...a, ...b]);
14
+ };
15
+ export {
16
+ difference,
17
+ intersection,
18
+ union
19
+ };
4
20
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/index.ts"],"sourcesContent":["export * from './difference'\nexport * from './intersection'\nexport * from './union'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/difference.ts","../../../src/lib/intersection.ts","../../../src/lib/union.ts"],"sourcesContent":["export const difference = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => !b.has(x)))\n}\n","export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n","export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAO,GAAc,MAA4B;AACzE,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD;;;ACFO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;;;ACFO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/lib/intersection.ts
19
21
  var intersection_exports = {};
20
22
  __export(intersection_exports, {
21
23
  intersection: () => intersection
22
24
  });
23
25
  module.exports = __toCommonJS(intersection_exports);
24
- const intersection = (a, b) => {
26
+ var intersection = (a, b) => {
25
27
  return new Set(Array.from(a).filter((x) => b.has(x)));
26
28
  };
27
29
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
@@ -1,4 +1,5 @@
1
- const intersection = (a, b) => {
1
+ // src/lib/intersection.ts
2
+ var intersection = (a, b) => {
2
3
  return new Set(Array.from(a).filter((x) => b.has(x)));
3
4
  };
4
5
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":"AAAO,MAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/intersection.ts"],"sourcesContent":["export const intersection = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set(Array.from(a).filter((x) => b.has(x)))\n}\n"],"mappings":";AAAO,IAAM,eAAe,CAAO,GAAc,MAA4B;AAC3E,SAAO,IAAI,IAAI,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD;","names":[]}
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/lib/union.ts
19
21
  var union_exports = {};
20
22
  __export(union_exports, {
21
23
  union: () => union
22
24
  });
23
25
  module.exports = __toCommonJS(union_exports);
24
- const union = (a, b) => {
26
+ var union = (a, b) => {
25
27
  return /* @__PURE__ */ new Set([...a, ...b]);
26
28
  };
27
29
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
@@ -1,4 +1,5 @@
1
- const union = (a, b) => {
1
+ // src/lib/union.ts
2
+ var union = (a, b) => {
2
3
  return /* @__PURE__ */ new Set([...a, ...b]);
3
4
  };
4
5
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":"AAAO,MAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../../src/lib/union.ts"],"sourcesContent":["export const union = <TKey>(a: Set<TKey>, b: Set<TKey>): Set<TKey> => {\n return new Set([...a, ...b])\n}\n"],"mappings":";AAAO,IAAM,QAAQ,CAAO,GAAc,MAA4B;AACpE,SAAO,oBAAI,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAC7B;","names":[]}
package/package.json CHANGED
@@ -42,8 +42,8 @@
42
42
  "esm"
43
43
  ],
44
44
  "devDependencies": {
45
- "@xylabs/ts-scripts-yarn3": "^3.0.70",
46
- "@xylabs/tsconfig": "^3.0.70",
45
+ "@xylabs/ts-scripts-yarn3": "^3.0.74",
46
+ "@xylabs/tsconfig": "^3.0.74",
47
47
  "typescript": "^5.2.2"
48
48
  },
49
49
  "publishConfig": {
@@ -54,6 +54,6 @@
54
54
  "url": "https://github.com/xylabs/sdk-js.git"
55
55
  },
56
56
  "sideEffects": false,
57
- "version": "2.11.22",
57
+ "version": "2.11.24",
58
58
  "packageManager": "yarn@3.3.1"
59
59
  }