@fastly/js-compute
Advanced tools
Comparing version 2.0.0 to 2.0.1
# Changelog | ||
## 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](https://github.com/fastly/js-compute-runtime/commit/84fb6a2fa57408fb13e9319da91d6de3533f1e3c)) | ||
## 2.0.0 (2023-05-15) | ||
@@ -28,3 +35,3 @@ | ||
Here is a full example of migrating an applicatin from ObjectStore to KVStore: | ||
Here is a full example of migrating an application from ObjectStore to KVStore: | ||
```diff | ||
@@ -31,0 +38,0 @@ /// <reference types="@fastly/js-compute" /> |
@@ -24,7 +24,7 @@ #!/usr/bin/env node | ||
// This is a dynamic import because this import will throw an error | ||
// if if does not have a pre-compiled version of Wizer available the platform | ||
// if it does not have a pre-compiled version of Wizer available in the platform | ||
// running the CLI. In that situation, we would still like the | ||
// js-compute-runtime cli's --version and --help flags to work as | ||
// it could be that the user is using an older version of js-compute-runtime | ||
// and a newer version does support the platform they are using. | ||
// and a newer version does not support the platform they are using. | ||
const {compileApplicationToWasm} = await import('./src/compileApplicationToWasm.js') | ||
@@ -31,0 +31,0 @@ await compileApplicationToWasm(input, output, wasmEngine, enableExperimentalHighResolutionTimeMethods); |
{ | ||
"name": "@fastly/js-compute", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"engines": { | ||
@@ -48,3 +48,3 @@ "node": "16 - 20", | ||
"dependencies": { | ||
"@bytecodealliance/jco": "^0.6.1", | ||
"@bytecodealliance/jco": "^0.7.0", | ||
"@bytecodealliance/wizer": "^1.6.1-beta.4", | ||
@@ -51,0 +51,0 @@ "acorn": "^8.8.2", |
@@ -7,5 +7,8 @@ import { componentEmbed, componentNew, preview1AdapterReactorPath } from '@bytecodealliance/jco'; | ||
const wit = await readFile(new URL('../fastly.wit', import.meta.url), 'utf8'); | ||
const coreComponentEmbedded = await componentEmbed(coreComponent, wit); | ||
const coreComponentEmbedded = await componentEmbed({ | ||
binary: coreComponent, | ||
witSource: wit, | ||
}); | ||
const generatedComponent = await componentNew(coreComponentEmbedded, [['wasi_snapshot_preview1', await readFile(preview1AdapterReactorPath())]]); | ||
await writeFile(path, generatedComponent); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
23388110
3131
1
+ Added@bytecodealliance/jco@0.7.0(transitive)
+ Added@bytecodealliance/preview2-shim@0.0.8(transitive)
- Removed@bytecodealliance/jco@0.6.1(transitive)
Updated@bytecodealliance/jco@^0.7.0