@thi.ng/transducers-patch 0.3.7 → 0.4.2

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 (3) hide show
  1. package/CHANGELOG.md +63 -31
  2. package/README.md +1 -1
  3. package/package.json +85 -80
package/CHANGELOG.md CHANGED
@@ -1,64 +1,96 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
- ## [0.3.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-patch@0.3.6...@thi.ng/transducers-patch@0.3.7) (2021-11-03)
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
7
8
 
8
- **Note:** Version bump only for package @thi.ng/transducers-patch
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
9
11
 
12
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.4.0) (2021-11-17)
10
13
 
14
+ #### 🚀 Features
11
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
12
21
 
22
+ #### ♻️ Refactoring
13
23
 
14
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-patch@0.2.30...@thi.ng/transducers-patch@0.3.0) (2021-10-12)
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
15
30
 
31
+ ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.3.1) (2021-10-13)
16
32
 
17
- ### Build System
33
+ #### ♻️ Refactoring
18
34
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
20
38
 
39
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.3.0) (2021-10-12)
21
40
 
22
- ### BREAKING CHANGES
41
+ #### 🛑 Breaking changes
23
42
 
24
- * discontinue CommonJS & UMD versions
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
25
55
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
56
+ #### ♻️ Refactoring
32
57
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
58
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
59
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
60
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
37
61
 
62
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.2.0) (2020-12-22)
38
63
 
64
+ #### 🛑 Breaking changes
39
65
 
66
+ - fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enum ([5086a33](https://github.com/thi-ng/umbrella/commit/5086a33))
67
+ - BREAKING CHANGE: replace Patch enum w/ type alias,
68
+ update PatchArrayOp/PatchObjOp
40
69
 
70
+ ### [0.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.1.6) (2020-04-05)
41
71
 
72
+ #### ♻️ Refactoring
42
73
 
43
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-patch@0.1.33...@thi.ng/transducers-patch@0.2.0) (2020-12-22)
74
+ - switch to non-const enums ([be42b21](https://github.com/thi-ng/umbrella/commit/be42b21))
44
75
 
45
- ### Code Refactoring
76
+ ### [0.1.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.1.5) (2020-03-28)
46
77
 
47
- - **transducers-patch:** fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enum ([5086a33](https://github.com/thi-ng/umbrella/commit/5086a330698992fc65ce2e774fc495e0d2e3e58a))
78
+ #### 🩹 Bug fixes
48
79
 
49
- ### BREAKING CHANGES
80
+ - update deps & imports ([71d73c3](https://github.com/thi-ng/umbrella/commit/71d73c3))
50
81
 
51
- - **transducers-patch:** replace Patch enum w/ type alias, update PatchArrayOp/PatchObjOp
82
+ #### ♻️ Refactoring
52
83
 
53
- ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-patch@0.1.4...@thi.ng/transducers-patch@0.1.5) (2020-03-28)
84
+ - update to new [@thi.ng/paths](https://github.com/thi-ng/umbrella/tree/main/packages/paths) API ([dcf929d](https://github.com/thi-ng/umbrella/commit/dcf929d))
54
85
 
55
- ### Bug Fixes
86
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-patch@0.1.0) (2020-02-25)
56
87
 
57
- - **transducers-patch:** update deps & imports ([71d73c3](https://github.com/thi-ng/umbrella/commit/71d73c3acc41d6cf2c5a4a91432bc85afa38980b))
88
+ #### 🚀 Features
58
89
 
59
- # 0.1.0 (2020-02-25)
90
+ - add transaction support ([77fbb77](https://github.com/thi-ng/umbrella/commit/77fbb77))
91
+ - import as new pkg ([274fde1](https://github.com/thi-ng/umbrella/commit/274fde1))
60
92
 
61
- ### Features
93
+ #### ♻️ Refactoring
62
94
 
63
- - **transducers-patch:** add transaction support ([77fbb77](https://github.com/thi-ng/umbrella/commit/77fbb774083c38e660644d7ee54b517e2521c3b5))
64
- - **transducers-patch:** import as new pkg ([274fde1](https://github.com/thi-ng/umbrella/commit/274fde1721d478d70d90c720a819361fbc8af836))
95
+ - update imports ([03f6ee8](https://github.com/thi-ng/umbrella/commit/03f6ee8))
96
+ - update PatchObjOp, update readme ([63328d6](https://github.com/thi-ng/umbrella/commit/63328d6))
package/README.md CHANGED
@@ -57,7 +57,7 @@ node --experimental-repl-await
57
57
  > const transducersPatch = await import("@thi.ng/transducers-patch");
58
58
  ```
59
59
 
60
- Package sizes (gzipped, pre-treeshake): ESM: 519 bytes
60
+ Package sizes (gzipped, pre-treeshake): ESM: 567 bytes
61
61
 
62
62
  ## Dependencies
63
63
 
package/package.json CHANGED
@@ -1,85 +1,90 @@
1
1
  {
2
- "name": "@thi.ng/transducers-patch",
3
- "version": "0.3.7",
4
- "description": "Reducers for patch-based, immutable-by-default array & object editing",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/transducers-patch",
3
+ "version": "0.4.2",
4
+ "description": "Reducers for patch-based, immutable-by-default array & object editing",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/transducers-patch#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/transducers-patch#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/api": "^8.3.2",
38
+ "@thi.ng/checks": "^3.1.2",
39
+ "@thi.ng/errors": "^2.1.2",
40
+ "@thi.ng/paths": "^5.1.2",
41
+ "@thi.ng/transducers": "^8.1.2"
42
+ },
43
+ "devDependencies": {
44
+ "@microsoft/api-extractor": "^7.18.19",
45
+ "@thi.ng/testament": "^0.2.2",
46
+ "rimraf": "^3.0.2",
47
+ "tools": "^0.0.1",
48
+ "typedoc": "^0.22.9",
49
+ "typescript": "^4.5.2"
50
+ },
51
+ "keywords": [
52
+ "array",
53
+ "diff",
54
+ "immutable",
55
+ "object",
56
+ "patch",
57
+ "transducer",
58
+ "typescript"
59
+ ],
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "engines": {
64
+ "node": ">=12.7"
65
+ },
66
+ "files": [
67
+ "*.js",
68
+ "*.d.ts"
69
+ ],
70
+ "exports": {
71
+ ".": {
72
+ "import": "./index.js"
35
73
  },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.1.0",
38
- "@thi.ng/checks": "^3.0.6",
39
- "@thi.ng/errors": "^2.0.6",
40
- "@thi.ng/paths": "^5.0.7",
41
- "@thi.ng/transducers": "^8.0.7"
74
+ "./api": {
75
+ "import": "./api.js"
42
76
  },
43
- "devDependencies": {
44
- "@thi.ng/testament": "^0.1.6"
77
+ "./patch-array": {
78
+ "import": "./patch-array.js"
45
79
  },
46
- "keywords": [
47
- "array",
48
- "diff",
49
- "immutable",
50
- "object",
51
- "patch",
52
- "transducer",
53
- "typescript"
54
- ],
55
- "publishConfig": {
56
- "access": "public"
57
- },
58
- "engines": {
59
- "node": ">=12.7"
60
- },
61
- "files": [
62
- "*.js",
63
- "*.d.ts"
64
- ],
65
- "exports": {
66
- ".": {
67
- "import": "./index.js"
68
- },
69
- "./api": {
70
- "import": "./api.js"
71
- },
72
- "./patch-array": {
73
- "import": "./patch-array.js"
74
- },
75
- "./patch-obj": {
76
- "import": "./patch-obj.js"
77
- }
78
- },
79
- "thi.ng": {
80
- "parent": "@thi.ng/transducers",
81
- "status": "alpha",
82
- "year": 2020
83
- },
84
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
85
- }
80
+ "./patch-obj": {
81
+ "import": "./patch-obj.js"
82
+ }
83
+ },
84
+ "thi.ng": {
85
+ "parent": "@thi.ng/transducers",
86
+ "status": "alpha",
87
+ "year": 2020
88
+ },
89
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
90
+ }