@prismatic-io/prism 5.2.0 → 5.2.1

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.
@@ -70,7 +70,11 @@ const createComponentPackage = async () => {
70
70
  const zip = (0, archiver_1.default)("zip", { zlib: { level: 9 } });
71
71
  const pathPromise = tempy_1.default.write(zip, { extension: "zip" });
72
72
  // Zip all files in the current directory (since we found the index.js entrypoint)
73
- zip.directory(process.cwd(), false);
73
+ // Set all files' dates to the Unix epoch so that the zip hash is deterministic
74
+ zip.directory(process.cwd(), false, (entry) => ({
75
+ ...entry,
76
+ date: new Date(0),
77
+ }));
74
78
  await zip.finalize();
75
79
  return pathPromise;
76
80
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.0",
2
+ "version": "5.2.1",
3
3
  "commands": {
4
4
  "login": {
5
5
  "id": "login",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/prism",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Build, deploy, and support integrations in Prismatic from the comfort of your command line",
5
5
  "keywords": [
6
6
  "prismatic",
@@ -47,7 +47,7 @@
47
47
  "@oclif/plugin-warn-if-update-available": "2.0.48",
48
48
  "@prismatic-io/generator-spectral": "3.0.1",
49
49
  "@prismatic-io/spectral": "8.0.1",
50
- "archiver": "3.1.1",
50
+ "archiver": "6.0.1",
51
51
  "axios": "1.6.2",
52
52
  "camelcase": "6.2.0",
53
53
  "chardet": "1.5.1",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "devDependencies": {
77
77
  "@oclif/test": "2.4.6",
78
- "@types/archiver": "3.1.0",
78
+ "@types/archiver": "6.0.2",
79
79
  "@types/fs-extra": "9.0.1",
80
80
  "@types/glob": "7.1.4",
81
81
  "@types/inquirer": "8.2.1",