Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fastly/grip-compute-js

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastly/grip-compute-js - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc