axios-error-redact 0.0.249 → 0.0.251

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/.gitattributes CHANGED
@@ -12,6 +12,7 @@
12
12
  /.mergify.yml linguist-generated
13
13
  /.mocharc.json linguist-generated
14
14
  /.npmignore linguist-generated
15
+ /.nvmrc linguist-generated
15
16
  /.projen/** linguist-generated
16
17
  /.projen/deps.json linguist-generated
17
18
  /.projen/files.json linguist-generated
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 16
package/.projenrc.ts CHANGED
@@ -1,4 +1,6 @@
1
- import {JsonFile, typescript, javascript} from 'projen'
1
+ import {JsonFile, typescript, javascript, TextFile} from 'projen'
2
+
3
+ const nodeVersion = '16'
2
4
 
3
5
  const project = new typescript.TypeScriptProject({
4
6
  projenrcTs: true,
@@ -53,6 +55,7 @@ const project = new typescript.TypeScriptProject({
53
55
  allowedUsernames: ['AminFazlMondo'],
54
56
  },
55
57
  autoApproveUpgrades: true,
58
+ workflowNodeVersion: nodeVersion,
56
59
  })
57
60
 
58
61
  const additionalRules = {
@@ -82,5 +85,9 @@ new JsonFile(project, '.mocharc.json', {
82
85
  },
83
86
  })
84
87
 
88
+ new TextFile(project, '.nvmrc', {
89
+ lines: [nodeVersion],
90
+ })
91
+
85
92
  project.tasks.tryFind('test')?.exec('mocha')
86
93
  project.synth()
package/README.md CHANGED
@@ -1,7 +1,15 @@
1
1
  # Axios-Error-Redact
2
+
2
3
  Library to redact sensitive information from Axios errors.
3
4
  This can be used as an response interceptor for axios instances, or can be used standalone.
4
5
 
6
+ # Compatibility
7
+
8
+ Works with
9
+
10
+ - `axios@^0`
11
+ - `axios@^1`
12
+
5
13
  # Getting started
6
14
 
7
15
  ```console
package/package.json CHANGED
@@ -47,7 +47,7 @@
47
47
  "json-schema": "^0.4.0",
48
48
  "mocha": "^10.0.0",
49
49
  "npm-check-updates": "^16",
50
- "projen": "^0.63.17",
50
+ "projen": "^0.63.18",
51
51
  "standard-version": "^9",
52
52
  "ts-eager": "^2.0.2",
53
53
  "ts-node": "^10.9.1",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "main": "lib/index.js",
73
73
  "license": "Apache-2.0",
74
- "version": "0.0.249",
74
+ "version": "0.0.251",
75
75
  "types": "lib/index.d.ts",
76
76
  "overrides": {
77
77
  "@types/responselike": "1.0.0",