@interfere/build 0.3.0 → 0.3.2
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.
|
@@ -36,6 +36,8 @@ export declare function resolveReleaseRequest(input: {
|
|
|
36
36
|
environmentName: string | null;
|
|
37
37
|
environmentTarget: string | null;
|
|
38
38
|
provider: "cloudflare";
|
|
39
|
+
deploymentId?: string | null | undefined;
|
|
40
|
+
trafficPercentage?: number | null | undefined;
|
|
39
41
|
scriptName: string | null;
|
|
40
42
|
versionId: string | null;
|
|
41
43
|
} | {
|
|
@@ -36,6 +36,8 @@ export declare function resolveReleaseRequest(input: {
|
|
|
36
36
|
environmentName: string | null;
|
|
37
37
|
environmentTarget: string | null;
|
|
38
38
|
provider: "cloudflare";
|
|
39
|
+
deploymentId?: string | null | undefined;
|
|
40
|
+
trafficPercentage?: number | null | undefined;
|
|
39
41
|
scriptName: string | null;
|
|
40
42
|
versionId: string | null;
|
|
41
43
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let node_util=require("node:util"),node_zlib=require("node:zlib");const compress=(0,node_util.promisify)(node_zlib.gzip),sourceMapUploadFetch=Object.assign(async(input,init)=>{let request=new Request(input,init);if(request.headers.get(`content-encoding`)!==`gzip`)return fetch(request);let bytes=await request.arrayBuffer(),body=await compress(bytes),headers=new Headers(request.headers);return headers.delete(`content-length`),body.byteLength>=bytes.byteLength?(headers.delete(`content-encoding`),fetch(new Request(request,{body:bytes,headers,method:request.method}))):fetch(new Request(request,{body,headers,method:request.method}))},fetch);exports.sourceMapUploadFetch=sourceMapUploadFetch;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let node_util=require("node:util"),node_zlib=require("node:zlib");const compress=(0,node_util.promisify)(node_zlib.gzip),sourceMapUploadFetch=Object.assign(async(input,init)=>{let request=new Request(input,init);if(request.method===`POST`&&new URL(request.url).pathname.endsWith(`/source-maps/sign`)&&request.headers.set(`x-interfere-source-map-compression`,`gzip`),request.headers.get(`content-encoding`)!==`gzip`)return fetch(request);let bytes=await request.arrayBuffer(),body=await compress(bytes),headers=new Headers(request.headers);return headers.delete(`content-length`),body.byteLength>=bytes.byteLength?(headers.delete(`content-encoding`),fetch(new Request(request,{body:bytes,headers,method:request.method}))):fetch(new Request(request,{body,headers,method:request.method}))},fetch);exports.sourceMapUploadFetch=sourceMapUploadFetch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{promisify}from"node:util";import{gzip}from"node:zlib";const compress=promisify(gzip),sourceMapUploadFetch=Object.assign(async(input,init)=>{let request=new Request(input,init);if(request.headers.get(`content-encoding`)!==`gzip`)return fetch(request);let bytes=await request.arrayBuffer(),body=await compress(bytes),headers=new Headers(request.headers);return headers.delete(`content-length`),body.byteLength>=bytes.byteLength?(headers.delete(`content-encoding`),fetch(new Request(request,{body:bytes,headers,method:request.method}))):fetch(new Request(request,{body,headers,method:request.method}))},fetch);export{sourceMapUploadFetch};
|
|
1
|
+
import{promisify}from"node:util";import{gzip}from"node:zlib";const compress=promisify(gzip),sourceMapUploadFetch=Object.assign(async(input,init)=>{let request=new Request(input,init);if(request.method===`POST`&&new URL(request.url).pathname.endsWith(`/source-maps/sign`)&&request.headers.set(`x-interfere-source-map-compression`,`gzip`),request.headers.get(`content-encoding`)!==`gzip`)return fetch(request);let bytes=await request.arrayBuffer(),body=await compress(bytes),headers=new Headers(request.headers);return headers.delete(`content-length`),body.byteLength>=bytes.byteLength?(headers.delete(`content-encoding`),fetch(new Request(request,{body:bytes,headers,method:request.method}))):fetch(new Request(request,{body,headers,method:request.method}))},fetch);export{sourceMapUploadFetch};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interfere/build",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Release preparation for Interfere build integrations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"build",
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
"sourcemaps"
|
|
9
9
|
],
|
|
10
10
|
"homepage": "https://interfere.com",
|
|
11
|
-
"bugs":
|
|
12
|
-
"url": "mailto:support@interfere.com"
|
|
13
|
-
},
|
|
11
|
+
"bugs": "mailto:support@interfere.com",
|
|
14
12
|
"license": "MIT",
|
|
15
13
|
"author": "Interfere <support@interfere.com> (https://interfere.com)",
|
|
16
14
|
"repository": {
|
|
@@ -89,21 +87,21 @@
|
|
|
89
87
|
},
|
|
90
88
|
"scripts": {
|
|
91
89
|
"build": "tsdown",
|
|
92
|
-
"test": "vitest run --config ../../../../vitest.config.ts",
|
|
90
|
+
"test": "node ../../private/vitest-config/src/cli.ts run --config ../../../../vitest.config.ts",
|
|
93
91
|
"typecheck": "bun check"
|
|
94
92
|
},
|
|
95
93
|
"dependencies": {
|
|
96
|
-
"@interfere/javascript": "^0.
|
|
97
|
-
"@interfere/types": "^10.
|
|
94
|
+
"@interfere/javascript": "^0.3.0",
|
|
95
|
+
"@interfere/types": "^10.3.0"
|
|
98
96
|
},
|
|
99
97
|
"devDependencies": {
|
|
100
98
|
"@interfere/typescript-config": "^9.0.2",
|
|
101
99
|
"@interfere/vitest-config": "0.0.0",
|
|
102
|
-
"@types/node": "
|
|
103
|
-
"@vitest/coverage-v8": "5.0.
|
|
104
|
-
"msw": "
|
|
105
|
-
"tsdown": "
|
|
106
|
-
"typescript": "
|
|
107
|
-
"vitest": "5.0.
|
|
100
|
+
"@types/node": "26.4.1",
|
|
101
|
+
"@vitest/coverage-v8": "5.0.5",
|
|
102
|
+
"msw": "2.15.0",
|
|
103
|
+
"tsdown": "0.23.0",
|
|
104
|
+
"typescript": "7.0.2",
|
|
105
|
+
"vitest": "5.0.5"
|
|
108
106
|
}
|
|
109
107
|
}
|