fix(core): update
This commit is contained in:
		| @@ -36,6 +36,7 @@ auditProductionDependencies: | |||||||
|     - npmci command npm audit --audit-level=high --only=prod --production |     - npmci command npm audit --audit-level=high --only=prod --production | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|  |   allow_failure: true | ||||||
|  |  | ||||||
| auditDevDependencies: | auditDevDependencies: | ||||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci |   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||||
|   | |||||||
							
								
								
									
										24
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							| @@ -2,28 +2,10 @@ | |||||||
|   "version": "0.2.0", |   "version": "0.2.0", | ||||||
|   "configurations": [ |   "configurations": [ | ||||||
|     { |     { | ||||||
|       "name": "current file", |       "command": "npm test", | ||||||
|       "type": "node", |       "name": "Run npm test", | ||||||
|       "request": "launch", |       "request": "launch", | ||||||
|       "args": [ |       "type": "node-terminal" | ||||||
|         "${relativeFile}" |  | ||||||
|       ], |  | ||||||
|       "runtimeArgs": ["-r", "@gitzone/tsrun"], |  | ||||||
|       "cwd": "${workspaceRoot}", |  | ||||||
|       "protocol": "inspector", |  | ||||||
|       "internalConsoleOptions": "openOnSessionStart" |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "name": "test.ts", |  | ||||||
|       "type": "node", |  | ||||||
|       "request": "launch", |  | ||||||
|       "args": [ |  | ||||||
|         "test/test.ts" |  | ||||||
|       ], |  | ||||||
|       "runtimeArgs": ["-r", "@gitzone/tsrun"], |  | ||||||
|       "cwd": "${workspaceRoot}", |  | ||||||
|       "protocol": "inspector", |  | ||||||
|       "internalConsoleOptions": "openOnSessionStart" |  | ||||||
|     } |     } | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|   | |||||||
							
								
								
									
										21324
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										21324
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -13,16 +13,16 @@ | |||||||
|     "format": "(gitzone format)" |     "format": "(gitzone format)" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@gitzone/tsbuild": "^2.1.25", |     "@gitzone/tsbuild": "^2.1.27", | ||||||
|     "@gitzone/tstest": "^1.0.52", |     "@gitzone/tstest": "^1.0.57", | ||||||
|     "@pushrocks/tapbundle": "^3.2.14", |     "@pushrocks/tapbundle": "^3.2.14", | ||||||
|     "@types/node": "^14.14.31", |     "@types/node": "^16.9.6", | ||||||
|     "tslint": "^6.1.3", |     "tslint": "^6.1.3", | ||||||
|     "tslint-config-prettier": "^1.15.0" |     "tslint-config-prettier": "^1.15.0" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@pushrocks/smartcrypto": "^1.0.11", |     "@pushrocks/smartcrypto": "^1.0.11", | ||||||
|     "@types/jsonwebtoken": "^8.5.0", |     "@types/jsonwebtoken": "^8.5.5", | ||||||
|     "jsonwebtoken": "^8.5.1" |     "jsonwebtoken": "^8.5.1" | ||||||
|   }, |   }, | ||||||
|   "files": [ |   "files": [ | ||||||
|   | |||||||
| @@ -25,6 +25,10 @@ Platform support | [ or [contribute monthly](https://lossless.link/contribute). :) | ||||||
|  |  | ||||||
|  |  | ||||||
| ## Contribution | ## Contribution | ||||||
|  |  | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ tap.test('should not verify a wrong jwt', async () => { | |||||||
|   let error: Error; |   let error: Error; | ||||||
|   try { |   try { | ||||||
|     await smartjwtInstance.verifyJWTAndGetData(newJwt); |     await smartjwtInstance.verifyJWTAndGetData(newJwt); | ||||||
|   } catch (e) { |   } catch (e: any) { | ||||||
|     error = e; |     error = e; | ||||||
|   } |   } | ||||||
|   expect(error).to.be.instanceOf(Error); |   expect(error).to.be.instanceOf(Error); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user