@thi.ng/rstream-csp 3.0.8 → 3.1.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 +77 -32
  2. package/README.md +1 -1
  3. package/package.json +77 -72
package/CHANGELOG.md CHANGED
@@ -1,69 +1,114 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
+
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
11
+
12
+ ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@3.1.0) (2021-11-17)
13
+
14
+ #### 🚀 Features
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
5
21
 
6
- ## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@3.0.7...@thi.ng/rstream-csp@3.0.8) (2021-11-03)
22
+ #### ♻️ Refactoring
7
23
 
8
- **Note:** Version bump only for package @thi.ng/rstream-csp
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.
9
30
 
31
+ ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@3.0.1) (2021-10-13)
10
32
 
33
+ #### ♻️ Refactoring
11
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
12
36
 
37
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@3.0.0) (2021-10-12)
13
38
 
14
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@2.0.80...@thi.ng/rstream-csp@3.0.0) (2021-10-12)
39
+ #### 🛑 Breaking changes
15
40
 
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
16
53
 
17
- ### Build System
54
+ #### ♻️ Refactoring
18
55
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
56
+ - minor pkg restructure ([103f1ba](https://github.com/thi-ng/umbrella/commit/103f1ba))
57
+ - update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
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)
20
61
 
62
+ ### [2.0.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@2.0.45) (2020-12-07)
21
63
 
22
- ### BREAKING CHANGES
64
+ #### ♻️ Refactoring
23
65
 
24
- * discontinue CommonJS & UMD versions
66
+ - update type-only imports ([615761b](https://github.com/thi-ng/umbrella/commit/615761b))
67
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
25
68
 
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
69
+ ### [2.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@2.0.3) (2020-02-25)
32
70
 
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
71
+ #### ♻️ Refactoring
37
72
 
73
+ - update imports ([4001d12](https://github.com/thi-ng/umbrella/commit/4001d12))
38
74
 
75
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@2.0.0) (2019-11-30)
39
76
 
77
+ #### 🛑 Breaking changes
40
78
 
79
+ - use options object arg ([b39f4d0](https://github.com/thi-ng/umbrella/commit/b39f4d0))
80
+ - BREAKING CHANGE: use options object arg for fromChannel()
41
81
 
82
+ ### [1.0.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@1.0.31) (2019-08-21)
42
83
 
43
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.33...@thi.ng/rstream-csp@2.0.0) (2019-11-30)
84
+ #### ♻️ Refactoring
44
85
 
45
- ### Code Refactoring
86
+ - update to new rstream api ([9d05f4e](https://github.com/thi-ng/umbrella/commit/9d05f4e))
46
87
 
47
- - **rstream-csp:** use options object arg ([b39f4d0](https://github.com/thi-ng/umbrella/commit/b39f4d023fdb90d5ad095b2e50d76e69c2b50843))
88
+ ### [1.0.24](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@1.0.24) (2019-04-24)
48
89
 
49
- ### BREAKING CHANGES
90
+ #### ♻️ Refactoring
50
91
 
51
- - **rstream-csp:** use options object arg for fromChannel()
92
+ - replace DEBUG w/ LOGGER impl ([8a87bd0](https://github.com/thi-ng/umbrella/commit/8a87bd0))
52
93
 
53
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@0.1.125...@thi.ng/rstream-csp@1.0.0) (2019-01-21)
94
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@1.0.0) (2019-01-21)
54
95
 
55
- ### Build System
96
+ #### 🛑 Breaking changes
56
97
 
57
98
  - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
99
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
100
+ - build scripts now first build ES6 modules in package root, then call
101
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
102
+ - all imports MUST be updated to only refer to package level
103
+ (not individual files anymore). tree shaking in user land will get rid of
104
+ all unused imported symbols
58
105
 
59
- ### BREAKING CHANGES
106
+ #### ♻️ Refactoring
60
107
 
61
- - enable multi-outputs (ES6 modules, CJS, UMD)
62
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
63
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
108
+ - use arrow fns ([762db4e](https://github.com/thi-ng/umbrella/commit/762db4e))
64
109
 
65
- # 0.1.0 (2018-01-28)
110
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-csp@0.1.0) (2018-01-28)
66
111
 
67
- ### Features
112
+ #### 🚀 Features
68
113
 
69
- - **rstream-csp:** add new package, remove CSP dep from rstream ([e37f6a1](https://github.com/thi-ng/umbrella/commit/e37f6a1))
114
+ - add new package, remove CSP dep from rstream ([e37f6a1](https://github.com/thi-ng/umbrella/commit/e37f6a1))
package/README.md CHANGED
@@ -59,7 +59,7 @@ node --experimental-repl-await
59
59
  > const rstreamCsp = await import("@thi.ng/rstream-csp");
60
60
  ```
61
61
 
62
- Package sizes (gzipped, pre-treeshake): ESM: 268 bytes
62
+ Package sizes (gzipped, pre-treeshake): ESM: 277 bytes
63
63
 
64
64
  ## Dependencies
65
65
 
package/package.json CHANGED
@@ -1,75 +1,80 @@
1
1
  {
2
- "name": "@thi.ng/rstream-csp",
3
- "version": "3.0.8",
4
- "description": "@thi.ng/csp bridge module for @thi.ng/rstream",
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/rstream-csp",
3
+ "version": "3.1.2",
4
+ "description": "@thi.ng/csp bridge module for @thi.ng/rstream",
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/rstream-csp#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/rstream-csp#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
- }
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/csp": "^2.1.2",
38
+ "@thi.ng/rstream": "^7.2.0"
39
+ },
40
+ "devDependencies": {
41
+ "@microsoft/api-extractor": "^7.18.19",
42
+ "@thi.ng/testament": "^0.2.2",
43
+ "rimraf": "^3.0.2",
44
+ "tools": "^0.0.1",
45
+ "typedoc": "^0.22.9",
46
+ "typescript": "^4.5.2"
47
+ },
48
+ "keywords": [
49
+ "async",
50
+ "csp",
51
+ "reactive",
52
+ "rstream",
53
+ "stream",
54
+ "typescript"
55
+ ],
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "engines": {
60
+ "node": ">=12.7"
61
+ },
62
+ "files": [
63
+ "*.js",
64
+ "*.d.ts"
65
+ ],
66
+ "exports": {
67
+ ".": {
68
+ "import": "./index.js"
69
+ }
70
+ },
71
+ "thi.ng": {
72
+ "parent": "@thi.ng/rstream",
73
+ "related": [
74
+ "csp",
75
+ "rstream"
23
76
  ],
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"
35
- },
36
- "dependencies": {
37
- "@thi.ng/csp": "^2.0.8",
38
- "@thi.ng/rstream": "^7.0.8"
39
- },
40
- "devDependencies": {
41
- "@thi.ng/testament": "^0.1.6"
42
- },
43
- "keywords": [
44
- "async",
45
- "csp",
46
- "reactive",
47
- "rstream",
48
- "stream",
49
- "typescript"
50
- ],
51
- "publishConfig": {
52
- "access": "public"
53
- },
54
- "engines": {
55
- "node": ">=12.7"
56
- },
57
- "files": [
58
- "*.js",
59
- "*.d.ts"
60
- ],
61
- "exports": {
62
- ".": {
63
- "import": "./index.js"
64
- }
65
- },
66
- "thi.ng": {
67
- "parent": "@thi.ng/rstream",
68
- "related": [
69
- "csp",
70
- "rstream"
71
- ],
72
- "year": 2018
73
- },
74
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
75
- }
77
+ "year": 2018
78
+ },
79
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
80
+ }