hugo-extended 0.100.2 → 0.102.1

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/lib/utils.js +4 -12
  2. package/package.json +2 -2
package/lib/utils.js CHANGED
@@ -64,31 +64,23 @@ export function getReleaseFilename(version) {
64
64
  const { platform, arch } = process;
65
65
 
66
66
  const filename =
67
- // macOS
67
+ // macOS: as of 0.102.0, binaries are universal
68
68
  platform === "darwin" && arch === "x64" ?
69
- `hugo_extended_${version}_macOS-64bit.tar.gz` :
69
+ `hugo_extended_${version}_macOS-universal.tar.gz` :
70
70
  platform === "darwin" && arch === "arm64" ?
71
- `hugo_extended_${version}_macOS-ARM64.tar.gz` :
71
+ `hugo_extended_${version}_macOS-universal.tar.gz` :
72
72
 
73
73
  // Windows
74
74
  platform === "win32" && arch === "x64" ?
75
75
  `hugo_extended_${version}_Windows-64bit.zip` :
76
- platform === "win32" && arch.endsWith("32") ?
77
- `hugo_${version}_Windows-32bit.zip` :
78
- platform === "win32" && arch === "arm" ?
79
- `hugo_${version}_Windows-ARM.zip` :
80
76
  platform === "win32" && arch === "arm64" ?
81
77
  `hugo_${version}_Windows-ARM64.zip` :
82
78
 
83
79
  // Linux
84
80
  platform === "linux" && arch === "x64" ?
85
81
  `hugo_extended_${version}_Linux-64bit.tar.gz` :
86
- platform === "linux" && arch.endsWith("32") ?
87
- `hugo_${version}_Linux-32bit.tar.gz` :
88
- platform === "linux" && arch === "arm" ?
89
- `hugo_${version}_Linux-ARM.tar.gz` :
90
82
  platform === "linux" && arch === "arm64" ?
91
- `hugo_${version}_Linux-ARM64.tar.gz` :
83
+ `hugo_extended_${version}_Linux-ARM64.tar.gz` :
92
84
 
93
85
  // FreeBSD
94
86
  platform === "freebsd" && arch === "x64" ?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hugo-extended",
3
- "version": "0.100.2",
3
+ "version": "0.102.1",
4
4
  "description": "✏️ Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/jakejarvis/hugo-extended",
@@ -34,7 +34,7 @@
34
34
  "devDependencies": {
35
35
  "@jakejarvis/eslint-config": "*",
36
36
  "del": "^6.1.1",
37
- "eslint": "^8.17.0",
37
+ "eslint": "^8.23.0",
38
38
  "mocha": "^9.2.2"
39
39
  },
40
40
  "scripts": {