@mountainpass/waychaser 5.0.18 → 5.0.19

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +9 -19
package/README.md CHANGED
@@ -71,7 +71,7 @@ try {
71
71
  ```html
72
72
  <script
73
73
  type="text/javascript"
74
- src="https://unpkg.com/@mountainpass/waychaser@5.0.18"
74
+ src="https://unpkg.com/@mountainpass/waychaser@5.0.19"
75
75
  ></script>
76
76
 
77
77
  ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mountainpass/waychaser",
3
- "version": "5.0.18",
3
+ "version": "5.0.19",
4
4
  "description": "Client library for HATEOAS level 3 RESTful APIs that provide hypermedia controls",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,6 +49,7 @@
49
49
  "TEST_API_PORT": 6060
50
50
  },
51
51
  "scripts": {
52
+ "prepare": "husky",
52
53
  "dry-aged-deps": "dry-aged-deps --check",
53
54
  "env": "env",
54
55
  "build:browser": "rollup --config rollup.config.${npm_lifecycle_event#build:}.mjs",
@@ -203,12 +204,12 @@
203
204
  "geckodriver": "^1.20.0",
204
205
  "http-terminator": "^3.0.0",
205
206
  "humanize-duration": "^3.24.0",
206
- "husky": "^6.0.0",
207
+ "husky": "^9.1.7",
207
208
  "imagemin-lint-staged": "^0.5.1",
208
209
  "istanbul": "^0.4.5",
209
210
  "jscpd": "^3.3.25",
210
211
  "jsdoc": "^3.6.7",
211
- "lint-staged": "^11.0.0",
212
+ "lint-staged": "^15.5.2",
212
213
  "localtunnel": "^2.0.1",
213
214
  "markdownlint": "^0.23.0",
214
215
  "moment-timezone": "^0.6.0",
@@ -232,28 +233,17 @@
232
233
  "zod": "^3.15.1"
233
234
  },
234
235
  "lint-staged": {
235
- "*.{js,md}": [
236
- "eslint --fix",
237
- "git add"
236
+ "*.js": [
237
+ "eslint --fix"
238
238
  ],
239
239
  "*.{sh}": [
240
- "shellcheck",
241
- "git add"
240
+ "shellcheck"
242
241
  ],
243
242
  "*.{json,css,md,yaml,yml,html,less,scss}": [
244
- "prettier --write",
245
- "git add"
243
+ "prettier --write"
246
244
  ],
247
245
  "*.{png,jpeg,jpg,gif,svg}": [
248
- "imagemin-lint-staged",
249
- "git add"
246
+ "imagemin-lint-staged"
250
247
  ]
251
- },
252
- "husky": {
253
- "hooks": {
254
- "pre-commit": "lint-staged",
255
- "pre-push": "npm run pre-push",
256
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
257
- }
258
248
  }
259
249
  }