@coze-arch/cli 0.1.3 → 0.1.4-alpha.b94eab

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/lib/cli.js CHANGED
@@ -2114,7 +2114,7 @@ const EventBuilder = {
2114
2114
  };
2115
2115
 
2116
2116
  var name = "@coze-arch/cli";
2117
- var version = "0.1.3";
2117
+ var version = "0.1.4-alpha.b94eab";
2118
2118
  var description = "coze coding devtools cli";
2119
2119
  var license = "MIT";
2120
2120
  var author = "fanwenjie.fe@bytedance.com";
@@ -12265,7 +12265,9 @@ const EXCLUDED_PARTS = new Set([
12265
12265
  '.env',
12266
12266
  'node_modules',
12267
12267
  ]);
12268
- const REPRODUCIBLE_ARCHIVE_MTIME = new Date(0);
12268
+ // Keep archives reproducible while remaining compatible with downstream ZIP
12269
+ // packaging, whose timestamp range starts in 1980.
12270
+ const REPRODUCIBLE_ARCHIVE_MTIME = new Date('2000-01-01T00:00:00.000Z');
12269
12271
 
12270
12272
  const validateBuildOutput = async (
12271
12273
  sourceRoot,
@@ -35,7 +35,10 @@ const LOCAL_METADATA_FILES = new Set([
35
35
  '.host.json',
36
36
  ]);
37
37
  const UPLOAD_SESSION_TEMP_PREFIX = '.coze-deploy-upload-';
38
- const REPRODUCIBLE_ARCHIVE_MTIME = new Date(0);
38
+ // Keep archives reproducible without producing timestamps that ZIP cannot
39
+ // represent when the Deploy service repackages the source. Using 2000 also
40
+ // avoids the 1980 lower-bound edge in tools that apply a local timezone.
41
+ const REPRODUCIBLE_ARCHIVE_MTIME = new Date('2000-01-01T00:00:00.000Z');
39
42
  const PROJECT_METADATA_FILE_MODE = 0o644;
40
43
 
41
44
  const parseArguments = argv => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4-alpha.b94eab",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",