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

@fastly/compute-js-static-publish

Package Overview
Dependencies
Maintainers
41
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastly/compute-js-static-publish - npm Package Versions

13
6

5.1.1

Diff

Changelog

Source

[5.1.1] - 2023-07-06

Fixed

  • Fix: Specify full path in import directives in generated files to allow use in projects with "type": "module".
harmony7
published 5.1.0 •

Changelog

Source

[5.1.0] - 2023-06-12

Fixed

  • Fix: Correct package.json created by init-app to reference fastly/js-compute@2 (#8)
harmony7
published 5.0.2 •

Changelog

Source

[5.0.2] - 2023-05-25

Updated

  • README updates
harmony7
published 5.0.1 •

Changelog

Source

[5.0.1] - 2023-05-19

Fixed

  • Avoid a crash caused by extra output when fastly CLI tool detects a newer available version.
harmony7
published 5.0.0 •

Changelog

Source

[5.0.0] - 2023-05-19

Changed

  • Update to js-compute@2.0.0
  • BREAKING: To correspond with Fastly's finalization of the name of KV Store, all references have been updated to that naming.
harmony7
published 4.2.1 •

Changelog

Source

[4.2.1] - 2023-05-06

Fixed

  • Fix parsing of contentTypes[] in static-publish.rc.js
harmony7
published 4.2.0 •

Changelog

Source

[4.2.0] - 2023-04-26

Fixed

  • Avoid a crash when the project doesn't have devDependencies in package.json.
harmony7
published 4.1.0 •

Changelog

Source

[4.1.0] - 2023-04-05

Added

  • Added 'bytes' and 'string' content asset types usable during testing.
  • AssetManager: added getAssetKeys method
  • ContentAsset: added isLocal property

Changed

  • Modified metadata to use string identifiers such as 'wasm-inline' and 'object-store' instead of a single "isInline" boolean value. This allows other stores to be used during tests.
  • Compute-Js Content Assets ('wasm-inline' and 'object-store') are only included when @fastly/compute-js-static-publish/build/compute-js is imported.

Fixed

  • Fixed type of imported metadata file in clean-object-store program.
harmony7
published 4.0.0 •

Changelog

Source

[4.0.0] - 2023-03-23

Added

  • Cleaner separation between Content Assets and Module Assets: applications can define which files generate which type of asset.
  • Object Store mode: Content Assets can selectively be uploaded to and served from the Object Store, allowing the Wasm binary to be much smaller.
  • Defined StoreEntry, a common interface that can be used to stream data from content assets, regardless of whether that data exists inlined into the Wasm artifact or uploaded to Object Store.
  • Added support for Brotli and Gzip compression. These assets are pre-compressed at publish time and uploaded alongside their raw counterparts, rather than using runtime compression. This feature is enabled automatically if Object Store mode is used, and can be selectively enabled otherwise.
  • Added support for returning 304 Not Modified status based on If-None-Match and If-Modified-Since request headers.
  • A PublisherServer class that maps incoming requests to asset paths.
  • Content and metadata available to your application.
  • Load JavaScript module assets as code into your Compute JavaScript application.
  • clean-object-store mode can be used to remove no-longer-used entries from the Object Store.
  • Moved Migration Guide into its own separate file with even more information.
  • Exported getObjectStoreKeysFromMetadata() metadata handling utility from main package.
  • Exported getDefaultContentTypes() and other content type utilities from main package.
  • Added preset for Vue (https://vuejs.org/).
  • Added preset for Astro (https://astro.build/).

Changed

  • Webpack is no longer required as a dependency, and is disabled by default. If you wish to use Webpack, you can enable it through the --webpack command line option during project scaffolding.
  • No longer uses Expressly to route requests. index.js has been simplified using the PublisherServer class instead.
  • Separated --root-dir and --public-dir. The public directory is now a PublisherServer configuration that represents the subset of the published files that map to the web root. This effectively adds the ability to include files in the publishing that aren't accessible from the web (at least through PublisherServer).
  • static-publish.rc.js cleaned up:
    • Items related to including/excluding files reorganized;
    • PublisherServer-specific settings moved to server key.
  • Moved default content types into the main package.
  • Updated to TypeScript 5
harmony7
published 4.0.0-alpha.4 •

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