@sequencemedia/music-library 1.1.279 → 1.1.297

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/husky.mjs +16 -0
  2. package/package.json +7 -7
package/husky.mjs ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+
3
+ // @ts-ignore
4
+ Promise.resolve(import('husky'))
5
+ .then(({ default: husky }) => { husky() })
6
+ .catch((e) => {
7
+ if (e instanceof Error) {
8
+ if ('code' in e) {
9
+ const { code } = e
10
+ if (code === 'ERR_MODULE_NOT_FOUND') return
11
+ }
12
+
13
+ const { message } = e
14
+ if (message) console.error(`💥 ${message}`)
15
+ }
16
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/music-library",
3
- "version": "1.1.279",
3
+ "version": "1.1.297",
4
4
  "description": "Watch Apple Music Library XML and parse to JSON, JS, ES, or M3U",
5
5
  "keywords": [
6
6
  "music",
@@ -40,22 +40,22 @@
40
40
  "kill-me-now": "cross-env NODE_OPTIONS=\"--no-warnings\" NODE_ENV=production node kill-me-now.mjs",
41
41
  "lint": "eslint .",
42
42
  "lint:fix": "npm run lint -- --fix",
43
- "prepare": "husky",
43
+ "prepare": "node husky.mjs",
44
44
  "start": "cross-env NODE_OPTIONS=\"--no-warnings\" NODE_ENV=production node ."
45
45
  },
46
46
  "dependencies": {
47
- "@sequencemedia/music-library-parser": "1.1.161",
47
+ "@sequencemedia/music-library-parser": "1.1.162",
48
48
  "chokidar": "^5.0.0",
49
- "commander": "^14.0.2",
49
+ "commander": "^15.0.0",
50
50
  "cross-env": "^10.1.0",
51
51
  "debug": "^4.4.3",
52
- "dotenv": "^17.2.3",
53
- "kill-me-now": "^0.0.132"
52
+ "dotenv": "^17.4.2",
53
+ "kill-me-now": "^0.0.157"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@sequencemedia/eslint-config-standard": "^0.2.107",
57
57
  "eslint": "9.38.0",
58
- "globals": "^16.5.0",
58
+ "globals": "^17.12.0",
59
59
  "husky": "^9.1.7"
60
60
  },
61
61
  "imports": {