@effected/runtimes 0.5.2 → 0.6.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/GitHub.js +4 -4
- package/package.json +3 -3
- package/tsdoc-metadata.json +1 -1
package/GitHub.js
CHANGED
|
@@ -117,13 +117,13 @@ const bearer = (token) => ({ authorization: `Bearer ${Redacted.value(token)}` })
|
|
|
117
117
|
/**
|
|
118
118
|
* Read the credentials as `Redacted` from the start.
|
|
119
119
|
*
|
|
120
|
-
* `Config.
|
|
120
|
+
* `Config.String` would hand back a plain string that only becomes `Redacted` at
|
|
121
121
|
* the `bearer` call — a window in which the secret is an ordinary value that any
|
|
122
|
-
* log, span annotation or error rendering could pick up. `Config.
|
|
122
|
+
* log, span annotation or error rendering could pick up. `Config.Redacted` closes
|
|
123
123
|
* the window: the token is never a bare string anywhere in this module.
|
|
124
124
|
*/
|
|
125
|
-
const patConfig = Config.
|
|
126
|
-
const tokenConfig = Config.
|
|
125
|
+
const patConfig = Config.Redacted("GITHUB_PERSONAL_ACCESS_TOKEN").pipe(Config.option);
|
|
126
|
+
const tokenConfig = Config.Redacted("GITHUB_TOKEN").pipe(Config.option);
|
|
127
127
|
/**
|
|
128
128
|
* How GitHub requests are authenticated.
|
|
129
129
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/runtimes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Resolve semver-compatible Node.js, Bun and Deno runtime versions with offline fallback.",
|
|
6
6
|
"keywords": [
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"./package.json": "./package.json"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@effected/semver": "^0.
|
|
43
|
+
"@effected/semver": "^0.7.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"effect": "4.0.0-rc.
|
|
46
|
+
"effect": "4.0.0-rc.115"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=24.11.0"
|