cassproject 1.5.22 → 1.5.23
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
|
@@ -38,8 +38,6 @@ Development unit tests presume you have a CaSS Repository running on `localhost:
|
|
|
38
38
|
* Review dependencies, autocomplete version numbers to latest versions.
|
|
39
39
|
* Increment version number in package.json and yuidoc.json.
|
|
40
40
|
* Update changelog.
|
|
41
|
-
* Update documentation, `npm run docs`
|
|
42
|
-
* Delete yuidocs from package.json, delete package-lock.json.
|
|
43
41
|
* `npm install`
|
|
44
42
|
* `npm test` - Must not fail any tests.
|
|
45
43
|
* Document code coverage output by the previous step.
|
|
@@ -49,6 +47,9 @@ Development unit tests presume you have a CaSS Repository running on `localhost:
|
|
|
49
47
|
|
|
50
48
|
# Changelog
|
|
51
49
|
|
|
50
|
+
## 1.5.23
|
|
51
|
+
* Fixed issue that was preventing use of webcrypto module.
|
|
52
|
+
|
|
52
53
|
## 1.5.22
|
|
53
54
|
* Code cleanup
|
|
54
55
|
* Better certificate authority support by setting global.ca
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cassproject",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.23",
|
|
4
4
|
"description": "Competency and Skills Service",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"multitest": "concurrently --kill-others --kill-others-on-fail \"npm run test15\" \"npm run test14\" \"npm run test13\" \"npm run test12\"",
|
|
10
10
|
"testCassTest": "npm run testkill && docker run -d --name cass-test -p80:80 -e CASS_LOOPBACK cass-test && wait-on http://localhost/api/ping && npm run testNode18 && npm run testNode18Fips && npm run testNode16 && npm run testNode15 && npm run testNode14 && npm run testNode13 && npm run testNode12 && npm run testCypressEdge && npm run testCypress && npm run testkill",
|
|
11
11
|
"testDevHttps": "npm run testkill && docker run -d --name cass-test -p443:80 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:dev && wait-on https://localhost/api/ping && npm run testNode18HttpsFips && npm run testNode18Https && npm run testNode16Https && npm run testNode15Https && npm run testNode14Https && npm run testNode13Https && npm run testNode12Https && npm run testCypressEdgeHttps && npm run testCypressHttps",
|
|
12
|
-
"test15Https": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:1.5.
|
|
13
|
-
"test15Https11": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true -e HTTP2=false cassproject/cass:1.5.
|
|
14
|
-
"test15": "export CASS_LOOPBACK=http://localhost/api/|| set CASS_LOOPBACK=http://localhost/api/&& npm run testkill15 && docker run -d -e CASS_LOOPBACK --name cass-test15 -p80:80 cassproject/cass:1.5.
|
|
12
|
+
"test15Https": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:1.5.22 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode18HttpsFips\" \"npm run testNode18Https\" \"npm run testNode16Https\" && npm run testkill",
|
|
13
|
+
"test15Https11": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true -e HTTP2=false cassproject/cass:1.5.22 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode18HttpsFips\" \"npm run testNode18Https\" \"npm run testNode16Https\" && npm run testkill",
|
|
14
|
+
"test15": "export CASS_LOOPBACK=http://localhost/api/|| set CASS_LOOPBACK=http://localhost/api/&& npm run testkill15 && docker run -d -e CASS_LOOPBACK --name cass-test15 -p80:80 cassproject/cass:1.5.22 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode18\" \"npm run testNode18Fips\" \"npm run testNode16\" && npm run testkill15",
|
|
15
15
|
"test14": "npm run testkill14 && docker run -d -e CASS_LOOPBACK --name cass-test14 -p80:80 cassproject/cass:1.4.4 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill14",
|
|
16
16
|
"test13": "npm run testkill13 && docker run -d -e CASS_LOOPBACK --name cass-test13 -p80:80 cassproject/cass:1.3.18 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill13",
|
|
17
17
|
"test12": "npm run testkill12 && docker run -d -e CASS_LOOPBACK --name cass-test12 -p80:80 cassproject/cass:1.2.44 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill12",
|
|
@@ -135,8 +135,8 @@
|
|
|
135
135
|
"chai": "^4.3.7",
|
|
136
136
|
"concurrently": "^7.6.0",
|
|
137
137
|
"convert-hrtime": "^5.0.0",
|
|
138
|
-
"cypress": "^12.
|
|
139
|
-
"eslint": "^8.
|
|
138
|
+
"cypress": "^12.5.0",
|
|
139
|
+
"eslint": "^8.33.0",
|
|
140
140
|
"mocha": "^10.2.0",
|
|
141
141
|
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
142
142
|
"nodemon": "^2.0.20",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
let base64 = require("base64-arraybuffer");
|
|
2
2
|
let forge = require("node-forge");
|
|
3
3
|
require("../../../../org/cassproject/general/AuditLogger.js");
|
|
4
|
-
let crypto = null;
|
|
5
4
|
if (typeof crypto == 'undefined')
|
|
6
5
|
{
|
|
7
6
|
if (typeof window !== 'undefined' && window != null && window !== undefined)
|