@nsshunt/stsutils 1.3.22 → 1.3.26

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 @@ updates:
10
10
  - package-ecosystem: "npm" # See documentation for possible values
11
11
  directory: "/" # Location of package manifests
12
12
  schedule:
13
- interval: "daily"
13
+ interval: "weekly"
14
14
 
15
15
  - package-ecosystem: "github-actions"
16
16
  # Workflow files stored in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsutils",
3
- "version": "1.3.22",
3
+ "version": "1.3.26",
4
4
  "description": "",
5
5
  "main": "stsutils.js",
6
6
  "scripts": {
@@ -22,17 +22,17 @@
22
22
  "parser": "@babel/eslint-parser"
23
23
  },
24
24
  "devDependencies": {
25
- "@babel/core": "^7.15.8",
26
- "@babel/eslint-parser": "^7.15.8",
27
- "@babel/plugin-proposal-class-properties": "^7.14.5",
28
- "@babel/plugin-proposal-private-methods": "^7.14.5",
29
- "eslint": "^8.1.0",
30
- "jest": "^27.3.1"
25
+ "@babel/core": "^7.16.0",
26
+ "@babel/eslint-parser": "^7.16.3",
27
+ "@babel/plugin-proposal-class-properties": "^7.16.0",
28
+ "@babel/plugin-proposal-private-methods": "^7.16.0",
29
+ "eslint": "^8.3.0",
30
+ "jest": "^27.4.3"
31
31
  },
32
32
  "dependencies": {
33
- "@nsshunt/stsconfig": "^1.3.16",
33
+ "@nsshunt/stsconfig": "^1.3.22",
34
34
  "colors": "^1.4.0",
35
- "debug": "^4.3.2",
35
+ "debug": "^4.3.3",
36
36
  "express": "^4.17.1",
37
37
  "jsonwebtoken": "^8.5.1"
38
38
  }
package/stsoptionsbase.js CHANGED
@@ -1,16 +1,24 @@
1
1
  class STSOptionsBase
2
2
  {
3
- #options = null;
3
+ #options = null;
4
4
 
5
- constructor(options)
6
- {
5
+ constructor(options)
6
+ {
7
7
  this.#options = options;
8
- }
8
+ }
9
9
 
10
- get Options()
11
- {
10
+ /**
11
+ * @deprecated since version 1.3.24. Use options (lower case o)
12
+ */
13
+ get Options()
14
+ {
12
15
  return this.#options;
13
- }
16
+ }
17
+
18
+ get options()
19
+ {
20
+ return this.#options;
21
+ }
14
22
  }
15
23
 
16
24
  module.exports = { STSOptionsBase };
package/stsrouterbase.js CHANGED
@@ -4,18 +4,18 @@ const { STSOptionsBase } = require('./stsoptionsbase.js');
4
4
 
5
5
  class STSRouterBase extends STSOptionsBase
6
6
  {
7
- #router = null;
7
+ #router = null;
8
8
 
9
- constructor(options)
10
- {
9
+ constructor(options)
10
+ {
11
11
  super(options);
12
12
  this.#router = express.Router();
13
- }
13
+ }
14
14
 
15
- get Router()
16
- {
15
+ get Router()
16
+ {
17
17
  return this.#router;
18
- }
18
+ }
19
19
  }
20
20
 
21
21
  module.exports = { STSRouterBase };