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
3
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

1
6

4.0.0-alpha.3

Diff

harmony7
published 4.0.0-alpha.2 •

harmony7
published 4.0.0-alpha.1 •

harmony7
published 4.0.0-alpha.0 •

harmony7
published 3.6.0 •

Changelog

Source

[3.6.0] - 2023-02-28

Added

  • Made testing against default content types easier

  • Exported types for default-content-types.cjs

    It's now possible to do something like this:

    import { defaultContentTypes, testFileContentType } from "@fastly/compute-js-static-publish/resources/default-content-types";
    const testResult = testFileContentType(defaultContentTypes, '/path/to/file.json');
    testResult.binary // false 
    testResult.type // application/json 
    
harmony7
published 3.5.0 •

Changelog

Source

[3.5.0] - 2023-02-24

Fixed

  • Update generated package.json and fastly.toml to recommended setup
  • Updated documentation on migration
harmony7
published 3.4.0 •

Changelog

Source

[3.4.0] - 2023-02-16

Fixed

  • SPA and 404 files were being left out
  • Corrected typing of loadModule function
harmony7
published 3.3.0 •

Changelog

Source

[3.3.0] - 2023-02-16

Added

  • Make assets map available on the StaticAssets object.
  • In addition to exporting module assets as static import statements, they can alternatively be exported as import() calls. At the current time, this feature requires a bundler that supports the import() function, such as Webpack.
harmony7
published 3.2.1 •

Changelog

Source

[3.2.1] - 2023-01-30

Added

  • Export additional TypeScript types: AssetBase, StringAsset, and Binary Asset
harmony7
published 3.2.0 •

Changelog

Source

[3.2.0] - 2023-01-13

Fixed

  • Added type field that had been missing from asset entry
  • Content for binary files is now typed as Uint8Array rather than ArrayBuffer
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