notifications-node-client 5.2.3 → 6.0.0
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/CHANGELOG.md +5 -0
- package/package.json +6 -2
- package/docker/Dockerfile +0 -20
- package/docker/Makefile +0 -16
- package/docker/etc/apt/sources.list +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 6.0.0 - 2022-12-22
|
|
2
|
+
|
|
3
|
+
* Bump jsonwebtokens from 8.5.1 to 9.0.0 to mitigate CVE-2022-23529. We don't believe this CVE affects any use-cases of notifications-node-client; this update is out of best-practice rather than any direct concern.
|
|
4
|
+
* Remove support for node versions below v12.
|
|
5
|
+
|
|
1
6
|
## 5.2.3 - 2022-11-22
|
|
2
7
|
|
|
3
8
|
* Bump follow-redirects from 1.14.7 to 1.15.2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notifications-node-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"homepage": "https://docs.notifications.service.gov.uk/node.html",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,10 +13,14 @@
|
|
|
13
13
|
"test:markdown:standard": "standard-markdown DOCUMENTATION.md",
|
|
14
14
|
"integration": "mocha spec/integration/test.js"
|
|
15
15
|
},
|
|
16
|
+
"engines": {
|
|
17
|
+
"npm": ">=6.12.0",
|
|
18
|
+
"node": ">=12.13.0"
|
|
19
|
+
},
|
|
16
20
|
"author": "GDS developers",
|
|
17
21
|
"license": "MIT",
|
|
18
22
|
"dependencies": {
|
|
19
|
-
"jsonwebtoken": "^
|
|
23
|
+
"jsonwebtoken": "^9.0.0",
|
|
20
24
|
"axios": "^0.25.0"
|
|
21
25
|
},
|
|
22
26
|
"devDependencies": {
|
package/docker/Dockerfile
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
FROM node:6.5.0-slim
|
|
2
|
-
|
|
3
|
-
ARG HTTP_PROXY
|
|
4
|
-
ARG HTTPS_PROXY
|
|
5
|
-
ARG NO_PROXY
|
|
6
|
-
|
|
7
|
-
ENV DEBIAN_FRONTEND=noninteractive
|
|
8
|
-
|
|
9
|
-
COPY etc/apt/sources.list /etc/apt/sources.list
|
|
10
|
-
|
|
11
|
-
RUN \
|
|
12
|
-
echo "Install base packages" \
|
|
13
|
-
&& ([ -z "$HTTP_PROXY" ] || echo "Acquire::http::Proxy \"${HTTP_PROXY}\";" > /etc/apt/apt.conf.d/99HttpProxy) \
|
|
14
|
-
&& apt-get update \
|
|
15
|
-
&& apt-get install -y --no-install-recommends \
|
|
16
|
-
make \
|
|
17
|
-
&& echo "Clean up" \
|
|
18
|
-
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
|
19
|
-
|
|
20
|
-
WORKDIR /var/project
|
package/docker/Makefile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
.DEFAULT_GOAL := help
|
|
2
|
-
SHELL := /bin/bash
|
|
3
|
-
|
|
4
|
-
.PHONY: help
|
|
5
|
-
help:
|
|
6
|
-
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
7
|
-
|
|
8
|
-
.PHONY: build
|
|
9
|
-
build:
|
|
10
|
-
docker pull `grep "FROM " Dockerfile | cut -d ' ' -f 2` || true
|
|
11
|
-
docker build \
|
|
12
|
-
--build-arg HTTP_PROXY="${HTTP_PROXY}" \
|
|
13
|
-
--build-arg HTTPS_PROXY="${HTTP_PROXY}" \
|
|
14
|
-
--build-arg NO_PROXY="${NO_PROXY}" \
|
|
15
|
-
-t govuk/notify-nodejs-client-runner \
|
|
16
|
-
.
|