@fastly/compute-js-context 0.3.0 → 0.4.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/CHANGELOG.md +4 -7
- package/README.md +13 -0
- package/SECURITY.md +13 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,14 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [unreleased]
|
|
9
9
|
|
|
10
|
-
## [0.
|
|
10
|
+
## [0.4.0] - 2025-10-06
|
|
11
11
|
|
|
12
12
|
### Changed
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
- `buildEnvironment` -> `buildContextProxy`
|
|
16
|
-
- `BuildBindings` -> `ContextProxy`
|
|
17
|
-
- `EnvBindingsDefs` -> `BindingsDefs`
|
|
14
|
+
- Moved to `@fastly` scope
|
|
18
15
|
|
|
19
16
|
## [0.2.0] - 2025-10-03
|
|
20
17
|
|
|
@@ -22,6 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
22
19
|
|
|
23
20
|
- Initial public release
|
|
24
21
|
|
|
25
|
-
[unreleased]: https://github.com/fastly/compute-js-context/compare/v0.
|
|
26
|
-
[0.
|
|
22
|
+
[unreleased]: https://github.com/fastly/compute-js-context/compare/v0.4.0...HEAD
|
|
23
|
+
[0.4.0]: https://github.com/fastly/compute-js-context/compare/v0.2.0...v0.4.0
|
|
27
24
|
[0.2.0]: https://github.com/fastly/compute-js-context/releases/tag/v0.2.0
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Fastly Compute Context Utility
|
|
2
2
|
|
|
3
|
+
> NOTE: `@fastly/compute-js-context` is provided as a Fastly Labs product. Visit the [Fastly Labs](https://www.fastlylabs.com/) site for terms of use.
|
|
4
|
+
|
|
3
5
|
`@fastly/compute-js-context` exposes Fastly Compute resources to your Compute JavaScript application. It provides it as one typed, immutable context object, or as a custom, strongly-typed object mapping your service's specific resource names to their handles.
|
|
4
6
|
|
|
5
7
|
## The `Context` Object
|
|
@@ -152,6 +154,17 @@ Creates a custom, strongly-typed proxy object based on your definitions.
|
|
|
152
154
|
- **Don’t mutate** the context or its sub-objects; it’s intentionally `Readonly`
|
|
153
155
|
- **Expect `undefined`** for missing resources and code accordingly (`?.`/guard)
|
|
154
156
|
|
|
157
|
+
|
|
158
|
+
## Issues
|
|
159
|
+
|
|
160
|
+
If you encounter any non-security-related bug or unexpected behavior, please [file an issue][bug] using the bug report template.
|
|
161
|
+
|
|
162
|
+
[bug]: https://github.com/fastly/compute-js-context/issues/new?labels=bug
|
|
163
|
+
|
|
164
|
+
### Security issues
|
|
165
|
+
|
|
166
|
+
Please see our [SECURITY.md](SECURITY.md) for guidance on reporting security-related issues.
|
|
167
|
+
|
|
155
168
|
## License
|
|
156
169
|
|
|
157
170
|
[MIT](./LICENSE).
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## Report a security issue
|
|
2
|
+
|
|
3
|
+
The project team welcomes security reports and is committed to providing prompt attention to security issues. Security
|
|
4
|
+
issues should be reported privately via [Fastly’s security issue reporting process](https://www.fastly.com/security/report-security-issue).
|
|
5
|
+
|
|
6
|
+
## Security advisories
|
|
7
|
+
|
|
8
|
+
Remediation of security vulnerabilities is prioritized by the project team. The project team endeavors to coordinate
|
|
9
|
+
remediation with third-party stakeholders, and is committed to transparency in the disclosure process. The team announces
|
|
10
|
+
security issues via [GitHub](https://github.com/fastly/compute-js-context/releases) on a best-effort basis.
|
|
11
|
+
|
|
12
|
+
Note that communications related to security issues in Fastly-maintained OSS as described here are distinct from
|
|
13
|
+
[Fastly Security Advisories](https://www.fastly.com/security-advisories).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastly/compute-js-context",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Surfaces Fastly Compute environment as a context object",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"build/**/*.d.ts",
|
|
39
39
|
"LICENSE",
|
|
40
40
|
"README.md",
|
|
41
|
-
"CHANGELOG.md"
|
|
41
|
+
"CHANGELOG.md",
|
|
42
|
+
"SECURITY.md"
|
|
42
43
|
],
|
|
43
44
|
"keywords": [
|
|
44
45
|
"fastly",
|