spur-board 0.164.1 → 0.164.3
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/dist/daemon.mjs
CHANGED
|
@@ -603,7 +603,7 @@ function authorize(grants, actor, state) {
|
|
|
603
603
|
hint
|
|
604
604
|
};
|
|
605
605
|
}
|
|
606
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
606
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/helper/keyword-guard.js
|
|
607
607
|
/**
|
|
608
608
|
* The guard of a keyword: a condition on the characters that follow the keyword.
|
|
609
609
|
*
|
|
@@ -858,7 +858,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
858
858
|
}
|
|
859
859
|
exports.binarySearch = binarySearch;
|
|
860
860
|
}));
|
|
861
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
861
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/helper/invariant.js
|
|
862
862
|
var import_structured_source = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
863
863
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
864
864
|
exports.StructuredSource = void 0;
|
|
@@ -938,7 +938,7 @@ var import_structured_source = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
938
938
|
function invariant(condition, message) {
|
|
939
939
|
if (!condition) throw new Error(message);
|
|
940
940
|
}
|
|
941
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
941
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/SecretLintSourceCodeImpl.js
|
|
942
942
|
/**
|
|
943
943
|
* This class represent of source code.
|
|
944
944
|
*/
|
|
@@ -1049,7 +1049,7 @@ var SecretLintSourceCodeImpl = class {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1052
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/helper/SecretLintRuleMessageTranslator.js
|
|
1053
1053
|
/**
|
|
1054
1054
|
* Default locale that is also fallback locale.
|
|
1055
1055
|
*/
|
|
@@ -1099,7 +1099,7 @@ const createTranslator = (messages, options) => {
|
|
|
1099
1099
|
};
|
|
1100
1100
|
};
|
|
1101
1101
|
};
|
|
1102
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1102
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/RuleContext.js
|
|
1103
1103
|
const createRuleContext = ({ ruleId, ruleParentId, meta, severity, sourceCode, contextEvents, sharedOptions, locale }) => {
|
|
1104
1104
|
return {
|
|
1105
1105
|
sharedOptions,
|
|
@@ -1147,7 +1147,7 @@ const createRuleContext = ({ ruleId, ruleParentId, meta, severity, sourceCode, c
|
|
|
1147
1147
|
}
|
|
1148
1148
|
};
|
|
1149
1149
|
};
|
|
1150
|
-
// ../../node_modules/.pnpm/@secretlint+profiler@14.0.
|
|
1150
|
+
// ../../node_modules/.pnpm/@secretlint+profiler@14.0.1/node_modules/@secretlint/profiler/module/index.js
|
|
1151
1151
|
const NO_ID = "";
|
|
1152
1152
|
/**
|
|
1153
1153
|
* The profiler keeps only the totals for each type and id: the count and the time.
|
|
@@ -1276,9 +1276,9 @@ var SecretLintProfiler = class {
|
|
|
1276
1276
|
return results;
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
|
1279
|
-
// ../../node_modules/.pnpm/@secretlint+profiler@14.0.
|
|
1279
|
+
// ../../node_modules/.pnpm/@secretlint+profiler@14.0.1/node_modules/@secretlint/profiler/module/node.js
|
|
1280
1280
|
const secretLintProfiler = new SecretLintProfiler({ now: () => perf_hooks.performance.now() });
|
|
1281
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1281
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/filter-ignored-process.js
|
|
1282
1282
|
/**
|
|
1283
1283
|
* the `index` is in the `range` and return true.
|
|
1284
1284
|
* @param {Number} index
|
|
@@ -1306,7 +1306,7 @@ function filterIgnoredMessages(options) {
|
|
|
1306
1306
|
});
|
|
1307
1307
|
});
|
|
1308
1308
|
}
|
|
1309
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1309
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/MessageProcessManager.js
|
|
1310
1310
|
const createMessageProcessor = (processors) => {
|
|
1311
1311
|
return {
|
|
1312
1312
|
/**
|
|
@@ -1320,7 +1320,7 @@ process(messages) {
|
|
|
1320
1320
|
}, originalMessages);
|
|
1321
1321
|
} };
|
|
1322
1322
|
};
|
|
1323
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1323
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/filter-duplicated-process.js
|
|
1324
1324
|
/**
|
|
1325
1325
|
* equal message
|
|
1326
1326
|
*/
|
|
@@ -1337,7 +1337,7 @@ function filterDuplicatedMessages(messages = []) {
|
|
|
1337
1337
|
});
|
|
1338
1338
|
});
|
|
1339
1339
|
}
|
|
1340
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1340
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/sort-messages-process.js
|
|
1341
1341
|
/**
|
|
1342
1342
|
* sort messages by line and column
|
|
1343
1343
|
*/
|
|
@@ -1348,7 +1348,7 @@ function sortMessagesByLocation(messages) {
|
|
|
1348
1348
|
else return startIndexDiff;
|
|
1349
1349
|
});
|
|
1350
1350
|
}
|
|
1351
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1351
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/filter-message-id.js
|
|
1352
1352
|
const filterByAllowMessageIds = (messages, allowMessageIds) => {
|
|
1353
1353
|
const disabledSet = new Set(allowMessageIds.map((allowMessage) => {
|
|
1354
1354
|
return `${allowMessage.ruleId}--${allowMessage.messageId}`;
|
|
@@ -1357,7 +1357,7 @@ const filterByAllowMessageIds = (messages, allowMessageIds) => {
|
|
|
1357
1357
|
return !disabledSet.has(`${message.ruleId}--${message.messageId}`);
|
|
1358
1358
|
});
|
|
1359
1359
|
};
|
|
1360
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1360
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/filter-mask-secrets.js
|
|
1361
1361
|
const deepMask = (object, handler) => {
|
|
1362
1362
|
for (const key of Object.keys(object)) if (typeof object[key] === "object" && object[key] !== null) object[key] = deepMask(object[key], handler);
|
|
1363
1363
|
else if (typeof object[key] === "string") object[key] = handler(object[key]);
|
|
@@ -1405,7 +1405,7 @@ const filterMaskSecretsData = (messages = []) => {
|
|
|
1405
1405
|
};
|
|
1406
1406
|
});
|
|
1407
1407
|
};
|
|
1408
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
1408
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/messages/index.js
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Post cleanup messages
|
|
1411
1411
|
* - filter ignored range
|
|
@@ -2219,7 +2219,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2219
2219
|
return util.inspect(v, this.inspectOpts);
|
|
2220
2220
|
};
|
|
2221
2221
|
}));
|
|
2222
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
2222
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/helper/keyword-matcher.js
|
|
2223
2223
|
var import_src = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2224
2224
|
/**
|
|
2225
2225
|
* Detect Electron renderer / nwjs process, which is node, but we should
|
|
@@ -2494,7 +2494,7 @@ const getKeywordMatcher = (keywords, guards = []) => {
|
|
|
2494
2494
|
matcherCache.set(key, matcher);
|
|
2495
2495
|
return matcher;
|
|
2496
2496
|
};
|
|
2497
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
2497
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/helper/line-check.js
|
|
2498
2498
|
const LINE_FEED = 10;
|
|
2499
2499
|
const textDecoder = new TextDecoder("utf-8", { ignoreBOM: true });
|
|
2500
2500
|
/**
|
|
@@ -2560,7 +2560,7 @@ const hasLineMatchInBytes = (view, hits, bytes, contentStart, test = (pattern, l
|
|
|
2560
2560
|
return patterns.some((pattern) => test(pattern, line));
|
|
2561
2561
|
});
|
|
2562
2562
|
};
|
|
2563
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
2563
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/keyword-scan.js
|
|
2564
2564
|
const createKeywordScanPlan = ({ keywords, guards, requiresKeyword, ruleCheck }) => {
|
|
2565
2565
|
const planGuards = keywords.map((_, index) => {
|
|
2566
2566
|
const guard = guards[index];
|
|
@@ -4583,7 +4583,7 @@ var require_picomatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4583
4583
|
Object.assign(picomatch, pico);
|
|
4584
4584
|
module.exports = picomatch;
|
|
4585
4585
|
}));
|
|
4586
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
4586
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/builtin/path-util.js
|
|
4587
4587
|
var import_regexp_string_matcher = require_regexp_string_matcher();
|
|
4588
4588
|
var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch(), 1);
|
|
4589
4589
|
/**
|
|
@@ -4598,7 +4598,7 @@ const basename$1 = (filePath) => {
|
|
|
4598
4598
|
const index = Math.max(trimmed.lastIndexOf("/"), trimmed.lastIndexOf("\\"));
|
|
4599
4599
|
return index === -1 ? trimmed : trimmed.slice(index + 1);
|
|
4600
4600
|
};
|
|
4601
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
4601
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/helper/extract-keywords.js
|
|
4602
4602
|
/**
|
|
4603
4603
|
* Find keywords in a regular expression: strings that every match of the regular expression contains.
|
|
4604
4604
|
*
|
|
@@ -4821,7 +4821,7 @@ const extractKeywords = (regex) => {
|
|
|
4821
4821
|
throw error;
|
|
4822
4822
|
}
|
|
4823
4823
|
};
|
|
4824
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
4824
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/builtin/rules/pattern/user-patterns.js
|
|
4825
4825
|
/**
|
|
4826
4826
|
* Return true if the file path matches the globs, in the same way as `micromatch([filePath], globs).length > 0`.
|
|
4827
4827
|
* A negated glob (starting with "!") excludes the path, and a later positive glob includes it again.
|
|
@@ -4942,7 +4942,7 @@ const compileUserPatterns = (options) => {
|
|
|
4942
4942
|
});
|
|
4943
4943
|
});
|
|
4944
4944
|
};
|
|
4945
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
4945
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/builtin/rules/pattern/index.js
|
|
4946
4946
|
/**
|
|
4947
4947
|
* Without `options.patterns`, the rule adds nothing to the lint.
|
|
4948
4948
|
*/
|
|
@@ -4956,7 +4956,7 @@ const creator$1 = {
|
|
|
4956
4956
|
},
|
|
4957
4957
|
patterns: []
|
|
4958
4958
|
};
|
|
4959
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
4959
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/LintPlan.js
|
|
4960
4960
|
const debug$1 = (0, import_src.default)("@secretlint/core");
|
|
4961
4961
|
const isRulePreset = (ruleDescriptor) => {
|
|
4962
4962
|
return ruleDescriptor.rule.meta.type === "preset";
|
|
@@ -5354,7 +5354,7 @@ const getLintPlan = (config, locale) => {
|
|
|
5354
5354
|
else planCache.set(config, /* @__PURE__ */ new Map([[locale, plan]]));
|
|
5355
5355
|
return plan;
|
|
5356
5356
|
};
|
|
5357
|
-
// ../../node_modules/.pnpm/@secretlint+core@14.0.
|
|
5357
|
+
// ../../node_modules/.pnpm/@secretlint+core@14.0.1_supports-color@7.2.0/node_modules/@secretlint/core/module/index.js
|
|
5358
5358
|
const debug = (0, import_src.default)("@secretlint/core");
|
|
5359
5359
|
const NO_KEYWORD_LINES = [];
|
|
5360
5360
|
/**
|