vercel 33.3.0 → 33.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.
Files changed (2) hide show
  1. package/dist/index.js +18 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -191574,6 +191574,7 @@ async function add5(client2, project, opts, args2, output2) {
191574
191574
  });
191575
191575
  envGitBranch = inputValue || "";
191576
191576
  }
191577
+ const type = opts["--sensitive"] ? "sensitive" : "encrypted";
191577
191578
  const addStamp = stamp_default();
191578
191579
  try {
191579
191580
  output2.spinner("Saving");
@@ -191581,7 +191582,7 @@ async function add5(client2, project, opts, args2, output2) {
191581
191582
  output2,
191582
191583
  client2,
191583
191584
  project.id,
191584
- "encrypted",
191585
+ type,
191585
191586
  envName,
191586
191587
  envValue,
191587
191588
  envTargets,
@@ -191903,7 +191904,16 @@ var init_command10 = __esm({
191903
191904
  required: false
191904
191905
  }
191905
191906
  ],
191906
- options: [],
191907
+ options: [
191908
+ {
191909
+ name: "sensitive",
191910
+ description: "Add a sensitive Environment Variable",
191911
+ shorthand: null,
191912
+ type: "string",
191913
+ deprecated: false,
191914
+ multi: false
191915
+ }
191916
+ ],
191907
191917
  examples: []
191908
191918
  },
191909
191919
  {
@@ -191983,6 +191993,10 @@ var init_command10 = __esm({
191983
191993
  `${packageName} env add DB_PASS production`
191984
191994
  ]
191985
191995
  },
191996
+ {
191997
+ name: "Add a sensitive Environment Variable",
191998
+ value: `${packageName} env add API_TOKEN --sensitive`
191999
+ },
191986
192000
  {
191987
192001
  name: "Add a new variable for a specific Environment and Git Branch",
191988
192002
  value: [
@@ -192036,7 +192050,8 @@ async function main6(client2) {
192036
192050
  "--yes": Boolean,
192037
192051
  "-y": "--yes",
192038
192052
  "--environment": String,
192039
- "--git-branch": String
192053
+ "--git-branch": String,
192054
+ "--sensitive": Boolean
192040
192055
  });
192041
192056
  } catch (error4) {
192042
192057
  handleError(error4);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "33.3.0",
3
+ "version": "33.4.0",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",