@minimalcorp/tsunagi 0.1.34 → 0.1.35
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/.next/standalone/apps/web/.next/BUILD_ID +1 -1
- package/.next/standalone/apps/web/.next/build-manifest.json +3 -3
- package/.next/standalone/apps/web/.next/prerender-manifest.json +3 -3
- package/.next/standalone/apps/web/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_full.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_index.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
- package/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/.next/standalone/apps/web/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/server/lib/worktree-manager.js +16 -2
- package/npm-shrinkwrap.json +17 -17
- package/package.json +1 -1
- /package/.next/standalone/apps/web/.next/static/{mWBhkmlLJfxVxMeoAXXc3 → 7OpUnOx5deFmG2Iu_gF5o}/_buildManifest.js +0 -0
- /package/.next/standalone/apps/web/.next/static/{mWBhkmlLJfxVxMeoAXXc3 → 7OpUnOx5deFmG2Iu_gF5o}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/apps/web/.next/static/{mWBhkmlLJfxVxMeoAXXc3 → 7OpUnOx5deFmG2Iu_gF5o}/_ssgManifest.js +0 -0
|
@@ -15,9 +15,23 @@ const NON_INTERACTIVE_GIT_ENV = {
|
|
|
15
15
|
GIT_TERMINAL_PROMPT: '0',
|
|
16
16
|
GIT_SSH_COMMAND: 'ssh -o BatchMode=yes',
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* simple-git は env に任意コマンドを実行しうる変数が含まれていると spawn を拒否する
|
|
20
|
+
* (`Use of "GIT_SSH_COMMAND" is not permitted without enabling allowUnsafeSshCommand`)。
|
|
21
|
+
* 親プロセスから継承した GIT_* / EDITOR 等はサーバーのgit操作には不要なため除去し、
|
|
22
|
+
* 意図して設定する GIT_SSH_COMMAND のみ allowUnsafeSshCommand で許可する。
|
|
23
|
+
*/
|
|
24
|
+
const BLOCKED_INHERITED_ENV = /^(GIT_|SSH_ASKPASS$|EDITOR$|PAGER$|PREFIX$)/i;
|
|
25
|
+
function nonInteractiveGitEnv() {
|
|
26
|
+
const inherited = Object.entries(process.env).filter(([key, value]) => value !== undefined && !BLOCKED_INHERITED_ENV.test(key));
|
|
27
|
+
return { ...Object.fromEntries(inherited), ...NON_INTERACTIVE_GIT_ENV };
|
|
28
|
+
}
|
|
18
29
|
function nonInteractiveGit(baseDir) {
|
|
19
|
-
const git =
|
|
20
|
-
|
|
30
|
+
const git = simpleGit({
|
|
31
|
+
...(baseDir ? { baseDir } : {}),
|
|
32
|
+
unsafe: { allowUnsafeSshCommand: true },
|
|
33
|
+
});
|
|
34
|
+
return git.env(nonInteractiveGitEnv());
|
|
21
35
|
}
|
|
22
36
|
// bare repositoryのパスを取得
|
|
23
37
|
function getBareRepoPath(owner, repo) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minimalcorp/tsunagi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@minimalcorp/tsunagi",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.35",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE",
|
|
11
11
|
"os": [
|
|
12
12
|
"darwin",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"node_modules/@fastify/ajv-compiler/node_modules/fast-uri": {
|
|
87
|
-
"version": "4.1
|
|
88
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.1.
|
|
89
|
-
"integrity": "sha512-
|
|
87
|
+
"version": "4.2.1",
|
|
88
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.2.1.tgz",
|
|
89
|
+
"integrity": "sha512-TmHQgewjHtMq1E5QKA0tOE0yeYGQs25KZC/ziJpubRtWI15W92e6vPFydWOeZBVROSHBYw/QhD9d5OefdD6LDg==",
|
|
90
90
|
"funding": [
|
|
91
91
|
{
|
|
92
92
|
"type": "github",
|
|
@@ -1189,9 +1189,9 @@
|
|
|
1189
1189
|
"license": "MIT"
|
|
1190
1190
|
},
|
|
1191
1191
|
"node_modules/@types/node": {
|
|
1192
|
-
"version": "26.6.
|
|
1193
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.
|
|
1194
|
-
"integrity": "sha512-
|
|
1192
|
+
"version": "26.6.2",
|
|
1193
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.2.tgz",
|
|
1194
|
+
"integrity": "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g==",
|
|
1195
1195
|
"license": "MIT",
|
|
1196
1196
|
"dependencies": {
|
|
1197
1197
|
"undici-types": "~8.9.0"
|
|
@@ -2264,9 +2264,9 @@
|
|
|
2264
2264
|
}
|
|
2265
2265
|
},
|
|
2266
2266
|
"node_modules/fast-json-stringify/node_modules/fast-uri": {
|
|
2267
|
-
"version": "4.1
|
|
2268
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.1.
|
|
2269
|
-
"integrity": "sha512-
|
|
2267
|
+
"version": "4.2.1",
|
|
2268
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.2.1.tgz",
|
|
2269
|
+
"integrity": "sha512-TmHQgewjHtMq1E5QKA0tOE0yeYGQs25KZC/ziJpubRtWI15W92e6vPFydWOeZBVROSHBYw/QhD9d5OefdD6LDg==",
|
|
2270
2270
|
"funding": [
|
|
2271
2271
|
{
|
|
2272
2272
|
"type": "github",
|
|
@@ -2305,9 +2305,9 @@
|
|
|
2305
2305
|
"license": "BSD-3-Clause"
|
|
2306
2306
|
},
|
|
2307
2307
|
"node_modules/fastify": {
|
|
2308
|
-
"version": "5.12.
|
|
2309
|
-
"resolved": "https://registry.npmjs.org/fastify/-/fastify-5.12.
|
|
2310
|
-
"integrity": "sha512-
|
|
2308
|
+
"version": "5.12.5",
|
|
2309
|
+
"resolved": "https://registry.npmjs.org/fastify/-/fastify-5.12.5.tgz",
|
|
2310
|
+
"integrity": "sha512-OB2k1dlxs5/NAABqeKV2FUHkSD2BbENsCak8yULVcymn3fHIPDVa9TI3SDnJSWYSllZmSYuZXy2gTnsT+Sut1A==",
|
|
2311
2311
|
"funding": [
|
|
2312
2312
|
{
|
|
2313
2313
|
"type": "github",
|
|
@@ -2705,9 +2705,9 @@
|
|
|
2705
2705
|
}
|
|
2706
2706
|
},
|
|
2707
2707
|
"node_modules/js-base64": {
|
|
2708
|
-
"version": "3.9.
|
|
2709
|
-
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.9.
|
|
2710
|
-
"integrity": "sha512-
|
|
2708
|
+
"version": "3.9.4",
|
|
2709
|
+
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.9.4.tgz",
|
|
2710
|
+
"integrity": "sha512-PtOMXpEGuP0RRiRXsjzHzl44dMHxSu2CPvAhinupR1tBa88me+1DPqsobl7eupn5UukjLkln1ZnAOAOXOrYG0Q==",
|
|
2711
2711
|
"license": "BSD-3-Clause"
|
|
2712
2712
|
},
|
|
2713
2713
|
"node_modules/json-schema-ref-resolver": {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|