axe 8.1.2 → 10.0.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.
- package/README.md +723 -206
- package/dist/axe.js +1298 -7130
- package/dist/axe.min.js +1 -1
- package/lib/index.js +357 -276
- package/package.json +45 -88
package/package.json
CHANGED
|
@@ -1,94 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axe",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "
|
|
3
|
+
"description": "Axe is a logger-agnostic wrapper that normalizes logs regardless of argument style. Great for large development teams, old and new projects, and works with Pino, Bunyan, Winston, console, and more. It is lightweight, performant, highly-configurable, and automatically adds OS, CPU, and Git information to your logs. It supports hooks (useful for masking sensitive data) and dot-notation remapping, omitting, and picking of log metadata properties. Made for Forward Email, Lad, and Cabin.",
|
|
4
|
+
"version": "10.0.0",
|
|
5
5
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)",
|
|
6
|
-
"ava": {
|
|
7
|
-
"serial": true,
|
|
8
|
-
"failFast": true,
|
|
9
|
-
"files": [
|
|
10
|
-
"test/*.js",
|
|
11
|
-
"test/**/*.js",
|
|
12
|
-
"!test/helpers/*.js",
|
|
13
|
-
"!test/helpers/**/*.js"
|
|
14
|
-
],
|
|
15
|
-
"timeout": "30s"
|
|
16
|
-
},
|
|
17
6
|
"browser": {
|
|
18
7
|
"parse-app-info": false
|
|
19
8
|
},
|
|
20
9
|
"bugs": {
|
|
21
10
|
"url": "https://github.com/cabinjs/axe/issues"
|
|
22
11
|
},
|
|
23
|
-
"commitlint": {
|
|
24
|
-
"extends": [
|
|
25
|
-
"@commitlint/config-conventional"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
12
|
"contributors": [
|
|
29
13
|
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)",
|
|
30
|
-
"Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)"
|
|
14
|
+
"Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)",
|
|
15
|
+
"shadowgate15 (https://github.com/shadowgate15)",
|
|
16
|
+
"Spencer Snyder <sasnyde2@gmail.com> (https://spencersnyder.io)"
|
|
31
17
|
],
|
|
32
18
|
"dependencies": {
|
|
33
19
|
"@ladjs/format-util": "^1.0.4",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
20
|
+
"@strikeentco/get": "1.0.1",
|
|
21
|
+
"@strikeentco/set": "1.0.2",
|
|
22
|
+
"boolean": "3.2.0",
|
|
23
|
+
"console-polyfill": "0.3.0",
|
|
38
24
|
"format-specifiers": "^1.0.0",
|
|
39
|
-
"iserror": "
|
|
40
|
-
"
|
|
41
|
-
"
|
|
25
|
+
"iserror": "0.0.2",
|
|
26
|
+
"maybe-combine-errors": "1.0.0",
|
|
27
|
+
"merge-options": "3.0.4",
|
|
28
|
+
"p-map-series": "2",
|
|
29
|
+
"parse-app-info": "^4.0.3",
|
|
42
30
|
"parse-err": "^0.0.12",
|
|
43
|
-
"
|
|
31
|
+
"pick-deep": "1.0.0",
|
|
32
|
+
"unset-value": "2.0.1"
|
|
44
33
|
},
|
|
45
34
|
"devDependencies": {
|
|
46
|
-
"@babel/cli": "^7.
|
|
47
|
-
"@babel/core": "^7.
|
|
48
|
-
"@babel/preset-env": "^7.
|
|
49
|
-
"@commitlint/cli": "^
|
|
50
|
-
"@commitlint/config-conventional": "^
|
|
51
|
-
"ava": "^4.0
|
|
35
|
+
"@babel/cli": "^7.17.10",
|
|
36
|
+
"@babel/core": "^7.18.5",
|
|
37
|
+
"@babel/preset-env": "^7.18.2",
|
|
38
|
+
"@commitlint/cli": "^17.0.2",
|
|
39
|
+
"@commitlint/config-conventional": "^17.0.2",
|
|
40
|
+
"ava": "^4.3.0",
|
|
52
41
|
"babelify": "^10.0.0",
|
|
53
42
|
"browserify": "^17.0.0",
|
|
54
|
-
"codecov": "^3.8.2",
|
|
55
43
|
"consola": "^2.15.3",
|
|
56
44
|
"cross-env": "^7.0.3",
|
|
57
|
-
"eslint": "^8.
|
|
58
|
-
"eslint-config-xo-lass": "^
|
|
59
|
-
"eslint-plugin-compat": "^4.0.
|
|
45
|
+
"eslint": "^8.18.0",
|
|
46
|
+
"eslint-config-xo-lass": "^2.0.1",
|
|
47
|
+
"eslint-plugin-compat": "^4.0.2",
|
|
60
48
|
"eslint-plugin-node": "^11.1.0",
|
|
61
|
-
"express": "^4.
|
|
49
|
+
"express": "^4.18.1",
|
|
62
50
|
"fixpack": "^4.0.0",
|
|
63
|
-
"husky": "^
|
|
51
|
+
"husky": "^8.0.1",
|
|
64
52
|
"jsdom": "15.x",
|
|
65
53
|
"koa": "^2.13.4",
|
|
66
|
-
"lint-staged": "^
|
|
54
|
+
"lint-staged": "^13.0.2",
|
|
67
55
|
"lodash": "^4.17.21",
|
|
68
56
|
"nyc": "^15.1.0",
|
|
69
|
-
"pino": "^
|
|
57
|
+
"pino": "^8.1.0",
|
|
70
58
|
"remark-cli": "^10.0.1",
|
|
71
|
-
"remark-preset-github": "^4.0.
|
|
59
|
+
"remark-preset-github": "^4.0.4",
|
|
72
60
|
"rimraf": "^3.0.2",
|
|
73
61
|
"signale": "^1.4.0",
|
|
74
|
-
"sinon": "^
|
|
75
|
-
"tinyify": "
|
|
76
|
-
"xo": "^0.
|
|
62
|
+
"sinon": "^14.0.0",
|
|
63
|
+
"tinyify": "^3.0.0",
|
|
64
|
+
"xo": "^0.50.0"
|
|
77
65
|
},
|
|
78
66
|
"engines": {
|
|
79
|
-
"node": ">=
|
|
67
|
+
"node": ">=14"
|
|
80
68
|
},
|
|
81
69
|
"files": [
|
|
82
70
|
"lib",
|
|
83
71
|
"dist"
|
|
84
72
|
],
|
|
85
73
|
"homepage": "https://github.com/cabinjs/axe",
|
|
86
|
-
"husky": {
|
|
87
|
-
"hooks": {
|
|
88
|
-
"pre-commit": "lint-staged",
|
|
89
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
74
|
"jsdelivr": "dist/axe.min.js",
|
|
93
75
|
"keywords": [
|
|
94
76
|
"airbrake",
|
|
@@ -128,51 +110,26 @@
|
|
|
128
110
|
],
|
|
129
111
|
"license": "MIT",
|
|
130
112
|
"main": "lib/index.js",
|
|
131
|
-
"prettier": {
|
|
132
|
-
"singleQuote": true,
|
|
133
|
-
"bracketSpacing": true,
|
|
134
|
-
"trailingComma": "none"
|
|
135
|
-
},
|
|
136
|
-
"remarkConfig": {
|
|
137
|
-
"plugins": [
|
|
138
|
-
"preset-github"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
113
|
"repository": {
|
|
142
114
|
"type": "git",
|
|
143
115
|
"url": "https://github.com/cabinjs/axe"
|
|
144
116
|
},
|
|
145
117
|
"scripts": {
|
|
146
118
|
"ava": "cross-env NODE_ENV=test ava",
|
|
147
|
-
"browserify": "browserify src/index.js -o dist/axe.js -s Axe -g [ babelify --configFile ./.dist.babelrc ]",
|
|
119
|
+
"browserify": "browserify src/index.js -o dist/axe.js -s Axe -g [ babelify --configFile ./.dist.babelrc.json ]",
|
|
148
120
|
"build": "npm run build:clean && npm run build:lib && npm run build:dist",
|
|
149
121
|
"build:clean": "rimraf lib dist",
|
|
150
122
|
"build:dist": "npm run browserify && npm run minify",
|
|
151
|
-
"build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
|
|
152
|
-
"
|
|
153
|
-
"lint": "
|
|
154
|
-
"
|
|
123
|
+
"build:lib": "babel --config-file ./.lib.babelrc.json src --out-dir lib",
|
|
124
|
+
"lint": "xo --fix && remark . -qfo && fixpack",
|
|
125
|
+
"lint-build": "npm run lint-lib && npm run lint-dist",
|
|
126
|
+
"lint-dist": "eslint --no-inline-config -c .dist.eslintrc.json dist",
|
|
127
|
+
"lint-lib": "eslint --no-inline-config -c .lib.eslintrc.json lib",
|
|
128
|
+
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/axe.min.js -s Axe -g [ babelify --configFile ./.dist.babelrc.json ] -p tinyify",
|
|
155
129
|
"nyc": "cross-env NODE_ENV=test nyc ava",
|
|
156
|
-
"
|
|
157
|
-
"
|
|
130
|
+
"prepare": "husky install",
|
|
131
|
+
"pretest": "npm run lint",
|
|
132
|
+
"test": "npm run build && npm run lint-build && npm run nyc"
|
|
158
133
|
},
|
|
159
|
-
"unpkg": "dist/axe.min.js"
|
|
160
|
-
"xo": {
|
|
161
|
-
"prettier": true,
|
|
162
|
-
"space": true,
|
|
163
|
-
"extends": [
|
|
164
|
-
"xo-lass"
|
|
165
|
-
],
|
|
166
|
-
"env": [
|
|
167
|
-
"node",
|
|
168
|
-
"browser"
|
|
169
|
-
],
|
|
170
|
-
"ignore": [
|
|
171
|
-
"config.js"
|
|
172
|
-
],
|
|
173
|
-
"rules": {
|
|
174
|
-
"node/prefer-global/process": "off",
|
|
175
|
-
"unicorn/prefer-spread": "off"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
134
|
+
"unpkg": "dist/axe.min.js"
|
|
178
135
|
}
|