@autofleet/node-common 1.6.0 → 1.6.1

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.
@@ -0,0 +1,10 @@
1
+ version: 1
2
+ update_configs:
3
+ - package_manager: "javascript"
4
+ directory: "/"
5
+ update_schedule: "daily"
6
+ allowed_updates:
7
+ - match:
8
+ dependency_name: "@autofleet/*"
9
+ - match:
10
+ update_type: "security"
@@ -0,0 +1,37 @@
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name: Node.js Package
5
+
6
+ on:
7
+ push:
8
+ branches: [ master ]
9
+
10
+ jobs:
11
+ npm-test:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: actions/setup-node@v1
16
+ with:
17
+ node-version: 12
18
+ registry-url: https://registry.npmjs.org/
19
+ - run: npm ci
20
+ - run: npm run linter
21
+ - run: npm run coverage
22
+ - run: rm -rf ./coverage
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
25
+
26
+ publish-npm:
27
+ needs: npm-test
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v2
31
+ - uses: actions/setup-node@v1
32
+ with:
33
+ node-version: 12
34
+ registry-url: https://registry.npmjs.org/
35
+ - run: npm publish
36
+ env:
37
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/node-common",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "coverage": "jest --coverage --forceExit --runInBand",
@@ -37,7 +37,6 @@
37
37
  "portfinder": "^1.0.13",
38
38
  "qs": "^6.5.2",
39
39
  "timekeeper": "^2.1.2",
40
- "weak": "^1.0.1",
41
40
  "winston": "^3.0.0",
42
41
  "ws": "^5.2.1"
43
42
  },
package/settings/index.js CHANGED
@@ -2,7 +2,7 @@ const EventEmitter = require('events');
2
2
  const NodeCache = require('node-cache');
3
3
  const Network = require('../network');
4
4
  const Logger = require('../logger');
5
- const keysMap = require('./map');
5
+ // const keysMap = require('./map');
6
6
 
7
7
  const util = require('util');
8
8