axe 8.1.2 → 9.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/package.json CHANGED
@@ -1,94 +1,71 @@
1
1
  {
2
2
  "name": "axe",
3
3
  "description": "Logging add-on to send logs over HTTP to your server in Node and Browser environments. Works with any logger! Chop up your logs consistently! Made for Cabin and Lad.",
4
- "version": "8.1.2",
4
+ "version": "9.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
14
  "Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)"
31
15
  ],
32
16
  "dependencies": {
33
17
  "@ladjs/format-util": "^1.0.4",
34
- "boolean": "^3.1.4",
18
+ "boolean": "^3.2.0",
35
19
  "console-polyfill": "^0.3.0",
36
20
  "cuid": "^2.1.8",
37
21
  "fast-safe-stringify": "^2.1.1",
38
22
  "format-specifiers": "^1.0.0",
39
23
  "iserror": "^0.0.2",
40
24
  "lodash.omit": "^4.5.0",
41
- "parse-app-info": "^4.0.2",
25
+ "parse-app-info": "^4.0.3",
42
26
  "parse-err": "^0.0.12",
43
- "superagent": "^7.0.2"
27
+ "superagent": "^8.0.0"
44
28
  },
45
29
  "devDependencies": {
46
- "@babel/cli": "^7.16.8",
47
- "@babel/core": "^7.16.7",
48
- "@babel/preset-env": "^7.16.8",
49
- "@commitlint/cli": "^16.0.2",
50
- "@commitlint/config-conventional": "^16.0.0",
51
- "ava": "^4.0.1",
30
+ "@babel/cli": "^7.17.10",
31
+ "@babel/core": "^7.18.5",
32
+ "@babel/preset-env": "^7.18.2",
33
+ "@commitlint/cli": "^17.0.2",
34
+ "@commitlint/config-conventional": "^17.0.2",
35
+ "ava": "^4.3.0",
52
36
  "babelify": "^10.0.0",
53
37
  "browserify": "^17.0.0",
54
- "codecov": "^3.8.2",
55
38
  "consola": "^2.15.3",
56
39
  "cross-env": "^7.0.3",
57
- "eslint": "^8.6.0",
58
- "eslint-config-xo-lass": "^1.0.6",
59
- "eslint-plugin-compat": "^4.0.1",
40
+ "eslint": "^8.18.0",
41
+ "eslint-config-xo-lass": "^2.0.1",
42
+ "eslint-plugin-compat": "^4.0.2",
60
43
  "eslint-plugin-node": "^11.1.0",
61
- "express": "^4.17.2",
44
+ "express": "^4.18.1",
62
45
  "fixpack": "^4.0.0",
63
- "husky": "^7.0.4",
46
+ "husky": "^8.0.1",
64
47
  "jsdom": "15.x",
65
48
  "koa": "^2.13.4",
66
- "lint-staged": "^12.1.7",
49
+ "lint-staged": "^13.0.2",
67
50
  "lodash": "^4.17.21",
68
51
  "nyc": "^15.1.0",
69
- "pino": "^7.6.3",
52
+ "pino": "^8.1.0",
70
53
  "remark-cli": "^10.0.1",
71
- "remark-preset-github": "^4.0.1",
54
+ "remark-preset-github": "^4.0.4",
72
55
  "rimraf": "^3.0.2",
73
56
  "signale": "^1.4.0",
74
- "sinon": "^12.0.1",
75
- "tinyify": "https://github.com/niftylettuce/tinyify",
76
- "xo": "^0.47.0"
57
+ "sinon": "^14.0.0",
58
+ "tinyify": "^3.0.0",
59
+ "xo": "^0.50.0"
77
60
  },
78
61
  "engines": {
79
- "node": ">=7.0.0"
62
+ "node": ">=14"
80
63
  },
81
64
  "files": [
82
65
  "lib",
83
66
  "dist"
84
67
  ],
85
68
  "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
69
  "jsdelivr": "dist/axe.min.js",
93
70
  "keywords": [
94
71
  "airbrake",
@@ -128,16 +105,6 @@
128
105
  ],
129
106
  "license": "MIT",
130
107
  "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
108
  "repository": {
142
109
  "type": "git",
143
110
  "url": "https://github.com/cabinjs/axe"
@@ -149,30 +116,15 @@
149
116
  "build:clean": "rimraf lib dist",
150
117
  "build:dist": "npm run browserify && npm run minify",
151
118
  "build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
152
- "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
153
- "lint": "xo && remark . -qfo && eslint --no-inline-config -c .lib.eslintrc lib && eslint --no-inline-config -c .dist.eslintrc dist",
119
+ "lint": "xo --fix && remark . -qfo && fixpack",
120
+ "lint-build": "npm run lint-lib && npm run lint-dist",
121
+ "lint-dist": "eslint --no-inline-config -c .dist.eslintrc dist",
122
+ "lint-lib": "eslint --no-inline-config -c .lib.eslintrc lib",
154
123
  "minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/axe.min.js -s Axe -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
155
124
  "nyc": "cross-env NODE_ENV=test nyc ava",
156
- "test": "npm run build && npm run lint && npm run ava",
157
- "test-coverage": "npm run build && npm run lint && npm run nyc"
125
+ "prepare": "husky install",
126
+ "pretest": "npm run lint",
127
+ "test": "npm run build && npm run lint-build && npm run nyc"
158
128
  },
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
- }
129
+ "unpkg": "dist/axe.min.js"
178
130
  }