@companieshouse/node-session-handler
Advanced tools
Comparing version 4.1.0 to 4.1.1
{ | ||
"name": "@companieshouse/node-session-handler", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Node.js session handler for Companies House", | ||
@@ -16,3 +16,3 @@ "main": "./lib/index.js", | ||
"analyse-code": "sonar-scanner", | ||
"prepublishOnly": "tsc", | ||
"prepublishOnly": "[ ! -d node_modules ] && npm install; tsc", | ||
"postpublish": "rm -rf lib" | ||
@@ -39,3 +39,3 @@ }, | ||
"@fluffy-spoon/substitute": "^1.145.0", | ||
"@types/chai": "^4.2.12", | ||
"@types/chai": "^4.2.13", | ||
"@types/cookie-parser": "^1.4.2", | ||
@@ -42,0 +42,0 @@ "@types/express": "^4.17.8", |
@@ -27,6 +27,6 @@ # node-session-handler | ||
Since build artifacts are stored in the repository (no NPM registry in used just yet) to bring this module as dependency please add the following fragment to `package.json`: | ||
To bring this module as dependency please add the following fragment to `package.json`: | ||
```$json | ||
"ch-node-session-handler": "git+ssh://git@github.com/companieshouse/node-session-handler.git#4.0.0" | ||
"@companieshouse/node-session-handler": "~4.1.0" | ||
``` | ||
@@ -95,7 +95,1 @@ | ||
Tests in turn can be run via `npm test` command. | ||
### Compiling and packaging | ||
At this point no NPM registry is in use and built packages are stored directly in the repository. | ||
For that reason every source code change should be compiled using `npm run build` command and build artifacts in `lib` directory should be committed alongside initial code change. |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
54229
94
1