uptide 0.3.0 → 0.4.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/LICENSE +202 -21
- package/NOTICE +21 -0
- package/README.md +276 -46
- package/THIRD-PARTY-NOTICES +576 -0
- package/dist/chunk-2QJIOZA7.js +329 -0
- package/dist/chunk-AGUD7WFB.js +273 -0
- package/dist/{chunk-ZPE5ILXP.js → chunk-GHXBU767.js} +65 -206
- package/dist/chunk-JHZ22Y6X.js +6 -0
- package/dist/chunk-S5MVBT7A.js +6 -0
- package/dist/chunk-VHIIYAJM.js +18 -0
- package/dist/chunk-W74OVIU4.js +7 -0
- package/dist/chunk-Z5YHBDVG.js +6 -0
- package/dist/engine-worker.js +1 -1
- package/dist/index.js +198 -82
- package/dist/list-worker.js +6 -0
- package/dist/{publish-O4RVJE2K-VP43QT4J.js → publish-4HTIOEBW-HI6XQ6IX.js} +1 -1
- package/dist/telemetry-sender.js +6 -0
- package/dist/worker.js +1 -1
- package/package.json +11 -8
- package/dist/chunk-L5ZAH6WD.js +0 -304
- package/dist/chunk-NXKGLXJR.js +0 -18
- package/dist/chunk-W7QEZJ57.js +0 -7
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createRequire as __uptideCreateRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __uptideFileURLToPath } from 'node:url';
|
|
3
|
+
const require = __uptideCreateRequire(import.meta.url);
|
|
4
|
+
const __filename = __uptideFileURLToPath(import.meta.url);
|
|
5
|
+
const __dirname = __uptideFileURLToPath(new URL('.', import.meta.url));
|
|
6
|
+
import{parseSource}from"./chunk-GHXBU767.js";import"./chunk-JHZ22Y6X.js";import"./chunk-Z5YHBDVG.js";import{parentPort,workerData}from"worker_threads";var{jobs,names}=workerData;parentPort?.postMessage(jobs.map(job=>[...parseSource(job,names)]));
|
|
@@ -3,4 +3,4 @@ import { fileURLToPath as __uptideFileURLToPath } from 'node:url';
|
|
|
3
3
|
const require = __uptideCreateRequire(import.meta.url);
|
|
4
4
|
const __filename = __uptideFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __uptideFileURLToPath(new URL('.', import.meta.url));
|
|
6
|
-
import{GITHUB_BODY_LIMIT,publicationBlockers,publish,publishTarget}from"./chunk-
|
|
6
|
+
import{GITHUB_BODY_LIMIT,publicationBlockers,publish,publishTarget}from"./chunk-VHIIYAJM.js";import"./chunk-W74OVIU4.js";import"./chunk-JHZ22Y6X.js";import"./chunk-Z5YHBDVG.js";export{GITHUB_BODY_LIMIT,publicationBlockers,publish,publishTarget};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createRequire as __uptideCreateRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __uptideFileURLToPath } from 'node:url';
|
|
3
|
+
const require = __uptideCreateRequire(import.meta.url);
|
|
4
|
+
const __filename = __uptideFileURLToPath(import.meta.url);
|
|
5
|
+
const __dirname = __uptideFileURLToPath(new URL('.', import.meta.url));
|
|
6
|
+
import{captureUrl,sanitizeEvent}from"./chunk-S5MVBT7A.js";import"./chunk-Z5YHBDVG.js";import{request}from"https";setTimeout(()=>process.exit(0),750);var input="";process.stdin.setEncoding("utf8");process.stdin.on("data",chunk=>{input+=chunk,Buffer.byteLength(input)>32*1024&&process.exit(0)});process.stdin.on("error",()=>process.exit(0));process.stdin.on("end",()=>{try{let value=JSON.parse(input),url=new URL(value.url);(captureUrl(url.origin)!==url.href||typeof value.key!="string"||!/^phc_[A-Za-z0-9_-]+$/.test(value.key))&&process.exit(0);let event=sanitizeEvent(value.event,()=>!0);event||process.exit(0);let body=JSON.stringify({api_key:value.key,...event}),req=request(url,{method:"POST",agent:!1,headers:{"content-type":"application/json","content-length":Buffer.byteLength(body)}},res=>{res.destroy(),process.exit(0)});req.on("error",()=>process.exit(0)),req.end(body)}catch{process.exit(0)}});
|
package/dist/worker.js
CHANGED
|
@@ -3,4 +3,4 @@ import { fileURLToPath as __uptideFileURLToPath } from 'node:url';
|
|
|
3
3
|
const require = __uptideCreateRequire(import.meta.url);
|
|
4
4
|
const __filename = __uptideFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __uptideFileURLToPath(new URL('.', import.meta.url));
|
|
6
|
-
import{checkWorkspaceJob}from"./chunk-
|
|
6
|
+
import{checkWorkspaceJob}from"./chunk-2QJIOZA7.js";import"./chunk-GHXBU767.js";import{errorCode}from"./chunk-W74OVIU4.js";import"./chunk-JHZ22Y6X.js";import"./chunk-Z5YHBDVG.js";import{parentPort,workerData}from"worker_threads";var job=workerData;checkWorkspaceJob(job,event=>parentPort?.postMessage({type:"progress",event})).then(reports=>parentPort?.postMessage({type:"result",reports}),err=>{parentPort?.postMessage({type:"error",code:errorCode(err),message:err instanceof Error?err.message:String(err)})});
|
package/package.json
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uptide",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"license": "
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Uptide finds what a dependency upgrade breaks in your code, migrates it, and proves it with your compiler and tests.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"uptide": "./dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
|
-
"dist"
|
|
11
|
+
"dist",
|
|
12
|
+
"!dist/metafile-*.json",
|
|
13
|
+
"NOTICE",
|
|
14
|
+
"THIRD-PARTY-NOTICES"
|
|
12
15
|
],
|
|
13
16
|
"engines": {
|
|
14
17
|
"node": ">=20"
|
|
15
18
|
},
|
|
16
19
|
"repository": {
|
|
17
20
|
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/
|
|
21
|
+
"url": "git+https://github.com/uptide-dev/uptide.git",
|
|
19
22
|
"directory": "packages/cli"
|
|
20
23
|
},
|
|
21
|
-
"homepage": "https://github.com/
|
|
22
|
-
"bugs": "https://github.com/
|
|
24
|
+
"homepage": "https://github.com/uptide-dev/uptide#readme",
|
|
25
|
+
"bugs": "https://github.com/uptide-dev/uptide/issues",
|
|
23
26
|
"keywords": [
|
|
24
27
|
"zod",
|
|
25
28
|
"stripe",
|
|
@@ -42,7 +45,7 @@
|
|
|
42
45
|
"@uptide/core": "0.1.0"
|
|
43
46
|
},
|
|
44
47
|
"scripts": {
|
|
45
|
-
"build": "tsup",
|
|
48
|
+
"build": "tsup && node scripts/third-party-notices.mjs",
|
|
46
49
|
"typecheck": "tsc --noEmit",
|
|
47
50
|
"test": "vitest run"
|
|
48
51
|
}
|