@jdeighan/coffee-utils 14.0.28 → 14.0.29

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jdeighan/coffee-utils",
3
3
  "type": "module",
4
- "version": "14.0.28",
4
+ "version": "14.0.29",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -49,13 +49,13 @@
49
49
  },
50
50
  "homepage": "https://github.com/johndeighan/coffee-utils#readme",
51
51
  "dependencies": {
52
- "@jdeighan/base-utils": "^4.0.13",
52
+ "@jdeighan/base-utils": "^4.0.14",
53
53
  "cross-env": "^7.0.3",
54
54
  "n-readlines": "^1.0.1",
55
55
  "readline-sync": "^1.4.10",
56
56
  "svelte": "^3.55.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@jdeighan/unit-tester": "^3.0.38"
59
+ "@jdeighan/unit-tester": "^3.0.39"
60
60
  }
61
61
  }
@@ -80,7 +80,7 @@ export class LocalStorageDataStore extends WritableDataStore
80
80
 
81
81
  export class PropsDataStore extends LocalStorageDataStore
82
82
 
83
- constructor: (masterKey) ->
83
+ constructor: (masterKey, defValue=undef) ->
84
84
  super masterKey, {}
85
85
 
86
86
  setProp: (name, value) ->
package/src/DataStores.js CHANGED
@@ -109,7 +109,7 @@ export var LocalStorageDataStore = class LocalStorageDataStore extends WritableD
109
109
 
110
110
  // ---------------------------------------------------------------------------
111
111
  export var PropsDataStore = class PropsDataStore extends LocalStorageDataStore {
112
- constructor(masterKey) {
112
+ constructor(masterKey, defValue = undef) {
113
113
  super(masterKey, {});
114
114
  }
115
115