chore(deps-dev): bump @ts-dev-tools/core

Bumps the npm-dev-dependencies group with 1 update in the / directory: [@ts-dev-tools/core](https://github.com/escemi-tech/ts-dev-tools).

Updates `@ts-dev-tools/core` from 1.6.2 to 1.8.9
- [Release notes](https://github.com/escemi-tech/ts-dev-tools/releases)
- [Commits](https://github.com/escemi-tech/ts-dev-tools/compare/@ts-dev-tools/core@1.6.2...@ts-dev-tools/core@1.8.9)

---
updated-dependencies:
- dependency-name: "@ts-dev-tools/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
This commit is contained in:
dependabot[bot] 2025-05-09 04:31:02 +00:00 committed by Emilien Escalle
parent f16481cead
commit 8ae455e3bb
6 changed files with 1620 additions and 2096 deletions

View File

@ -9,4 +9,4 @@ USER ${UID}:${GID}
ENV RUN_LOCAL=true
ENV USE_FIND_ALGORITHM=true
ENV LOG_LEVEL=WARN
ENV LOG_FILE="../logs"
ENV LOG_FILE="/github/home/logs"

66
dist/index.js generated vendored
View File

@ -33499,6 +33499,14 @@ module.exports = require("net");
/***/ }),
/***/ 4573:
/***/ ((module) => {
"use strict";
module.exports = require("node:buffer");
/***/ }),
/***/ 7598:
/***/ ((module) => {
@ -33515,6 +33523,14 @@ module.exports = require("node:events");
/***/ }),
/***/ 1708:
/***/ ((module) => {
"use strict";
module.exports = require("node:process");
/***/ }),
/***/ 7075:
/***/ ((module) => {
@ -35340,8 +35356,8 @@ function composeCollection(CN, ctx, token, props, onError) {
tag = kt;
}
else {
if (kt?.collection) {
onError(tagToken, 'BAD_COLLECTION_TYPE', `${kt.tag} used for ${expType} collection, but expects ${kt.collection}`, true);
if (kt) {
onError(tagToken, 'BAD_COLLECTION_TYPE', `${kt.tag} used for ${expType} collection, but expects ${kt.collection ?? 'scalar'}`, true);
}
else {
onError(tagToken, 'TAG_RESOLVE_FAILED', `Unresolved tag: ${tagName}`, true);
@ -35634,6 +35650,7 @@ exports.composeScalar = composeScalar;
"use strict";
var node_process = __nccwpck_require__(1708);
var directives = __nccwpck_require__(1342);
var Document = __nccwpck_require__(3021);
var errors = __nccwpck_require__(1464);
@ -35767,7 +35784,7 @@ class Composer {
}
/** Advance the composer by one CST token. */
*next(token) {
if (process.env.LOG_STREAM)
if (node_process.env.LOG_STREAM)
console.dir(token, { depth: null });
switch (token.type) {
case 'directive':
@ -36809,7 +36826,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn
if (atNewline) {
if (comment)
comment += token.source;
else
else if (!found || indicator !== 'seq-item-ind')
spaceBefore = true;
}
else
@ -37942,19 +37959,21 @@ exports.visitAsync = visit.visitAsync;
/***/ }),
/***/ 7249:
/***/ ((__unused_webpack_module, exports) => {
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
var node_process = __nccwpck_require__(1708);
function debug(logLevel, ...messages) {
if (logLevel === 'debug')
console.log(...messages);
}
function warn(logLevel, warning) {
if (logLevel === 'debug' || logLevel === 'warn') {
if (typeof process !== 'undefined' && process.emitWarning)
process.emitWarning(warning);
if (typeof node_process.emitWarning === 'function')
node_process.emitWarning(warning);
else
console.warn(warning);
}
@ -40130,6 +40149,7 @@ exports.LineCounter = LineCounter;
"use strict";
var node_process = __nccwpck_require__(1708);
var cst = __nccwpck_require__(3461);
var lexer = __nccwpck_require__(361);
@ -40296,7 +40316,7 @@ class Parser {
*/
*next(source) {
this.source = source;
if (process.env.LOG_TOKENS)
if (node_process.env.LOG_TOKENS)
console.log('|', cst.prettyToken(source));
if (this.atScalar) {
this.atScalar = false;
@ -40802,7 +40822,20 @@ class Parser {
default: {
const bv = this.startBlockValue(map);
if (bv) {
if (atMapIndent && bv.type !== 'block-seq') {
if (bv.type === 'block-seq') {
if (!it.explicitKey &&
it.sep &&
!includesToken(it.sep, 'newline')) {
yield* this.pop({
type: 'error',
offset: this.offset,
message: 'Unexpected block-seq-ind on same line with key',
source: this.source
});
return;
}
}
else if (atMapIndent) {
map.items.push({ start });
}
this.stack.push(bv);
@ -41707,6 +41740,7 @@ exports.getTags = getTags;
"use strict";
var node_buffer = __nccwpck_require__(4573);
var Scalar = __nccwpck_require__(3301);
var stringifyString = __nccwpck_require__(3069);
@ -41723,8 +41757,8 @@ const binary = {
* document.querySelector('#photo').src = URL.createObjectURL(blob)
*/
resolve(src, onError) {
if (typeof Buffer === 'function') {
return Buffer.from(src, 'base64');
if (typeof node_buffer.Buffer === 'function') {
return node_buffer.Buffer.from(src, 'base64');
}
else if (typeof atob === 'function') {
// On IE 11, atob() can't handle newlines
@ -41740,13 +41774,15 @@ const binary = {
}
},
stringify({ comment, type, value }, ctx, onComment, onChompKeep) {
if (!value)
return '';
const buf = value; // checked earlier by binary.identify()
let str;
if (typeof Buffer === 'function') {
if (typeof node_buffer.Buffer === 'function') {
str =
buf instanceof Buffer
buf instanceof node_buffer.Buffer
? buf.toString('base64')
: Buffer.from(buf.buffer).toString('base64');
: node_buffer.Buffer.from(buf.buffer).toString('base64');
}
else if (typeof btoa === 'function') {
let s = '';
@ -42463,7 +42499,7 @@ const timestamp = {
}
return new Date(date);
},
stringify: ({ value }) => value.toISOString().replace(/(T00:00:00)?\.000Z$/, '')
stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, '') ?? ''
};
exports.floatTime = floatTime;

66
dist/post.js generated vendored
View File

@ -26516,6 +26516,14 @@ module.exports = require("net");
/***/ }),
/***/ 4573:
/***/ ((module) => {
"use strict";
module.exports = require("node:buffer");
/***/ }),
/***/ 7598:
/***/ ((module) => {
@ -26532,6 +26540,14 @@ module.exports = require("node:events");
/***/ }),
/***/ 1708:
/***/ ((module) => {
"use strict";
module.exports = require("node:process");
/***/ }),
/***/ 7075:
/***/ ((module) => {
@ -28357,8 +28373,8 @@ function composeCollection(CN, ctx, token, props, onError) {
tag = kt;
}
else {
if (kt?.collection) {
onError(tagToken, 'BAD_COLLECTION_TYPE', `${kt.tag} used for ${expType} collection, but expects ${kt.collection}`, true);
if (kt) {
onError(tagToken, 'BAD_COLLECTION_TYPE', `${kt.tag} used for ${expType} collection, but expects ${kt.collection ?? 'scalar'}`, true);
}
else {
onError(tagToken, 'TAG_RESOLVE_FAILED', `Unresolved tag: ${tagName}`, true);
@ -28651,6 +28667,7 @@ exports.composeScalar = composeScalar;
"use strict";
var node_process = __nccwpck_require__(1708);
var directives = __nccwpck_require__(1342);
var Document = __nccwpck_require__(3021);
var errors = __nccwpck_require__(1464);
@ -28784,7 +28801,7 @@ class Composer {
}
/** Advance the composer by one CST token. */
*next(token) {
if (process.env.LOG_STREAM)
if (node_process.env.LOG_STREAM)
console.dir(token, { depth: null });
switch (token.type) {
case 'directive':
@ -29826,7 +29843,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn
if (atNewline) {
if (comment)
comment += token.source;
else
else if (!found || indicator !== 'seq-item-ind')
spaceBefore = true;
}
else
@ -30959,19 +30976,21 @@ exports.visitAsync = visit.visitAsync;
/***/ }),
/***/ 7249:
/***/ ((__unused_webpack_module, exports) => {
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
var node_process = __nccwpck_require__(1708);
function debug(logLevel, ...messages) {
if (logLevel === 'debug')
console.log(...messages);
}
function warn(logLevel, warning) {
if (logLevel === 'debug' || logLevel === 'warn') {
if (typeof process !== 'undefined' && process.emitWarning)
process.emitWarning(warning);
if (typeof node_process.emitWarning === 'function')
node_process.emitWarning(warning);
else
console.warn(warning);
}
@ -33147,6 +33166,7 @@ exports.LineCounter = LineCounter;
"use strict";
var node_process = __nccwpck_require__(1708);
var cst = __nccwpck_require__(3461);
var lexer = __nccwpck_require__(361);
@ -33313,7 +33333,7 @@ class Parser {
*/
*next(source) {
this.source = source;
if (process.env.LOG_TOKENS)
if (node_process.env.LOG_TOKENS)
console.log('|', cst.prettyToken(source));
if (this.atScalar) {
this.atScalar = false;
@ -33819,7 +33839,20 @@ class Parser {
default: {
const bv = this.startBlockValue(map);
if (bv) {
if (atMapIndent && bv.type !== 'block-seq') {
if (bv.type === 'block-seq') {
if (!it.explicitKey &&
it.sep &&
!includesToken(it.sep, 'newline')) {
yield* this.pop({
type: 'error',
offset: this.offset,
message: 'Unexpected block-seq-ind on same line with key',
source: this.source
});
return;
}
}
else if (atMapIndent) {
map.items.push({ start });
}
this.stack.push(bv);
@ -34724,6 +34757,7 @@ exports.getTags = getTags;
"use strict";
var node_buffer = __nccwpck_require__(4573);
var Scalar = __nccwpck_require__(3301);
var stringifyString = __nccwpck_require__(3069);
@ -34740,8 +34774,8 @@ const binary = {
* document.querySelector('#photo').src = URL.createObjectURL(blob)
*/
resolve(src, onError) {
if (typeof Buffer === 'function') {
return Buffer.from(src, 'base64');
if (typeof node_buffer.Buffer === 'function') {
return node_buffer.Buffer.from(src, 'base64');
}
else if (typeof atob === 'function') {
// On IE 11, atob() can't handle newlines
@ -34757,13 +34791,15 @@ const binary = {
}
},
stringify({ comment, type, value }, ctx, onComment, onChompKeep) {
if (!value)
return '';
const buf = value; // checked earlier by binary.identify()
let str;
if (typeof Buffer === 'function') {
if (typeof node_buffer.Buffer === 'function') {
str =
buf instanceof Buffer
buf instanceof node_buffer.Buffer
? buf.toString('base64')
: Buffer.from(buf.buffer).toString('base64');
: node_buffer.Buffer.from(buf.buffer).toString('base64');
}
else if (typeof btoa === 'function') {
let s = '';
@ -35480,7 +35516,7 @@ const timestamp = {
}
return new Date(date);
},
stringify: ({ value }) => value.toISOString().replace(/(T00:00:00)?\.000Z$/, '')
stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, '') ?? ''
};
exports.floatTime = floatTime;

3
eslint.config.mjs Normal file
View File

@ -0,0 +1,3 @@
import { default as tsDevToolsCore } from "@ts-dev-tools/core/dist/eslint-plugin-ts-dev-tools/index.js";
export default tsDevToolsCore.default;

3538
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -73,50 +73,17 @@
},
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.0",
"@actions/github": "^6.0.1",
"@actions/tool-cache": "^2.0.2",
"@octokit/action": "^7.0.1",
"@octokit/action": "^7.0.2",
"docker-compose": "^1.2.0"
},
"devDependencies": {
"@ts-dev-tools/core": "^1.6.2",
"@ts-dev-tools/core": "^1.9.1",
"@vercel/ncc": "^0.38.3",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-jsonc": "^2.20.0"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier"
],
"env": {
"es2021": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"settings": {
"jest": {
"version": "detect"
}
},
"ignorePatterns": [
"dist",
"node_modules"
]
},
"prettier": {
"semi": true,
"printWidth": 100,
@ -139,6 +106,6 @@
}
},
"tsDevTools": {
"version": "20220617100200-prettier-cache"
"version": "20240617094000-config-nx-scopes"
}
}