@algorithm.ts/gcd 4.0.3 → 4.0.5

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
@@ -1,5 +1,105 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Release patch updates for packages with unreleased commits.
8
+ - @algorithm.ts/internal: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
9
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: fix nx config
10
+ - @algorithm.ts/base64: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
11
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
12
+ yarn to pnpm
13
+ - @algorithm.ts/bellman-ford: :wrench: chore: align scaffold with sora and upgrade workspace
14
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
15
+ chore: migrate test runner from jest to vitest
16
+ - @algorithm.ts/binary-index-tree: :wrench: chore: remove nx and lerna in favor of pnpm workspace
17
+ scripts :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate
18
+ workspace from yarn to pnpm
19
+ - @algorithm.ts/binary-search: :wrench: chore: align scaffold with sora and upgrade workspace
20
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
21
+ chore: migrate test runner from jest to vitest
22
+ - @algorithm.ts/bipartite-matching: :wrench: chore: align scaffold with sora and upgrade workspace
23
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
24
+ chore: migrate test runner from jest to vitest
25
+ - @algorithm.ts/calculator: :wrench: chore: align scaffold with sora and upgrade workspace
26
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
27
+ chore: migrate test runner from jest to vitest
28
+ - @algorithm.ts/diff: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
29
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
30
+ test runner from jest to vitest
31
+ - @algorithm.ts/dijkstra: :wrench: chore: align scaffold with sora and upgrade workspace
32
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
33
+ chore: migrate test runner from jest to vitest
34
+ - @algorithm.ts/dinic: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
35
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
36
+ test runner from jest to vitest
37
+ - @algorithm.ts/dlx: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
38
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
39
+ yarn to pnpm
40
+ - @algorithm.ts/findset: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
41
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
42
+ yarn to pnpm
43
+ - @algorithm.ts/gcd: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
44
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
45
+ test runner from jest to vitest
46
+ - @algorithm.ts/gomoku: :wrench: chore: align scaffold with sora and upgrade workspace
47
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
48
+ chore: migrate test runner from jest to vitest
49
+ - @algorithm.ts/graph.types: :wrench: chore: remove nx and lerna in favor of pnpm workspace
50
+ scripts
51
+ - @algorithm.ts/graph: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
52
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
53
+ test runner from jest to vitest
54
+ - @algorithm.ts/history: :wrench: chore: align scaffold with sora and upgrade workspace
55
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
56
+ chore: migrate test runner from jest to vitest
57
+ - @algorithm.ts/huffman: :recycle: refactor(queue): migrate heap internals to zero-based indexing
58
+ :wrench: chore: align scaffold with sora and upgrade workspace dependencies|:wrench: chore:
59
+ remove nx and lerna in favor of pnpm workspace scripts
60
+ - @algorithm.ts/isap: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
61
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
62
+ test runner from jest to vitest
63
+ - @algorithm.ts/lcs: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
64
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
65
+ test runner from jest to vitest
66
+ - @algorithm.ts/lis: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
67
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
68
+ test runner from jest to vitest
69
+ - @algorithm.ts/manacher: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
70
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
71
+ yarn to pnpm
72
+ - @algorithm.ts/mcmf: :bug: fix(mcmf): return strict mincut edges by reachable partition :wrench:
73
+ chore: align scaffold with sora and upgrade workspace dependencies|:wrench: chore: remove nx and
74
+ lerna in favor of pnpm workspace scripts
75
+ - @algorithm.ts/permutation: :wrench: chore: remove nx and lerna in favor of pnpm workspace
76
+ scripts :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate
77
+ workspace from yarn to pnpm
78
+ - @algorithm.ts/prime: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
79
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
80
+ yarn to pnpm
81
+ - @algorithm.ts/queue: :recycle: refactor(queue): migrate heap internals to zero-based indexing
82
+ :wrench: chore: align scaffold with sora and upgrade workspace dependencies|:wrench: chore:
83
+ remove nx and lerna in favor of pnpm workspace scripts
84
+ - @algorithm.ts/roman: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
85
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
86
+ yarn to pnpm
87
+ - @algorithm.ts/shuffle: :wrench: chore: align scaffold with sora and upgrade workspace
88
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
89
+ chore: migrate test runner from jest to vitest
90
+ - @algorithm.ts/sliding-window: :wrench: chore: align scaffold with sora and upgrade workspace
91
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
92
+ chore: migrate test runner from jest to vitest
93
+ - @algorithm.ts/stack: :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts
94
+ :wrench: chore: migrate test runner from jest to vitest|:wrench: chore: migrate workspace from
95
+ yarn to pnpm
96
+ - @algorithm.ts/sudoku: :wrench: chore: align scaffold with sora and upgrade workspace
97
+ dependencies :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench:
98
+ chore: migrate test runner from jest to vitest
99
+ - @algorithm.ts/trie: :wrench: chore: align scaffold with sora and upgrade workspace dependencies
100
+ :wrench: chore: remove nx and lerna in favor of pnpm workspace scripts|:wrench: chore: migrate
101
+ test runner from jest to vitest
102
+
3
103
  All notable changes to this project will be documented in this file. See
4
104
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
105
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <header>
2
2
  <h1 align="center">
3
- <a href="https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.3/packages/gcd#readme">@algorithm.ts/gcd</a>
3
+ <a href="https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.4/packages/gcd#readme">@algorithm.ts/gcd</a>
4
4
  </h1>
5
5
  <div align="center">
6
6
  <a href="https://www.npmjs.com/package/@algorithm.ts/gcd">
@@ -33,10 +33,10 @@
33
33
  src="https://img.shields.io/node/v/@algorithm.ts/gcd"
34
34
  />
35
35
  </a>
36
- <a href="https://github.com/facebook/jest">
36
+ <a href="https://github.com/vitest-dev/vitest">
37
37
  <img
38
38
  alt="Tested with Jest"
39
- src="https://img.shields.io/badge/tested_with-jest-9c465e.svg"
39
+ src="https://img.shields.io/badge/tested_with-vitest-6E9F18.svg"
40
40
  />
41
41
  </a>
42
42
  <a href="https://github.com/prettier/prettier">
@@ -64,10 +64,10 @@ A typescript implementation of the **gcd** and **Extended Euclidean** algorithm.
64
64
  npm install --save @algorithm.ts/gcd
65
65
  ```
66
66
 
67
- - yarn
67
+ - pnpm
68
68
 
69
69
  ```bash
70
- yarn add @algorithm.ts/gcd
70
+ pnpm add @algorithm.ts/gcd
71
71
  ```
72
72
 
73
73
  ## Usage
@@ -97,5 +97,5 @@ A typescript implementation of the **gcd** and **Extended Euclidean** algorithm.
97
97
  - [数论基础之模方程初步][gcd]
98
98
 
99
99
  [homepage]:
100
- https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.3/packages/gcd#readme
100
+ https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.4/packages/gcd#readme
101
101
  [gcd]: https://me.guanghechen.com/post/math/number-theory/%E6%A8%A1%E6%96%B9%E7%A8%8B/basic/
package/lib/cjs/index.cjs CHANGED
@@ -73,4 +73,3 @@ exports.euclidean = euclidean;
73
73
  exports.euclideanBigint = euclideanBigint;
74
74
  exports.gcd = gcd;
75
75
  exports.gcdBigint = gcdBigint;
76
- //# sourceMappingURL=index.cjs.map
package/lib/esm/index.mjs CHANGED
@@ -68,4 +68,3 @@ function gcdBigint(x, y) {
68
68
  }
69
69
 
70
70
  export { euclidean, euclideanBigint, gcd, gcdBigint };
71
- //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algorithm.ts/gcd",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "GCD + Euclidean algorithm",
5
5
  "author": {
6
6
  "name": "guanghechen",
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.2",
11
+ "url": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.4",
12
12
  "directory": "packages/gcd"
13
13
  },
14
- "homepage": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.2/packages/gcd#readme",
14
+ "homepage": "https://github.com/guanghechen/algorithm.ts/tree/@algorithm.ts/gcd@4.0.4/packages/gcd#readme",
15
15
  "keywords": [
16
16
  "algorithm",
17
17
  "gcd",
@@ -37,7 +37,13 @@
37
37
  "README.md"
38
38
  ],
39
39
  "devDependencies": {
40
- "@algorithm.ts/internal": "0.0.0"
40
+ "@algorithm.ts/internal": "^0.0.1"
41
41
  },
42
- "gitHead": "6cd9d55661bd895979f4384e8e471aed35a047c1"
43
- }
42
+ "scripts": {
43
+ "clean": "rimraf lib",
44
+ "build": "rollup -c ../../rollup.config.mjs",
45
+ "test": "vitest run --config ../../vitest.config.ts",
46
+ "test:coverage": "vitest run --config ../../vitest.config.ts --coverage",
47
+ "test:update": "vitest run --config ../../vitest.config.ts -u"
48
+ }
49
+ }