@fastly/grip-compute-js
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@fastly/grip-compute-js", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "author": "Fastly, Inc. <oss@fastly.com>", |
@@ -1,8 +0,5 @@ | ||
# @fastly/js-grip-compute-js | ||
# @fastly/grip-compute-js | ||
## IMPORTANT: This package is no longer needed | ||
## IMPORTANT: This package is no longer needed. Please read below. | ||
**IMPORTANT**: With the release of [@fanoutio/grip version 4](https://www.npmjs.com/package/@fanoutio/grip), | ||
this package is no longer needed. | ||
Publishing messages through `@fanoutio/grip` uses the [global `fetch()`](https://developer.mozilla.org/en-US/docs/Web/API/fetch) | ||
@@ -14,4 +11,4 @@ function as the underlying mechanism. When using `fetch()` in Fastly Compute, it requires the specification of the `backend` parameter. | ||
In `@fanoutio/grip` version 4, the `Publisher` class constructor accepts an optional second parameter that is used to | ||
customize its behavior when performing this `fetch()`. | ||
In [@fanoutio/grip version 4](https://www.npmjs.com/package/@fanoutio/grip), the `Publisher` class constructor accepts | ||
an optional second parameter that is used to customize its behavior when performing this `fetch()`. | ||
@@ -31,3 +28,6 @@ The example below assigns the backend called `'publisher'` before calling the global fetch. | ||
import { Publisher } from '@fanoutio/grip'; | ||
const publisher = new Publisher(gripConfig, { | ||
const GRIP_URL = 'https://pushpin.myproject.com/?iss=app&key=secret&backend=publisher'; | ||
const publisher = new Publisher(GRIP_URL, { | ||
fetch(input, init) { | ||
@@ -34,0 +34,0 @@ const url = new URL(input); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4584
1
1