ultimate-jekyll-manager 1.0.7 → 1.0.9
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/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
|
+
## [1.0.7] - 2026-03-20
|
|
19
|
+
### Changed
|
|
20
|
+
- Upgrade `web-manager` from ^4.1.29 to ^4.1.30
|
|
21
|
+
|
|
18
22
|
## [1.0.3] - 2026-03-16
|
|
19
23
|
### Added
|
|
20
24
|
- Ensure consuming projects have `"private": true` in package.json during setup to prevent accidental npm publishes
|
|
@@ -20,20 +20,19 @@ export async function authorizedFetch(url, options = {}) {
|
|
|
20
20
|
const user = auth.currentUser;
|
|
21
21
|
|
|
22
22
|
if (!user) {
|
|
23
|
-
console.warn('Did we fully wait for auth state to be determined?');
|
|
24
|
-
throw new Error('No authenticated user found');
|
|
23
|
+
console.warn('authorizedFetch: No authenticated user found. Did we fully wait for auth state to be determined?');
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
// Get the ID token - let it throw if it fails
|
|
28
|
-
const idToken = await user.getIdToken(true);
|
|
29
|
-
|
|
30
26
|
// Ensure headers object exists
|
|
31
27
|
if (!requestOptions.headers) {
|
|
32
28
|
requestOptions.headers = {};
|
|
33
29
|
}
|
|
34
30
|
|
|
35
|
-
// Set the Authorization header with Bearer token
|
|
36
|
-
|
|
31
|
+
// Set the Authorization header with Bearer token if user is logged in
|
|
32
|
+
if (user) {
|
|
33
|
+
const idToken = await user.getIdToken(true);
|
|
34
|
+
requestOptions.headers['Authorization'] = `Bearer ${idToken}`;
|
|
35
|
+
}
|
|
37
36
|
|
|
38
37
|
// Make the request using wonderful-fetch
|
|
39
38
|
return fetch(url, requestOptions);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultimate-jekyll-manager",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Ultimate Jekyll dependency manager",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"cheerio": "^1.2.0",
|
|
80
80
|
"chrome-launcher": "^1.2.1",
|
|
81
81
|
"dotenv": "^17.3.1",
|
|
82
|
-
"fast-xml-parser": "^5.5.
|
|
82
|
+
"fast-xml-parser": "^5.5.8",
|
|
83
83
|
"fs-jetpack": "^5.1.0",
|
|
84
84
|
"glob": "^13.0.6",
|
|
85
85
|
"gulp-clean-css": "^4.3.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"sass": "^1.98.0",
|
|
105
105
|
"spellchecker": "^3.7.1",
|
|
106
106
|
"through2": "^4.0.2",
|
|
107
|
-
"web-manager": "^4.1.
|
|
107
|
+
"web-manager": "^4.1.30",
|
|
108
108
|
"webpack": "^5.105.4",
|
|
109
109
|
"wonderful-fetch": "^2.0.4",
|
|
110
110
|
"wonderful-version": "^1.3.2",
|