@bigid/apps-infrastructure-node-js 1.197.1 → 1.213.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.
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
12
  - uses: actions/checkout@v2.1.1
13
- - run: npm i
13
+ - run: npm i --registry https://registry.npmjs.org
14
14
  - run: tsc
15
15
  - run: npm run test
16
16
  - run: npm publish --userconfig .github/workflows/npmjs_config
@@ -52,10 +52,10 @@ const getTokenByUsernameAndPassword = (username, password) => __awaiter(void 0,
52
52
  });
53
53
  exports.getTokenByUsernameAndPassword = getTokenByUsernameAndPassword;
54
54
  const getAuth0Token = () => __awaiter(void 0, void 0, void 0, function* () {
55
- var _f;
55
+ var _a;
56
56
  if (canUseLocalToken(auth0Token))
57
57
  return auth0Token;
58
- const auth0Domain = (_f = process.env.AUTH0_DOMAIN) === null || _f === void 0 ? void 0 : _f.replace(/\/$/, '');
58
+ const auth0Domain = (_a = process.env.AUTH0_DOMAIN) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '');
59
59
  const { data: { access_token }, } = yield axios_1.default.post(`${auth0Domain}/oauth/token`, auth0Payload);
60
60
  auth0Token = access_token;
61
61
  return access_token;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigid/apps-infrastructure-node-js",
3
- "version": "1.197.1",
3
+ "version": "1.213.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -26,17 +26,18 @@
26
26
  "eslint-config-prettier": "^6.15.0",
27
27
  "eslint-plugin-no-only-tests": "2.4.0",
28
28
  "eslint-plugin-prettier": "^3.1.4",
29
- "prettier": "^2.4.1",
30
29
  "jsdoc": "4.0.2",
30
+ "prettier": "^2.4.1",
31
31
  "typescript": "^4.5.2"
32
32
  },
33
33
  "dependencies": {
34
- "axios": "1.6.0",
35
- "express": "4.17.3",
36
- "follow-redirects": "1.15.2",
34
+ "axios": "1.7.4",
35
+ "express": "4.21.0",
36
+ "follow-redirects": "1.15.6",
37
37
  "form-data": "^4.0.0",
38
38
  "http-errors": "^1.8.1",
39
39
  "log4js": "^6.4.0",
40
+ "minimatch": "3.0.5",
40
41
  "mocha": "10.2.0",
41
42
  "node-schedule": "2.1.1",
42
43
  "ts-node": "10.9.1"