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

@fastly/js-compute

Package Overview
Dependencies
Maintainers
0
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastly/js-compute - npm Package Versions

1
13

2.2.1

Diff

Changelog

Source

2.2.1 (2023-06-09)

Fixed

  • only apply our pipeTo/pipeThrough optimisations to TransformStreams who have no transformers (IdentityStreams). (#556) (a88616c)
jakechampion
published 2.2.0 •

Changelog

Source

2.2.0 (2023-06-08)

Added

  • Implement SimpleCache.getOrSet method (a1f4517)
jakechampion
published 2.1.0 •

Changelog

Source

2.1.0 (2023-06-02)

Added

jakechampion
published 2.0.2 •

Changelog

Source

2.0.2 (2023-06-01)

Fixed

  • add fastly:secret-store types (3805238)

  • update to the latest wizer which brings support for prebuilt linux s390x and aarch64 wizer binaries (69484c2)

jakechampion
published 2.0.1 •

Changelog

Source

2.0.1 (2023-05-24)

Fixed

  • When using implicit backends with https protocol, use the hostname for the sni hostname value to match fetch behaviour in browsers and other runtimes (84fb6a2)
jakechampion
published 2.0.0 •

Changelog

Source

2.0.0 (2023-05-15)

Changed

  • Object Store renamed to KV Store (#476)

We have renamed the ObjectStore class to KVStore, and the module name from fastly:object-store to fastly:kv-store.

You will need to update your code to use the new class name and module name.

Below is the change that would need to be made for the imported module name:

- import { ObjectStore } from 'fastly:object-store';
+ import { KVStore } from 'fastly:kv-store';

And this is the change that would need to be made for constructing an instance of the class:

- const store = new ObjectStore('my-store');
+ const store = new KVStore('my-store');

Here is a full example of migrating an application from ObjectStore to KVStore:

/// <reference types="@fastly/js-compute" />

- import { ObjectStore } from 'fastly:object-store';
+ import { KVStore } from 'fastly:kv-store';

async function app(event) {
-   const files = new ObjectStore('files');
+   const files = new KVStore('files');

  await files.put('hello', 'world')

  const entry = await files.get('hello')

  return new Response(await entry.text())
}

addEventListener("fetch", (event) => event.respondWith(app(event)))
jakechampion
published 1.13.0 •

Changelog

Source

1.13.0 (2023-05-11)

Added

jakechampion
published 1.12.0 •

Changelog

Source

1.12.0 (2023-05-11)

Added

  • Implement Fanout for JS SDK (5198884)
jakechampion
published 1.11.2 •

Changelog

Source

1.11.2 (2023-04-27)

Fixed

  • Add TypeScript definitions for Response.redirect() and Response.json() (#512) (ebe429f)
jakechampion
published 1.11.1 •

Changelog

Source

1.11.1 (2023-04-26)

Fixed

  • TextDecoder: add (nearly) full support for TextDecoder and TextEncoder (#501) (a4c312e)
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