@thi.ng/dynvar 0.3.3 → 0.3.4

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**: 2021-12-13T10:26:00Z
3
+ - **Last updated**: 2022-03-11T12:13:49Z
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
@@ -152,4 +152,4 @@ If this project contributes to an academic publication, please cite it as:
152
152
 
153
153
  ## License
154
154
 
155
- © 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
155
+ © 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
package/index.d.ts CHANGED
@@ -37,7 +37,7 @@ export declare class DynVar<T> implements IDeref<T>, IBind<T>, ICopy<DynVar<T>>
37
37
  * eventually followed by calls to {@link DynVar.unbind} to restore
38
38
  * this var's previously scoped value.
39
39
  *
40
- * @param val
40
+ * @param val -
41
41
  */
42
42
  bind(val: T): boolean;
43
43
  /**
@@ -49,7 +49,7 @@ export declare class DynVar<T> implements IDeref<T>, IBind<T>, ICopy<DynVar<T>>
49
49
  /**
50
50
  * Replaces current scope's value with new `val`.
51
51
  *
52
- * @param val
52
+ * @param val -
53
53
  */
54
54
  set(val: T): void;
55
55
  /**
@@ -57,8 +57,8 @@ export declare class DynVar<T> implements IDeref<T>, IBind<T>, ICopy<DynVar<T>>
57
57
  * `val` bound to this variable. The new scope is automatically
58
58
  * removed when the function returns or an error occurred.
59
59
  *
60
- * @param val
61
- * @param body
60
+ * @param val -
61
+ * @param body -
62
62
  */
63
63
  withBinding<R>(val: T, body: Fn0<R>): R;
64
64
  }
package/index.js CHANGED
@@ -50,7 +50,7 @@ export class DynVar {
50
50
  * eventually followed by calls to {@link DynVar.unbind} to restore
51
51
  * this var's previously scoped value.
52
52
  *
53
- * @param val
53
+ * @param val -
54
54
  */
55
55
  bind(val) {
56
56
  __private.get(this).push(val);
@@ -70,7 +70,7 @@ export class DynVar {
70
70
  /**
71
71
  * Replaces current scope's value with new `val`.
72
72
  *
73
- * @param val
73
+ * @param val -
74
74
  */
75
75
  set(val) {
76
76
  const v = __private.get(this);
@@ -81,8 +81,8 @@ export class DynVar {
81
81
  * `val` bound to this variable. The new scope is automatically
82
82
  * removed when the function returns or an error occurred.
83
83
  *
84
- * @param val
85
- * @param body
84
+ * @param val -
85
+ * @param body -
86
86
  */
87
87
  withBinding(val, body) {
88
88
  this.bind(val);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/dynvar",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Dynamically scoped variable bindings",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,16 +34,16 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.3",
38
- "@thi.ng/errors": "^2.1.3"
37
+ "@thi.ng/api": "^8.3.4",
38
+ "@thi.ng/errors": "^2.1.4"
39
39
  },
40
40
  "devDependencies": {
41
- "@microsoft/api-extractor": "^7.19.2",
42
- "@thi.ng/testament": "^0.2.3",
41
+ "@microsoft/api-extractor": "^7.19.4",
42
+ "@thi.ng/testament": "^0.2.4",
43
43
  "rimraf": "^3.0.2",
44
44
  "tools": "^0.0.1",
45
- "typedoc": "^0.22.10",
46
- "typescript": "^4.5.3"
45
+ "typedoc": "^0.22.13",
46
+ "typescript": "^4.6.2"
47
47
  },
48
48
  "keywords": [
49
49
  "clojure",
@@ -77,5 +77,5 @@
77
77
  "year": 2016,
78
78
  "status": "alpha"
79
79
  },
80
- "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
80
+ "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
81
81
  }