utilitish 0.0.23 → 0.0.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.
package/dist/index.d.ts CHANGED
@@ -4,4 +4,4 @@ import './map/map-prototype';
4
4
  import './object/object-prototype';
5
5
  import './set/set-prototype';
6
6
  import './string/string-prototype';
7
- export { getSlugifyConfig, resetSlugifyConfig, setSlugifyConfig, type SlugifyConfig } from './utils/slugify.config';
7
+ export { getSlugifyConfig, resetSlugifyConfig, setSlugifyConfig, SlugifyConfig } from './utils/slugify.config';
package/dist/index.js CHANGED
@@ -5,4 +5,4 @@ import './object/object-prototype';
5
5
  import './set/set-prototype';
6
6
  import './string/string-prototype';
7
7
  // Export slugify configuration functions
8
- export { getSlugifyConfig, resetSlugifyConfig, setSlugifyConfig } from './utils/slugify.config';
8
+ export { getSlugifyConfig, resetSlugifyConfig, setSlugifyConfig, SlugifyConfig } from './utils/slugify.config';
@@ -69,10 +69,17 @@ describe('Set.prototype', () => {
69
69
  const b = new Set([2, 3]);
70
70
  expect(a.union(b)).toEqual(new Set([1, 2, 3]));
71
71
  });
72
+ it('should work with multiple inputs', () => {
73
+ const a = new Set([1, 2]);
74
+ const b = new Set([2, 3]);
75
+ const c = new Set([2, 4]);
76
+ expect(a.union(b, c)).toEqual(new Set([1, 2, 3, 4]));
77
+ });
72
78
  });
73
79
  describe('with no arguments', () => {
74
80
  it('should return a copy of the Set when no arguments provided', () => {
75
81
  const a = new Set([1, 2]);
82
+ // @ts-nocheck
76
83
  expect(a.union()).toEqual(new Set([1, 2]));
77
84
  });
78
85
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utilitish",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/FDonovan12/utilitish.git"