@fastly/compute-js-static-publish 8.0.0-beta.9 → 8.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli/cli/commands/manage/clean.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/clean.js +2 -3
- package/build/cli/cli/commands/manage/collections/delete.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/collections/delete.js +2 -3
- package/build/cli/cli/commands/manage/collections/index.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/collections/index.js +2 -3
- package/build/cli/cli/commands/manage/collections/list.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/collections/list.js +2 -3
- package/build/cli/cli/commands/manage/collections/promote.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/collections/promote.js +2 -3
- package/build/cli/cli/commands/manage/collections/update-expiration.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/collections/update-expiration.js +2 -3
- package/build/cli/cli/commands/manage/index.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/index.js +2 -3
- package/build/cli/cli/commands/manage/publish-content.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/publish-content.js +86 -8
- package/build/cli/cli/commands/scaffold/index.d.ts.map +1 -1
- package/build/cli/cli/commands/scaffold/index.js +3 -2
- package/build/cli/cli/compression/brotli.d.ts +2 -1
- package/build/cli/cli/compression/brotli.d.ts.map +1 -1
- package/build/cli/cli/compression/brotli.js +15 -4
- package/build/cli/cli/compression/gzip.d.ts +2 -1
- package/build/cli/cli/compression/gzip.d.ts.map +1 -1
- package/build/cli/cli/compression/gzip.js +8 -4
- package/build/cli/cli/compression/index.d.ts +4 -1
- package/build/cli/cli/compression/index.d.ts.map +1 -1
- package/build/cli/cli/index.js +8 -0
- package/build/cli/cli/storage/kv-store-local-provider.d.ts +0 -1
- package/build/cli/cli/storage/kv-store-local-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/kv-store-local-provider.js +0 -2
- package/build/cli/cli/storage/kv-store-provider.d.ts +0 -1
- package/build/cli/cli/storage/kv-store-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/kv-store-provider.js +0 -2
- package/build/cli/cli/storage/s3-storage-provider.d.ts +3 -4
- package/build/cli/cli/storage/s3-storage-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/s3-storage-provider.js +20 -45
- package/build/cli/cli/storage/storage-provider.d.ts +2 -1
- package/build/cli/cli/storage/storage-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/storage-provider.js +13 -0
- package/build/cli/cli/util/api-token.d.ts.map +1 -1
- package/build/cli/cli/util/api-token.js +0 -28
- package/build/cli/cli/util/config.d.ts.map +1 -1
- package/build/cli/cli/util/config.js +8 -1
- package/build/cli/cli/util/content-types.js +1 -1
- package/build/cli/cli/util/purge.d.ts +17 -1
- package/build/cli/cli/util/purge.d.ts.map +1 -1
- package/build/cli/cli/util/purge.js +63 -3
- package/build/cli/cli/util/service-id.d.ts +10 -0
- package/build/cli/cli/util/service-id.d.ts.map +1 -0
- package/build/cli/cli/util/service-id.js +27 -0
- package/build/cli/cli/util/variants.d.ts +2 -1
- package/build/cli/cli/util/variants.d.ts.map +1 -1
- package/build/cli/cli/util/variants.js +2 -2
- package/build/cli/models/config/publish-content-config.d.ts +2 -0
- package/build/cli/models/config/publish-content-config.d.ts.map +1 -1
- package/build/server/models/config/publish-content-config.d.ts +2 -0
- package/build/server/models/config/publish-content-config.d.ts.map +1 -1
- package/build/server/server/publisher-server/index.d.ts +15 -1
- package/build/server/server/publisher-server/index.d.ts.map +1 -1
- package/build/server/server/publisher-server/index.js +189 -56
- package/build/server/server/publisher-server/response-cache.d.ts +19 -0
- package/build/server/server/publisher-server/response-cache.d.ts.map +1 -0
- package/build/server/server/publisher-server/response-cache.js +106 -0
- package/build/server/server/storage/s3-storage-provider.d.ts +2 -5
- package/build/server/server/storage/s3-storage-provider.d.ts.map +1 -1
- package/build/server/server/storage/s3-storage-provider.js +95 -38
- package/build/server/server/storage/storage-provider.d.ts +1 -1
- package/build/server/server/storage/storage-provider.d.ts.map +1 -1
- package/build/server/server/storage/storage-provider.js +2 -1
- package/build/server/server/util/server-timing.d.ts +7 -0
- package/build/server/server/util/server-timing.d.ts.map +1 -0
- package/build/server/server/util/server-timing.js +34 -0
- package/package.json +9 -7
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { CacheOverride } from 'fastly:cache-override';
|
|
6
6
|
import { SecretStore } from 'fastly:secret-store';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { Sha256 } from '@aws-crypto/sha256-js';
|
|
8
|
+
import { SignatureV4 } from '@smithy/signature-v4';
|
|
9
9
|
import { isS3StorageConfigRc, } from '../../models/config/static-publish-rc.js';
|
|
10
10
|
import { getS3StorageConfigFromRc, } from '../../models/config/s3-storage-config.js';
|
|
11
11
|
import { concatReadableStreams, StorageEntryImpl, } from './storage-provider.js';
|
|
@@ -63,6 +63,21 @@ let _s3CredentialsBuilder = buildS3CredentialsFromSecretStore;
|
|
|
63
63
|
export function setS3CredentialsBuilder(s3CredentialsBuilder) {
|
|
64
64
|
_s3CredentialsBuilder = s3CredentialsBuilder;
|
|
65
65
|
}
|
|
66
|
+
// Attempts for a request that fails with a retryable status or a network error.
|
|
67
|
+
const MAX_ATTEMPTS = 5;
|
|
68
|
+
const RETRY_BASE_DELAY_MS = 100;
|
|
69
|
+
// Status codes that S3 asks clients to retry.
|
|
70
|
+
const RETRYABLE_STATUS_CODES = [429, 500, 502, 503, 504];
|
|
71
|
+
// The S3 key as a URL path. Like the AWS SDK, this also escapes !'()*.
|
|
72
|
+
function encodeS3Key(key) {
|
|
73
|
+
return key.split('/').map(segment => encodeURIComponent(segment).replace(/[!'()*]/g, c => '%' + c.charCodeAt(0).toString(16).toUpperCase())).join('/');
|
|
74
|
+
}
|
|
75
|
+
// The error code and message from an S3 XML error body, for the error message.
|
|
76
|
+
function describeS3Error(status, bodyText) {
|
|
77
|
+
const code = /<Code>([^<]*)<\/Code>/.exec(bodyText)?.[1];
|
|
78
|
+
const message = /<Message>([^<]*)<\/Message>/.exec(bodyText)?.[1];
|
|
79
|
+
return [`S3 GetObject failed with status ${status}`, code, message].filter(Boolean).join(': ');
|
|
80
|
+
}
|
|
66
81
|
export class S3StorageProvider {
|
|
67
82
|
constructor(s3Region, s3Bucket, params) {
|
|
68
83
|
this.s3Region = s3Region;
|
|
@@ -70,55 +85,97 @@ export class S3StorageProvider {
|
|
|
70
85
|
this.s3Endpoint = params?.s3Endpoint;
|
|
71
86
|
this.s3FastlyBackendName = params?.s3FastlyBackendName;
|
|
72
87
|
}
|
|
73
|
-
|
|
88
|
+
// The URL of an object. With a custom endpoint, such as Fastly Object Storage,
|
|
89
|
+
// the bucket is in the path. Otherwise, it is in the AWS host name.
|
|
90
|
+
objectUrl(key) {
|
|
91
|
+
if (this.s3Endpoint != null) {
|
|
92
|
+
const url = new URL(this.s3Endpoint);
|
|
93
|
+
url.pathname = url.pathname.replace(/\/$/, '') + '/' + encodeURIComponent(this.s3Bucket) + '/' + encodeS3Key(key);
|
|
94
|
+
return url;
|
|
95
|
+
}
|
|
96
|
+
return new URL(`https://${this.s3Bucket}.s3.${this.s3Region}.amazonaws.com/${encodeS3Key(key)}`);
|
|
97
|
+
}
|
|
98
|
+
// Sends a signed GET request for an object. The AWS SDK is not used here: its
|
|
99
|
+
// browser build, which js-compute bundles, parses XML with DOMParser, which
|
|
100
|
+
// Compute does not have.
|
|
101
|
+
async fetchObject(key, requestInit) {
|
|
74
102
|
const s3Credentials = await _s3CredentialsBuilder();
|
|
75
|
-
const
|
|
103
|
+
const signer = new SignatureV4({
|
|
104
|
+
service: 's3',
|
|
76
105
|
region: this.s3Region,
|
|
77
|
-
endpoint: this.s3Endpoint,
|
|
78
|
-
forcePathStyle: this.s3Endpoint != null,
|
|
79
106
|
credentials: {
|
|
80
107
|
accessKeyId: s3Credentials.accessKeyId,
|
|
81
108
|
secretAccessKey: s3Credentials.secretAccessKey,
|
|
82
109
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
return requestInit ?? {};
|
|
87
|
-
},
|
|
88
|
-
}),
|
|
110
|
+
sha256: Sha256,
|
|
111
|
+
// The path is already escaped by encodeS3Key(). S3 expects it escaped once.
|
|
112
|
+
uriEscapePath: false,
|
|
89
113
|
});
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
cacheOverride: new CacheOverride({
|
|
103
|
-
ttl: 3600,
|
|
104
|
-
surrogateKey: (tags ?? []).join(' ') || undefined,
|
|
105
|
-
}),
|
|
114
|
+
const url = this.objectUrl(key);
|
|
115
|
+
for (let attempt = 1;; attempt++) {
|
|
116
|
+
const signed = await signer.sign({
|
|
117
|
+
method: 'GET',
|
|
118
|
+
protocol: url.protocol,
|
|
119
|
+
hostname: url.hostname,
|
|
120
|
+
port: url.port !== '' ? Number(url.port) : undefined,
|
|
121
|
+
path: url.pathname,
|
|
122
|
+
headers: {
|
|
123
|
+
host: url.host,
|
|
124
|
+
'x-amz-content-sha256': 'UNSIGNED-PAYLOAD',
|
|
125
|
+
},
|
|
106
126
|
});
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
127
|
+
let response = null;
|
|
128
|
+
let error = null;
|
|
129
|
+
try {
|
|
130
|
+
response = await fetch(url, {
|
|
131
|
+
...requestInit,
|
|
132
|
+
method: 'GET',
|
|
133
|
+
headers: signed.headers,
|
|
134
|
+
});
|
|
112
135
|
}
|
|
113
|
-
|
|
114
|
-
|
|
136
|
+
catch (err) {
|
|
137
|
+
error = err;
|
|
115
138
|
}
|
|
139
|
+
const retryable = response == null || RETRYABLE_STATUS_CODES.includes(response.status);
|
|
140
|
+
if (!retryable || attempt >= MAX_ATTEMPTS) {
|
|
141
|
+
if (response == null) {
|
|
142
|
+
throw error;
|
|
143
|
+
}
|
|
144
|
+
return response;
|
|
145
|
+
}
|
|
146
|
+
// Exponential backoff with jitter.
|
|
147
|
+
const delay = Math.random() * RETRY_BASE_DELAY_MS * 2 ** (attempt - 1);
|
|
148
|
+
await new Promise(resolve => setTimeout(resolve, delay));
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
async getEntry(key, tags) {
|
|
152
|
+
const response = await this.fetchObject(key, {
|
|
153
|
+
backend: this.s3FastlyBackendName ?? "s3_storage",
|
|
154
|
+
cacheOverride: new CacheOverride({
|
|
155
|
+
ttl: 3600,
|
|
156
|
+
surrogateKey: (tags ?? []).join(' ') || undefined,
|
|
157
|
+
}),
|
|
158
|
+
});
|
|
159
|
+
if (response.status === 404) {
|
|
160
|
+
console.log("Object does not exist");
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
if (!response.ok) {
|
|
164
|
+
// some other problem (auth, etc.)
|
|
165
|
+
throw new Error(describeS3Error(response.status, await response.text()));
|
|
116
166
|
}
|
|
117
|
-
if (response.
|
|
167
|
+
if (response.body == null) {
|
|
118
168
|
return null;
|
|
119
169
|
}
|
|
120
|
-
|
|
121
|
-
const
|
|
170
|
+
// User-defined object metadata comes in x-amz-meta-* headers.
|
|
171
|
+
const metadata = {};
|
|
172
|
+
for (const [name, value] of response.headers.entries()) {
|
|
173
|
+
if (name.startsWith('x-amz-meta-')) {
|
|
174
|
+
metadata[name.slice('x-amz-meta-'.length)] = value;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
const body = concatReadableStreams([response.body]);
|
|
178
|
+
const metadataText = JSON.stringify(metadata);
|
|
122
179
|
return new StorageEntryImpl(body, metadataText);
|
|
123
180
|
}
|
|
124
181
|
}
|
|
@@ -38,7 +38,7 @@ export interface StorageEntry {
|
|
|
38
38
|
export declare class StorageEntryImpl extends Response implements StorageEntry {
|
|
39
39
|
constructor(body: BodyInit, metadataText: string);
|
|
40
40
|
private readonly metadataTextValue;
|
|
41
|
-
get body(): ReadableStream<Uint8Array
|
|
41
|
+
get body(): ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
42
42
|
metadata(): ArrayBuffer | null;
|
|
43
43
|
metadataText(): string | null;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-provider.d.ts","sourceRoot":"","sources":["../../../../src/server/storage/storage-provider.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,eAAe,EACrB,MAAM,0CAA0C,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;CACtE;AAED,MAAM,MAAM,sBAAsB,GAAG,CAAC,MAAM,EAAE,eAAe,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;AAE3F,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,IAAI,IAAI,cAAc,CAAC;IAE3B;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAAC;IAExB;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAEpC;;OAEG;IACH,QAAQ,IAAI,WAAW,GAAG,IAAI,CAAC;IAE/B;;;OAGG;IACH,YAAY,IAAI,MAAM,GAAG,IAAI,CAAC;CAC/B;AAKD,qBAAa,gBAAiB,SAAQ,QAAS,YAAW,YAAY;gBACxD,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM;IAKhD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAS;
|
|
1
|
+
{"version":3,"file":"storage-provider.d.ts","sourceRoot":"","sources":["../../../../src/server/storage/storage-provider.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,eAAe,EACrB,MAAM,0CAA0C,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;CACtE;AAED,MAAM,MAAM,sBAAsB,GAAG,CAAC,MAAM,EAAE,eAAe,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;AAE3F,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,IAAI,IAAI,cAAc,CAAC;IAE3B;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAAC;IAExB;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAEpC;;OAEG;IACH,QAAQ,IAAI,WAAW,GAAG,IAAI,CAAC;IAE/B;;;OAGG;IACH,YAAY,IAAI,MAAM,GAAG,IAAI,CAAC;CAC/B;AAKD,qBAAa,gBAAiB,SAAQ,QAAS,YAAW,YAAY;gBACxD,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM;IAKhD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAS;IAE3C,IAAI,IAAI,4CAEP;IAED,QAAQ,IAAI,WAAW,GAAG,IAAI;IAG9B,YAAY,IAAI,MAAM,GAAG,IAAI;CAG9B;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,cAAc,CAAC,UAAU,CAAC,EAAE,GAAG,cAAc,CAAC,UAAU,CAAC,CAuCvG;AAGD,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,sBAAsB,QAE7E;AAED,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,eAAe,mBAS7E"}
|
|
@@ -10,11 +10,12 @@ export class StorageEntryImpl extends Response {
|
|
|
10
10
|
super(body);
|
|
11
11
|
this.metadataTextValue = metadataText;
|
|
12
12
|
}
|
|
13
|
+
// The type of Response.body differs between @fastly/js-compute 3 and 4, so it is inferred.
|
|
13
14
|
get body() {
|
|
14
15
|
return super.body;
|
|
15
16
|
}
|
|
16
17
|
metadata() {
|
|
17
|
-
return new TextEncoder().encode(this.metadataTextValue);
|
|
18
|
+
return new TextEncoder().encode(this.metadataTextValue).buffer;
|
|
18
19
|
}
|
|
19
20
|
metadataText() {
|
|
20
21
|
return this.metadataTextValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server-timing.d.ts","sourceRoot":"","sources":["../../../../src/server/util/server-timing.ts"],"names":[],"mappings":"AAaA,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAA2B;IAE1C,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM;IAItC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAS/E,aAAa,IAAI,MAAM;CAWxB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Fastly, Inc.
|
|
3
|
+
* Licensed under the MIT license. See LICENSE file for details.
|
|
4
|
+
*/
|
|
5
|
+
// Collects durations for one request and formats them as a Server-Timing
|
|
6
|
+
// header value (https://www.w3.org/TR/server-timing/).
|
|
7
|
+
export class ServerTiming {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.entries = [];
|
|
10
|
+
}
|
|
11
|
+
add(name, dur, desc) {
|
|
12
|
+
this.entries.push({ name, dur, desc });
|
|
13
|
+
}
|
|
14
|
+
async measure(name, fn, desc) {
|
|
15
|
+
const start = performance.now();
|
|
16
|
+
try {
|
|
17
|
+
return await fn();
|
|
18
|
+
}
|
|
19
|
+
finally {
|
|
20
|
+
this.add(name, performance.now() - start, desc);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
toHeaderValue() {
|
|
24
|
+
return this.entries
|
|
25
|
+
.map(({ name, dur, desc }) => {
|
|
26
|
+
let value = `${name};dur=${dur.toFixed(1)}`;
|
|
27
|
+
if (desc != null) {
|
|
28
|
+
value += `;desc=${JSON.stringify(desc)}`;
|
|
29
|
+
}
|
|
30
|
+
return value;
|
|
31
|
+
})
|
|
32
|
+
.join(', ');
|
|
33
|
+
}
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastly/compute-js-static-publish",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.0.0-
|
|
4
|
+
"version": "8.0.0-rc.0",
|
|
5
5
|
"description": "Static Publisher for Fastly Compute JavaScript",
|
|
6
6
|
"main": "build/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"compile": "npm run compile:cli && npm run compile:server",
|
|
18
18
|
"compile:cli": "tsc -p tsconfig.cli.json",
|
|
19
19
|
"compile:server": "tsc -p tsconfig.server.json",
|
|
20
|
-
"test": "
|
|
20
|
+
"test": "npm run build && node --test \"test/unit/*.test.js\"",
|
|
21
|
+
"test:e2e": "npm run build && node --test --test-concurrency=1 \"test/e2e/*.test.js\"",
|
|
21
22
|
"prepublishOnly": "cp README.short.md README.md"
|
|
22
23
|
},
|
|
23
24
|
"bin": {
|
|
@@ -40,17 +41,18 @@
|
|
|
40
41
|
},
|
|
41
42
|
"homepage": "https://github.com/fastly/compute-js-static-publish#readme",
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"@aws-
|
|
44
|
-
"@
|
|
44
|
+
"@aws-crypto/sha256-js": "^5.2.0",
|
|
45
|
+
"@aws-sdk/client-s3": "^3.1147.0",
|
|
46
|
+
"@smithy/signature-v4": "^5.7.4",
|
|
45
47
|
"command-line-args": "^5.2.1",
|
|
46
48
|
"glob-to-regexp": "^0.4.1",
|
|
47
|
-
"toml": "^
|
|
49
|
+
"toml": "^5.0.0"
|
|
48
50
|
},
|
|
49
51
|
"peerDependencies": {
|
|
50
|
-
"@fastly/js-compute": "^3.33.2"
|
|
52
|
+
"@fastly/js-compute": "^3.33.2 || ^4.0.0"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
|
-
"@fastly/js-compute": "^
|
|
55
|
+
"@fastly/js-compute": "^4.0.0",
|
|
54
56
|
"@types/command-line-args": "^5.2.0",
|
|
55
57
|
"@types/glob-to-regexp": "^0.4.1",
|
|
56
58
|
"@types/node": "^20.11.0",
|