cassproject 1.5.52 → 1.5.54
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/README.md
CHANGED
|
@@ -49,6 +49,12 @@ Development unit tests presume you have a CaSS Repository running on `localhost:
|
|
|
49
49
|
|
|
50
50
|
# Changelog
|
|
51
51
|
|
|
52
|
+
## 1.5.54
|
|
53
|
+
* Fix bug in EcRepository.precache where a promise was not being returned.
|
|
54
|
+
|
|
55
|
+
## 1.5.53
|
|
56
|
+
* EcRepository precache no longer fails to invoke success/failure on precache with cached values.
|
|
57
|
+
|
|
52
58
|
## 1.5.52
|
|
53
59
|
* Fixed bug in EcRepository.deleteRegistered with owned objects -- ReferenceError.
|
|
54
60
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cassproject",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.54",
|
|
4
4
|
"description": "Competency and Skills Service",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"chai": "^4.4.1",
|
|
150
150
|
"concurrently": "^8.2.2",
|
|
151
151
|
"convert-hrtime": "^5.0.0",
|
|
152
|
-
"cypress": "^13.7.
|
|
152
|
+
"cypress": "^13.7.3",
|
|
153
153
|
"eslint": "^8.57.0",
|
|
154
154
|
"mocha": "^10.4.0",
|
|
155
155
|
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
@@ -996,7 +996,7 @@ module.exports = class EcRepository {
|
|
|
996
996
|
if (EcRepository.caching == true)
|
|
997
997
|
urls = urls.filter(url => EcRepository.cache[url] === undefined);
|
|
998
998
|
if (urls.length == 0) {
|
|
999
|
-
return
|
|
999
|
+
return cassPromisify(originals.map(url => EcRepository.cache[url]).filter(x => x), success, failure);
|
|
1000
1000
|
}
|
|
1001
1001
|
let fd = new FormData();
|
|
1002
1002
|
fd.append("data", JSON.stringify(urls));
|
|
@@ -1036,7 +1036,7 @@ module.exports = class EcRepository {
|
|
|
1036
1036
|
] = d;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
return originals.map(url=>EcRepository.cache[url]).filter(x=>x);
|
|
1039
|
+
return cassPromisify(originals.map(url=>EcRepository.cache[url]).filter(x=>x), success, failure);
|
|
1040
1040
|
});
|
|
1041
1041
|
return cassPromisify(p, success, failure);
|
|
1042
1042
|
};
|