@vscode/vsce 3.5.1-5 → 3.6.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/out/package.js +2 -1
  2. package/package.json +1 -1
package/out/package.js CHANGED
@@ -135,11 +135,12 @@ function escapeRegExp(value) {
135
135
  return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
136
136
  }
137
137
  function sanitizeTag(tag) {
138
- return tag.replace(/[^\w-]/g, '');
138
+ return tag.replace(/[^\w.-]/g, '');
139
139
  }
140
140
  function toExtensionTags(extensions) {
141
141
  return extensions
142
142
  .map(sanitizeTag)
143
+ .map(s => s.replace('.', ''))
143
144
  .filter(s => !!s)
144
145
  .map(s => `__ext_${s}`);
145
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/vsce",
3
- "version": "3.5.1-5",
3
+ "version": "3.6.0",
4
4
  "description": "VS Code Extensions Manager",
5
5
  "repository": {
6
6
  "type": "git",