@@ -74,3 +74,3 @@ "use strict"; | ||
| let list = (0, web_i_1.filterSnippets)(prefix, ls_, Object.keys(jsonSnippets).map((_) => { | ||
| return Object.assign({ key: _ }, jsonSnippets[_]); | ||
| return Object.assign(Object.assign({}, jsonSnippets[_]), { key: _ }); | ||
| })).map((item) => { | ||
@@ -77,0 +77,0 @@ let item_ = Object.assign(Object.assign({ rootLable: '', label: '' }, item.snippet), { key: item.snippet['key'] }); |
@@ -18,9 +18,19 @@ "use strict"; | ||
| }); | ||
| var __importStar = (this && this.__importStar) || function (mod) { | ||
| if (mod && mod.__esModule) return mod; | ||
| var result = {}; | ||
| if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
| __setModuleDefault(result, mod); | ||
| return result; | ||
| }; | ||
| var __importStar = (this && this.__importStar) || (function () { | ||
| var ownKeys = function(o) { | ||
| ownKeys = Object.getOwnPropertyNames || function (o) { | ||
| var ar = []; | ||
| for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
| return ar; | ||
| }; | ||
| return ownKeys(o); | ||
| }; | ||
| return function (mod) { | ||
| if (mod && mod.__esModule) return mod; | ||
| var result = {}; | ||
| if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
| __setModuleDefault(result, mod); | ||
| return result; | ||
| }; | ||
| })(); | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -27,0 +37,0 @@ exports.FuzzyScoreOptions = exports.FuzzyScore = exports.matchesPrefix = exports.matchesStrictPrefix = void 0; |
+3
-2
| { | ||
| "name": "codess", | ||
| "version": "1.1.5", | ||
| "version": "1.1.6", | ||
| "description": "vscode代码片段管理器,通过 本地包(本地某个文件夹) 或官网的 远程包(代码片段集合) 生成本地项目的 vscode 代码片段配置。", | ||
@@ -12,3 +12,4 @@ "main": "index.js", | ||
| "tsc-w": "tsc -w", | ||
| "npm-publish": "npm publish" | ||
| "build": "tsc", | ||
| "publish": "npm publish" | ||
| }, | ||
@@ -15,0 +16,0 @@ "author": "https://github.com/yayaluoya", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
156470
0.01%4171
0.24%