@thi.ng/csp 2.1.51 → 2.1.53

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,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-06-14T07:58:51Z
3
+ - **Last updated**: 2023-08-10T12:16:43Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
+ <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
2
3
 
3
- # ![@thi.ng/csp](https://media.thi.ng/umbrella/banners-20220914/thing-csp.svg?dd2a4b97)
4
+ # ![@thi.ng/csp](https://media.thi.ng/umbrella/banners-20230807/thing-csp.svg?dd2a4b97)
4
5
 
5
6
  [![npm version](https://img.shields.io/npm/v/@thi.ng/csp.svg)](https://www.npmjs.com/package/@thi.ng/csp)
6
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/csp.svg)
@@ -47,9 +48,11 @@ ES6 promise based CSP primitives & operations.
47
48
 
48
49
  [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bcsp%5D+in%3Atitle)
49
50
 
50
- This package might possibly become deprecated soon. See
51
- [@thi.ng/rstream](https://github.com/thi-ng/umbrella/tree/develop/packages/rstream)
52
- for a similar, but alternative (and actively maintained) approach.
51
+ This package is deprecated. Please see the following actively maintained
52
+ alternatives providing similar functionality:
53
+
54
+ - [@thi.ng/fibers](https://github.com/thi-ng/umbrella/tree/develop/packages/fibers)
55
+ - [@thi.ng/rstream](https://github.com/thi-ng/umbrella/tree/develop/packages/rstream)
53
56
 
54
57
  ## Related packages
55
58
 
@@ -75,7 +78,7 @@ For Node.js REPL:
75
78
  const csp = await import("@thi.ng/csp");
76
79
  ```
77
80
 
78
- Package sizes (brotli'd, pre-treeshake): ESM: 2.48 KB
81
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.50 KB
79
82
 
80
83
  ## Dependencies
81
84
 
package/channel.d.ts CHANGED
@@ -115,7 +115,7 @@ export declare class Channel<T> implements IReadWriteableChannel<T> {
115
115
  protected buf: IBuffer<T>;
116
116
  protected tx: Reducer<DCons<T>, T>;
117
117
  protected writes: DCons<ChannelItem<T>>;
118
- protected reads: DCons<(x: T) => void>;
118
+ protected reads: DCons<Fn<T, void>>;
119
119
  protected txbuf: DCons<T>;
120
120
  protected isBusy: boolean;
121
121
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/csp",
3
- "version": "2.1.51",
3
+ "version": "2.1.53",
4
4
  "description": "ES6 promise based CSP primitives & operations",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -38,20 +38,20 @@
38
38
  "testnode": "tsc -p test && node build/test/node.js"
39
39
  },
40
40
  "dependencies": {
41
- "@thi.ng/api": "^8.8.2",
42
- "@thi.ng/arrays": "^2.5.14",
43
- "@thi.ng/checks": "^3.3.14",
44
- "@thi.ng/dcons": "^3.2.46",
45
- "@thi.ng/errors": "^2.2.17",
46
- "@thi.ng/transducers": "^8.4.7"
41
+ "@thi.ng/api": "^8.9.1",
42
+ "@thi.ng/arrays": "^2.5.16",
43
+ "@thi.ng/checks": "^3.4.1",
44
+ "@thi.ng/dcons": "^3.2.48",
45
+ "@thi.ng/errors": "^2.3.1",
46
+ "@thi.ng/transducers": "^8.5.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@microsoft/api-extractor": "^7.35.3",
50
- "@thi.ng/testament": "^0.3.17",
49
+ "@microsoft/api-extractor": "^7.36.3",
50
+ "@thi.ng/testament": "^0.3.19",
51
51
  "rimraf": "^5.0.1",
52
52
  "tools": "^0.0.1",
53
53
  "typedoc": "^0.24.8",
54
- "typescript": "^5.1.3"
54
+ "typescript": "^5.1.6"
55
55
  },
56
56
  "keywords": [
57
57
  "async",
@@ -102,5 +102,5 @@
102
102
  "status": "deprecated",
103
103
  "year": 2016
104
104
  },
105
- "gitHead": "88cfe77770f3b07c788301dccefcb9547cd4aff6\n"
105
+ "gitHead": "672fb5ede530598da51c9d1cee48fe58c23bad34\n"
106
106
  }