influx 5.9.2 → 5.9.5

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.
@@ -8,10 +8,10 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
 
10
10
  steps:
11
- - uses: actions/checkout@v2
11
+ - uses: actions/checkout@v3
12
12
 
13
13
  - name: Prettier
14
- uses: creyD/prettier_action@v3.3
14
+ uses: creyD/prettier_action@v4.3
15
15
  with:
16
16
  prettier_options: --write **/*.{tsx,ts,md}
17
17
  commit_message: "style: prettier code"
@@ -21,11 +21,11 @@ jobs:
21
21
  test-browser:
22
22
  name: "Testing Browser"
23
23
 
24
- runs-on: ubuntu-latest
24
+ runs-on: ubuntu-22.04
25
25
 
26
26
  steps:
27
27
  - name: Checkout
28
- uses: actions/checkout@v2
28
+ uses: actions/checkout@v3
29
29
 
30
30
  - name: Reconfigure Git to use HTTP authentication
31
31
  run: >
@@ -33,9 +33,9 @@ jobs:
33
33
  ssh://git@github.com/
34
34
 
35
35
  - name: Setup Node.js
36
- uses: actions/setup-node@v2
36
+ uses: actions/setup-node@v3
37
37
  with:
38
- node-version: "14"
38
+ node-version: "16"
39
39
 
40
40
  - name: Install depencencies
41
41
  run: npm ci
@@ -52,12 +52,14 @@ jobs:
52
52
  runs-on: ubuntu-latest
53
53
 
54
54
  strategy:
55
+ fail-fast: false
56
+
55
57
  matrix:
56
- node: ["10", "12", "14", "15"]
58
+ node: ["16", "17", "18", "19"]
57
59
 
58
60
  steps:
59
61
  - name: Checkout
60
- uses: actions/checkout@v2
62
+ uses: actions/checkout@v3
61
63
 
62
64
  - name: Reconfigure Git to use HTTP authentication
63
65
  run: >
@@ -65,7 +67,7 @@ jobs:
65
67
  ssh://git@github.com/
66
68
 
67
69
  - name: Setup node ${{ matrix.node }}
68
- uses: actions/setup-node@v2
70
+ uses: actions/setup-node@v3
69
71
  with:
70
72
  node-version: ${{ matrix.node }}
71
73
 
@@ -79,6 +81,17 @@ jobs:
79
81
  run: npm run test:ci
80
82
 
81
83
  - name: Coveralls GitHub Action
82
- uses: coverallsapp/github-action@v1.1.2
84
+ uses: coverallsapp/github-action@1.1.3
83
85
  with:
84
86
  github-token: ${{ secrets.GITHUB_TOKEN }}
87
+ parallel: true
88
+
89
+
90
+ finish:
91
+ needs: test-node
92
+ runs-on: ubuntu-latest
93
+ steps:
94
+ - name: Close parallel build
95
+ uses: coverallsapp/github-action@v1
96
+ with:
97
+ parallel-finished: true
@@ -2,29 +2,35 @@ name: Release
2
2
  on:
3
3
  push:
4
4
  branches:
5
- - master
5
+ - master # or main
6
+
7
+ permissions:
8
+ contents: read # for checkout
9
+
6
10
  jobs:
7
11
  release:
8
12
  name: Release
9
- runs-on: ubuntu-18.04
10
- if: github.repository == 'node-influx/node-influx'
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: write # to be able to publish a GitHub release
16
+ issues: write # to be able to comment on released issues
17
+ pull-requests: write # to be able to comment on released pull requests
18
+ id-token: write # to enable use of OIDC for npm provenance
11
19
  steps:
12
20
  - name: Checkout
13
- uses: actions/checkout@v2
21
+ uses: actions/checkout@v4
14
22
  with:
15
23
  fetch-depth: 0
16
- - name: Reconfigure Git to use HTTP authentication
17
- run: >
18
- git config --global url."https://github.com/".insteadOf
19
- ssh://git@github.com/
20
24
  - name: Setup Node.js
21
- uses: actions/setup-node@v2
25
+ uses: actions/setup-node@v4
22
26
  with:
23
- node-version: 14
27
+ node-version: "lts/*"
24
28
  - name: Install dependencies
25
- run: npm ci
29
+ run: npm clean-install
30
+ - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
31
+ run: npm audit signatures
26
32
  - name: Release
27
33
  env:
28
34
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
35
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30
- run: npm run clean && npm run build:dist && npx semantic-release
36
+ run: npx semantic-release
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  <p align="center">
12
12
  <a href="https://github.com/node-influx/node-influx/actions">
13
- <img src="https://img.shields.io/github/workflow/status/node-influx/node-influx/CI/master?style=flat-square"
13
+ <img src="https://img.shields.io/github/actions/workflow/status/node-influx/node-influx/CI.yml?branch=master&style=flat-square"
14
14
  alt="CI Status">
15
15
  </a>
16
16
  <a href="">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "influx",
3
- "version": "5.9.2",
3
+ "version": "5.9.5",
4
4
  "description": "InfluxDB Client",
5
5
  "main": "./lib/src/index.js",
6
6
  "typings": "./lib/src/index",
@@ -41,13 +41,13 @@
41
41
  "license": "MIT",
42
42
  "devDependencies": {
43
43
  "@types/chai": "^4.2.11",
44
- "@types/freeport": "1.0.21",
45
- "@types/mocha": "^8.0.0",
46
- "@types/node": "^14.0.24",
44
+ "@types/freeport": "1.0.22",
45
+ "@types/mocha": "^10.0.0",
46
+ "@types/node": "^18.0.0",
47
47
  "@types/sinon": "^10.0.0",
48
48
  "@types/sinon-chai": "^3.2.4",
49
49
  "awesome-typescript-loader": "5.2.1",
50
- "chai": "4.3.4",
50
+ "chai": "4.3.7",
51
51
  "coveralls": "^3.1.0",
52
52
  "esdoc": "1.1.0",
53
53
  "esdoc-standard-plugin": "1.0.0",
@@ -61,14 +61,14 @@
61
61
  "karma-sourcemap-loader": "0.3.8",
62
62
  "karma-webpack": "^5.0.0-alpha.5",
63
63
  "lodash": "4.17.21",
64
- "mocha": "^8.2.1",
65
- "node-fetch": "2.6.1",
64
+ "mocha": "^10.0.0",
65
+ "node-fetch": "3.3.0",
66
66
  "npm-run-all": "4.1.5",
67
- "open-cli": "^6.0.1",
67
+ "open-cli": "^7.0.0",
68
68
  "prettier": "^2.3.0",
69
- "puppeteer": "^10.0.0",
70
- "semantic-release": "^17.4.2",
71
- "sinon": "^11.0.0",
69
+ "puppeteer": "^19.0.0",
70
+ "semantic-release": "^20.0.0",
71
+ "sinon": "^15.0.0",
72
72
  "sinon-chai": "^3.5.0",
73
73
  "stream-http": "github:node-influx/stream-http",
74
74
  "ts-node": "^10.0.0",
package/renovate.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "extends": ["config:base", ":preserveSemverRanges"]
2
+ "extends": ["config:base", ":preserveSemverRanges", ":disableDependencyDashboard"]
3
3
  }