@alwatr/dedupe 1.1.8 → 5.3.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,75 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
7
+
8
+ ### Miscellaneous Chores
9
+
10
+ * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @ArmanAsadian
11
+
12
+ ### Dependencies update
13
+
14
+ * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @dependabot[bot]
15
+ * update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @alimd
16
+
17
+ ## 5.0.0 (2024-11-02)
18
+
19
+ ### ⚠ BREAKING CHANGES
20
+
21
+ * To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
22
+
23
+ ### Features
24
+
25
+ * **dedupe:** add `definePackage` to use `deduplicate` for backward compatibility ([990b994](https://github.com/Alwatr/nanolib/commit/990b994ff7a633f6f337a5b96cdd82dc9638c0d6)) by @
26
+ * **dedupe:** new package ([77fcdf6](https://github.com/Alwatr/nanolib/commit/77fcdf6fc8701910a7d503b7fba89fd284f36833)) by @
27
+ * **dedupe:** refactor & new api ([393d873](https://github.com/Alwatr/nanolib/commit/393d8730456749e88fc01b7680c025889de53f36)) by @
28
+
29
+ ### Bug Fixes
30
+
31
+ * __package_version__ global type ([de8a3f9](https://github.com/Alwatr/nanolib/commit/de8a3f93bdb5a786c42f56324072b4b9520ce3a1)) by @
32
+ * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @
33
+ * **dedupe:** add a missing `import` & use `__package_name__` ([1ebbe92](https://github.com/Alwatr/nanolib/commit/1ebbe926549ce11111a791f8d72c9d296597c803)) by @
34
+ * **dedupe:** duplicate_dedupe not work issue ([bdf6f52](https://github.com/Alwatr/nanolib/commit/bdf6f52bbb3730e6d791f5f1cba9a4ebe2510e34)) by @
35
+ * **dedupe:** update `demo` based on new API ([650f159](https://github.com/Alwatr/nanolib/commit/650f1591c754231ca7d0c36a9cf98384af30aa44)) by @
36
+ * use new `global-this` package & remove global type ([63f5a3b](https://github.com/Alwatr/nanolib/commit/63f5a3b07f6d73d0c213cd893a382d5bfe1c4c34)) by @
37
+
38
+ ### Code Refactoring
39
+
40
+ * **dedupe:** prevent throw error on duplicate package and just log it ([9d2b657](https://github.com/Alwatr/nanolib/commit/9d2b6570616c63604b138f2df2e2166afe16c482)) by @
41
+ * prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @
42
+ * update Dictionary type definitions ([c94cbc4](https://github.com/Alwatr/nanolib/commit/c94cbc4523864e2cc47828ccf5508b68945ac2b8)) by @
43
+ * use new `global-this` package ([42510b9](https://github.com/Alwatr/nanolib/commit/42510b9ae0e385206a902db093d188949f1cb84e)) by @
44
+ * use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @
45
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
46
+
47
+ ### Miscellaneous Chores
48
+
49
+ * **dedupe:** change the license to AGPL-3.0 ([f48165c](https://github.com/Alwatr/nanolib/commit/f48165c4cc9aa0bfc5cf433500fd3de3d45fc8ab)) by @
50
+ * **dedupe:** fix version ([9754409](https://github.com/Alwatr/nanolib/commit/9754409d978265ba2ce08a9f86af1d1e143940e4)) by @
51
+ * **dedupe:** fix version ([9c5494a](https://github.com/Alwatr/nanolib/commit/9c5494a7297351ec36e7f1f293cc4c1a6f71cf8a)) by @
52
+ * **deps-dev:** bump the development-dependencies group with 3 updates ([0e0ec0f](https://github.com/Alwatr/nanolib/commit/0e0ec0f7c66c849727563cabe0e88606aee49035)) by @
53
+ * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
54
+ * **deps:** update ([8e70dff](https://github.com/Alwatr/nanolib/commit/8e70dffb1e751496ef2e72d6cffd685f1fea44e3)) by @
55
+ * **deps:** update ([f0b60d2](https://github.com/Alwatr/nanolib/commit/f0b60d24c9fae6190940baf95167a1175360d4b3)) by @
56
+ * fix all typescript reference ([dea4c44](https://github.com/Alwatr/nanolib/commit/dea4c4414167602ea2f13888c6ecee24eb65ed93)) by @
57
+ * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
58
+ * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
59
+ * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
60
+
61
+ ### Dependencies update
62
+
63
+ * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @
64
+ * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @
65
+ * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @
66
+ * bump the development-dependencies group with 2 updates ([be5d6c2](https://github.com/Alwatr/nanolib/commit/be5d6c2d86b937f32cebc6848aaff85af07055dd)) by @
67
+ * **dedupe:** update ([ce988ec](https://github.com/Alwatr/nanolib/commit/ce988ec4cf0f4be8fa0fb026eae65c31acc7055e)) by @
68
+ * upd ([451d025](https://github.com/Alwatr/nanolib/commit/451d0255ba96ed55f897a6f44f62cf4e6d2b12be)) by @
69
+ * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
70
+ * update all ([53342f6](https://github.com/Alwatr/nanolib/commit/53342f67a8a013127f073540bc11929f1813c05c)) by @
71
+ * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
72
+ * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
73
+ * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
74
+
6
75
  ## [1.1.8](https://github.com/Alwatr/nanolib/compare/@alwatr/dedupe@1.1.7...@alwatr/dedupe@1.1.8) (2024-11-02)
7
76
 
8
77
  **Note:** Version bump only for package @alwatr/dedupe
package/README.md CHANGED
@@ -20,8 +20,6 @@ definePackage({name: __package_name__});
20
20
 
21
21
  The following companies, organizations, and individuals support Nanolib ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
22
22
 
23
- [![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)
24
-
25
23
  ### Contributing
26
24
 
27
25
  Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/dedupe v1.1.8 */
1
+ /* @alwatr/dedupe v5.3.0 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -28,10 +28,10 @@ module.exports = __toCommonJS(main_exports);
28
28
  var import_global_this = require("@alwatr/global-this");
29
29
  var import_package_tracer = require("@alwatr/package-tracer");
30
30
  var import_polyfill_has_own = require("@alwatr/polyfill-has-own");
31
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/dedupe", "1.1.8");
31
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/dedupe", "5.3.0");
32
32
  var globalThis_ = (0, import_global_this.getGlobalThis)();
33
33
  if (typeof globalThis_.__alwatr_dedupe__ === "undefined") {
34
- globalThis_.__alwatr_dedupe__ = "1.1.8";
34
+ globalThis_.__alwatr_dedupe__ = "5.3.0";
35
35
  } else {
36
36
  if (globalThis_.__alwatr_dedupe__ === true) {
37
37
  globalThis_.__alwatr_dedupe__ = "1.0.x";
@@ -41,7 +41,7 @@ if (typeof globalThis_.__alwatr_dedupe__ === "undefined") {
41
41
  cause: {
42
42
  name: "@alwatr/dedupe",
43
43
  oldVersion: globalThis_.__alwatr_dedupe__,
44
- newVersion: "1.1.8"
44
+ newVersion: "5.3.0"
45
45
  }
46
46
  })
47
47
  );
package/dist/main.mjs CHANGED
@@ -1,13 +1,13 @@
1
- /* @alwatr/dedupe v1.1.8 */
1
+ /* @alwatr/dedupe v5.3.0 */
2
2
 
3
3
  // src/main.ts
4
4
  import { getGlobalThis } from "@alwatr/global-this";
5
5
  import { packageTracer } from "@alwatr/package-tracer";
6
6
  import "@alwatr/polyfill-has-own";
7
- __dev_mode__: packageTracer.add("@alwatr/dedupe", "1.1.8");
7
+ __dev_mode__: packageTracer.add("@alwatr/dedupe", "5.3.0");
8
8
  var globalThis_ = getGlobalThis();
9
9
  if (typeof globalThis_.__alwatr_dedupe__ === "undefined") {
10
- globalThis_.__alwatr_dedupe__ = "1.1.8";
10
+ globalThis_.__alwatr_dedupe__ = "5.3.0";
11
11
  } else {
12
12
  if (globalThis_.__alwatr_dedupe__ === true) {
13
13
  globalThis_.__alwatr_dedupe__ = "1.0.x";
@@ -17,7 +17,7 @@ if (typeof globalThis_.__alwatr_dedupe__ === "undefined") {
17
17
  cause: {
18
18
  name: "@alwatr/dedupe",
19
19
  oldVersion: globalThis_.__alwatr_dedupe__,
20
- newVersion: "1.1.8"
20
+ newVersion: "5.3.0"
21
21
  }
22
22
  })
23
23
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/dedupe",
3
- "version": "1.1.8",
3
+ "version": "5.3.0",
4
4
  "description": "A package manager helper tool for debug list of defined (imported) packages in your ecosystem and prevent to duplicate import (install) multiple versions of the same package in your project (deduplicate packages).",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -68,16 +68,16 @@
68
68
  "clean": "rm -rfv dist *.tsbuildinfo"
69
69
  },
70
70
  "dependencies": {
71
- "@alwatr/global-this": "^1.0.3",
72
- "@alwatr/package-tracer": "^1.0.8",
73
- "@alwatr/polyfill-has-own": "^1.1.8"
71
+ "@alwatr/global-this": "^5.3.0",
72
+ "@alwatr/package-tracer": "^5.3.0",
73
+ "@alwatr/polyfill-has-own": "^5.3.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@alwatr/nano-build": "^2.0.4",
77
- "@alwatr/prettier-config": "^1.0.6",
78
- "@alwatr/tsconfig-base": "^1.3.3",
79
- "@alwatr/type-helper": "^2.0.3",
80
- "typescript": "^5.6.3"
76
+ "@alwatr/nano-build": "^5.3.0",
77
+ "@alwatr/prettier-config": "^5.0.0",
78
+ "@alwatr/tsconfig-base": "^5.0.0",
79
+ "@alwatr/type-helper": "^5.3.0",
80
+ "typescript": "^5.7.3"
81
81
  },
82
- "gitHead": "5aecc962a161034aa9213dcc5fb3c1cece9eaca2"
82
+ "gitHead": "9cfb80ed0666355887d8e3865fc75311420ac371"
83
83
  }