@nsshunt/stsutils 1.15.4 → 1.15.6

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/.eslintrc.json CHANGED
@@ -20,8 +20,8 @@
20
20
  "ignorePatterns": ["temp.js", "**/k6scripts/*.js", "**/public/*", "**/dist/*", "**/types/*"],
21
21
  "rules": {
22
22
  "indent": ["error", "tab"],
23
- //"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
24
- "no-mixed-spaces-and-tabs": 0, // disable rule
23
+ "no-mixed-spaces-and-tabs": [2],
24
+ //"no-mixed-spaces-and-tabs": 0, // disable rule
25
25
  "@typescript-eslint/no-var-requires": "warn"
26
26
  }
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stsoptionsbase.js","sourceRoot":"","sources":["../src/stsoptionsbase.ts"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,MAAa,cAAc;IAElB,QAAQ,CAAoB;IAEpC,YAAY,UAA6B,IAAI;QAEzC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QAE3B,IAAI,OAAO,KAAK,IAAI,EAAE;YACrB,IAAI,OAAO,OAAO,CAAC,SAAS,KAAK,WAAW,EAAE;gBAC7C,uCAAuC;gBACvC,0HAA0H;aAC1H;iBAAM;gBACN,IAAA,sBAAQ,EAAC,OAAO,CAAC,SAAmB,EAAE,OAAO,CAAC,CAAC;aAC/C;SACD;IACF,CAAC;IAED,IAAI,OAAO;QAEV,OAAO,IAAI,CAAC,QAAQ,CAAC;IACtB,CAAC;CACD;AAtBD,wCAsBC"}
1
+ {"version":3,"file":"stsoptionsbase.js","sourceRoot":"","sources":["../src/stsoptionsbase.ts"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,MAAa,cAAc;IAElB,QAAQ,CAAoB;IAEpC,YAAY,UAA6B,IAAI;QAE5C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QAExB,IAAI,OAAO,KAAK,IAAI,EAAE;YACrB,IAAI,OAAO,OAAO,CAAC,SAAS,KAAK,WAAW,EAAE;gBAC7C,uCAAuC;gBACvC,0HAA0H;aAC1H;iBAAM;gBACN,IAAA,sBAAQ,EAAC,OAAO,CAAC,SAAmB,EAAE,OAAO,CAAC,CAAC;aAC/C;SACD;IACF,CAAC;IAED,IAAI,OAAO;QAEV,OAAO,IAAI,CAAC,QAAQ,CAAC;IACtB,CAAC;CACD;AAtBD,wCAsBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsutils",
3
- "version": "1.15.4",
3
+ "version": "1.15.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "./types/index.d.ts",
@@ -24,21 +24,21 @@
24
24
  "parser": "@babel/eslint-parser"
25
25
  },
26
26
  "devDependencies": {
27
- "@babel/preset-env": "^7.18.10",
27
+ "@babel/preset-env": "^7.20.2",
28
28
  "@babel/preset-typescript": "^7.18.6",
29
29
  "@tsconfig/node18": "^1.0.1",
30
30
  "@types/debug": "^4.1.7",
31
- "@types/jest": "^29.0.0",
32
- "@typescript-eslint/eslint-plugin": "^5.36.1",
33
- "@typescript-eslint/parser": "^5.36.1",
34
- "eslint": "^8.23.0",
35
- "jest": "^29.0.2",
36
- "supertest": "^6.2.4",
37
- "typescript": "^4.8.2"
31
+ "@types/jest": "^29.4.0",
32
+ "@typescript-eslint/eslint-plugin": "^5.50.0",
33
+ "@typescript-eslint/parser": "^5.50.0",
34
+ "eslint": "^8.33.0",
35
+ "jest": "^29.4.1",
36
+ "supertest": "^6.3.3",
37
+ "typescript": "^4.9.5"
38
38
  },
39
39
  "dependencies": {
40
- "ajv": "^8.11.0",
41
- "axios": "^0.27.2",
40
+ "ajv": "^8.12.0",
41
+ "axios": "^1.3.0",
42
42
  "colors": "^1.4.0",
43
43
  "debug": "^4.3.4"
44
44
  }
@@ -8,7 +8,7 @@ export class STSOptionsBase
8
8
 
9
9
  constructor(options: JSONObject | null = null)
10
10
  {
11
- this._options = options;
11
+ this._options = options;
12
12
 
13
13
  if (options !== null) {
14
14
  if (typeof options.validator === 'undefined') {
@@ -1,8 +1,8 @@
1
- export declare type errorCode = {
1
+ export type errorCode = {
2
2
  code: string;
3
3
  description: string;
4
4
  };
5
- export declare type errorPayload = {
5
+ export type errorPayload = {
6
6
  error: string;
7
7
  error_description: string;
8
8
  timestamp: number;
@@ -1 +1 @@
1
- {"version":3,"file":"errorhandling.d.ts","sourceRoot":"","sources":["../src/errorhandling.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,YAAY,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,GAAE,OAAc,GAAG,YAAY,CAS3F"}
1
+ {"version":3,"file":"errorhandling.d.ts","sourceRoot":"","sources":["../src/errorhandling.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,GAAE,OAAc,GAAG,YAAY,CAS3F"}