@vscode/vsce 3.3.2 → 3.3.3-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.
package/out/package.js CHANGED
@@ -148,19 +148,14 @@ function toLanguagePackTags(translations, languageId) {
148
148
  * Remember to reach out to them when adding new domains.
149
149
  */
150
150
  const TrustedSVGSources = [
151
- 'api.bintray.com',
152
151
  'api.travis-ci.com',
153
- 'api.travis-ci.org',
154
152
  'app.fossa.io',
155
153
  'badge.buildkite.com',
156
154
  'badge.fury.io',
157
- 'badge.waffle.io',
158
155
  'badgen.net',
159
156
  'badges.frapsoft.com',
160
157
  'badges.gitter.im',
161
- 'badges.greenkeeper.io',
162
158
  'cdn.travis-ci.com',
163
- 'cdn.travis-ci.org',
164
159
  'ci.appveyor.com',
165
160
  'circleci.com',
166
161
  'cla.opensource.microsoft.com',
@@ -173,8 +168,6 @@ const TrustedSVGSources = [
173
168
  'dev.azure.com',
174
169
  'docs.rs',
175
170
  'flat.badgen.net',
176
- 'gemnasium.com',
177
- 'githost.io',
178
171
  'gitlab.com',
179
172
  'godoc.org',
180
173
  'goreportcard.com',
@@ -185,11 +178,8 @@ const TrustedSVGSources = [
185
178
  'opencollective.com',
186
179
  'snyk.io',
187
180
  'travis-ci.com',
188
- 'travis-ci.org',
189
181
  'visualstudio.com',
190
182
  'vsmarketplacebadges.dev',
191
- 'www.bithound.io',
192
- 'www.versioneye.com',
193
183
  ];
194
184
  function isGitHubRepository(repository) {
195
185
  return /^https:\/\/github\.com\/|^git@github\.com:/.test(repository ?? '');
package/out/store.js CHANGED
@@ -123,7 +123,10 @@ async function verifyPat(options) {
123
123
  await api.getRoleAssignments('gallery.publisher', publisherName);
124
124
  }
125
125
  catch (error) {
126
- throw new Error('The Personal Access Token verification has failed. Additional information:\n\n' + error);
126
+ if (error instanceof Error) {
127
+ throw new Error('The Personal Access Token verification has failed. Additional information:\n\n' + error.message);
128
+ }
129
+ throw new Error('The Personal Access Token verification has failed.' + error);
127
130
  }
128
131
  console.log(`The Personal Access Token verification succeeded for the publisher '${publisherName}'.`);
129
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/vsce",
3
- "version": "3.3.2",
3
+ "version": "3.3.3-1",
4
4
  "description": "VS Code Extensions Manager",
5
5
  "repository": {
6
6
  "type": "git",