Upgrade to TypeScript 5.4.5 (#7394)

- Don't show in changelog
This commit is contained in:
D8H
2025-02-12 17:51:36 +01:00
committed by GitHub
parent 9820770fb3
commit 7a21f9533e
33 changed files with 196 additions and 187 deletions

View File

@@ -1,15 +1,4 @@
namespace gdjs {
export interface Object3DDataContent {
width: float;
height: float;
depth: float;
}
/** Base parameters for {@link gdjs.RuntimeObject3D} */
export interface Object3DData extends ObjectData {
/** The base parameters of the RuntimeObject3D */
content: Object3DDataContent;
}
const getValidDimensionValue = (value: float | undefined) =>
value === undefined ? 100 : value <= 0 ? 1 : value;
@@ -84,7 +73,7 @@ namespace gdjs {
constructor(
instanceContainer: gdjs.RuntimeInstanceContainer,
objectData: Object3DData
objectData: gdjs.Object3DData
) {
super(instanceContainer, objectData);
// TODO Should 0 be replaced by 0.01 instead of using the default value?

View File

@@ -117,6 +117,17 @@ namespace gdjs {
getUnrotatedAABBMaxZ(): number;
}
export interface Object3DDataContent {
width: float;
height: float;
depth: float;
}
/** Base parameters for {@link gdjs.RuntimeObject3D} */
export interface Object3DData extends ObjectData {
/** The base parameters of the RuntimeObject3D */
content: Object3DDataContent;
}
export namespace Base3DHandler {
export const is3D = (
object: gdjs.RuntimeObject

View File

@@ -140,7 +140,7 @@ namespace gdjs {
* Sets the visibility of a face of the 3D box.
*
* @param faceName - The name of the face to set visibility for.
* @param value - The visibility value to set.
* @param enable - The visibility value to set.
*/
setFaceVisibility(faceName: FaceName, enable: boolean) {
const faceIndex = faceNameToBitmaskIndex[faceName];
@@ -163,7 +163,7 @@ namespace gdjs {
* Sets the texture repeat of a face of the 3D box.
*
* @param faceName - The name of the face to set visibility for.
* @param value - The visibility value to set.
* @param enable - The visibility value to set.
*/
setRepeatTextureOnFace(faceName: FaceName, enable: boolean) {
const faceIndex = faceNameToBitmaskIndex[faceName];

View File

@@ -1,15 +1,4 @@
namespace gdjs {
export interface Object3DDataContent {
width: float;
height: float;
depth: float;
}
/** Base parameters for {@link gdjs.RuntimeObject3D} */
export interface Object3DData extends ObjectData {
/** The base parameters of the RuntimeObject3D */
content: Object3DDataContent;
}
/**
* Base class for 3D custom objects.
*/
@@ -41,7 +30,7 @@ namespace gdjs {
constructor(
parent: gdjs.RuntimeInstanceContainer,
objectData: Object3DData & CustomObjectConfiguration
objectData: gdjs.Object3DData & gdjs.CustomObjectConfiguration
) {
super(parent, objectData);
this._renderer.reinitialize(this, parent);

View File

@@ -1,10 +1,10 @@
namespace gdjs {
/**
* Tools to manipulate the game window positioning and
* interactions with the operating system.
* @author arthuro555
*/
export namespace evtTools {
/**
* Tools to manipulate the game window positioning and
* interactions with the operating system.
* @author arthuro555
*/
export namespace advancedWindow {
const getElectronBrowserWindow = (runtimeScene: gdjs.RuntimeScene) => {
try {

View File

@@ -235,7 +235,8 @@ module.exports = {
class RenderedLightObjectInstance extends RenderedInstance {
_radius = 0;
_color = 0;
_radiusGraphics = null;
/** @type {PIXI.Graphics} The circle to show the radius of the light */
_radiusGraphics;
constructor(
project,
@@ -259,7 +260,6 @@ module.exports = {
lightIconSprite.anchor.x = 0.5;
lightIconSprite.anchor.y = 0.5;
// The circle to show the radius of the light.
this._radiusGraphics = new PIXI.Graphics();
this._pixiObject = new PIXI.Container();

View File

@@ -65,8 +65,10 @@ namespace gdjs {
/**
* Returns all the platforms around the specified object.
* @param maxMovementLength The maximum distance, in pixels, the object is going to do.
* @return An array with all platforms near the object.
* @param x The center X of the area to search.
* @param y The center Y of the area to search.
* @param radius The maximum distance, in pixels, the object is going to do.
* @param result An array returned with all platforms near the object.
*/
getAllObstaclesAround(
x: float,

View File

@@ -272,6 +272,8 @@ describe('gdjs.PathfindingRuntimeBehavior', function () {
targetX = playerX;
targetY = playerY - 2 * cellSize;
break;
default:
throw new Error('Invalid direction for the test');
}
obstacle.setPosition(obstacleX, obstacleY);
@@ -341,6 +343,8 @@ describe('gdjs.PathfindingRuntimeBehavior', function () {
targetX = playerX;
targetY = playerY - 2 * cellSize;
break;
default:
throw new Error('Invalid direction for the test');
}
obstacle.setPosition(obstacleX, obstacleY);
@@ -474,6 +478,8 @@ describe('gdjs.PathfindingRuntimeBehavior', function () {
obstacleY =
targetY + playerBottomBorder + obstacleTopBorder + inclusiveMargin;
break;
default:
throw new Error('Invalid direction for the test');
}
obstacle.setPosition(obstacleX, obstacleY);
@@ -631,6 +637,8 @@ describe('gdjs.PathfindingRuntimeBehavior', function () {
straightLineCellCount = (targetY - playerY) / cellSize + 1;
break;
}
default:
throw new Error('Invalid direction for the test');
}
obstacleTop.setPosition(topObstacleX, topObstacleY);

View File

@@ -1085,7 +1085,7 @@ namespace gdjs {
/**
* Set the jump sustain time of the Character.
* @param jumpSpeed The new jump sustain time.
* @param jumpSustainTime The new jump sustain time.
*/
setJumpSustainTime(jumpSustainTime: float): void {
this._jumpSustainTime = jumpSustainTime;

View File

@@ -1573,7 +1573,7 @@ namespace gdjs {
/**
* Set the jump sustain time of the Platformer Object.
* @param jumpSpeed The new jump sustain time.
* @param jumpSustainTime The new jump sustain time.
*/
setJumpSustainTime(jumpSustainTime: float): void {
this._jumpSustainTime = jumpSustainTime;

View File

@@ -137,10 +137,11 @@ module.exports = {
const { PIXI, RenderedInstance, gd } = objectsRenderingService;
class RenderedSpineInstance extends RenderedInstance {
/** @type {pixi_spine.Spine | null} */
_spine = null;
_rect = new PIXI.Graphics();
_initialWidth = null;
_initialHeight = null;
_initialWidth = 256;
_initialHeight = 256;
_animationIndex = -1;
_spineOriginOffsetX = 0;
_spineOriginOffsetY = 0;
@@ -304,14 +305,14 @@ module.exports = {
* @returns {number} default width
*/
getDefaultWidth() {
return this._initialWidth !== null ? this._initialWidth : 256;
return this._initialWidth;
}
/**
* @returns {number} default height
*/
getDefaultHeight() {
return this._initialHeight !== null ? this._initialHeight : 256;
return this._initialHeight;
}
onRemovedFromScene() {

View File

@@ -31,8 +31,8 @@ namespace gdjs {
>();
/**
* @param resources The resources data of the game.
* @param resourcesLoader The resources loader of the game.
* @param resourceLoader The resources loader of the game.
* @param imageManager The image manager of the game.
*/
constructor(
resourceLoader: gdjs.ResourceLoader,
@@ -55,9 +55,9 @@ namespace gdjs {
}
/**
* Returns promisified loaded atlas resource if it is availble, loads it otherwise.
* Returns promisified loaded atlas resource if it is available, loads it otherwise.
*
* @param resources The data of resource to load.
* @param resourceName The name of resource to load.
*/
getOrLoad(resourceName: string): Promise<pixi_spine.TextureAtlas> {
const resource = this._getAtlasResource(resourceName);
@@ -104,7 +104,7 @@ namespace gdjs {
/**
* Load specified atlas resource and pass it to callback once it is loaded.
*
* @param resources The data of resource to load.
* @param resource The data of resource to load.
* @param callback The callback to pass atlas to it once it is loaded.
*/
load(

View File

@@ -17,8 +17,8 @@ namespace gdjs {
private _loadedSpines = new gdjs.ResourceCache<pixi_spine.ISkeletonData>();
/**
* @param resourceDataArray The resources data of the game.
* @param resourcesLoader The resources loader of the game.
* @param resourceLoader The resources loader of the game.
* @param spineAtlasManager The resources data of the game.
*/
constructor(
resourceLoader: gdjs.ResourceLoader,

View File

@@ -583,10 +583,10 @@ namespace gdjs {
/**
* Change the text color.
* @param color color as a "R;G;B" string, for example: "255;0;0"
* @param colorString color as a "R;G;B" string, for example: "255;0;0"
*/
setColor(str: string): void {
const color = str.split(';');
setColor(colorString: string): void {
const color = colorString.split(';');
if (color.length < 3) {
return;
}

View File

@@ -1361,7 +1361,7 @@ namespace gdjs {
* @deprecated Use addObjectColorHSLTween2 instead.
* @param identifier Unique id to identify the tween
* @param toHue The target hue, or the same as the from color's hue if blank
* @param animateHue, include hue in calculations, as can't set this to -1 as default to ignore
* @param animateHue include hue in calculations, as can't set this to -1 as default to ignore
* @param toSaturation The target saturation, or the same as the from color's saturation if blank
* @param toLightness The target lightness, or the same as the from color's lightness if blank
* @param easing Easing function identifier
@@ -1395,7 +1395,7 @@ namespace gdjs {
* Tween an object HSL color, with the "to" color given using HSL (H: any number, S and L: 0-100).
* @param identifier Unique id to identify the tween
* @param toHue The target hue, or the same as the from color's hue if blank
* @param animateHue, include hue in calculations, as can't set this to -1 as default to ignore
* @param animateHue include hue in calculations, as can't set this to -1 as default to ignore
* @param toSaturation The target saturation, or the same as the from color's saturation if blank
* @param toLightness The target lightness, or the same as the from color's lightness if blank
* @param easing Easing function identifier

View File

@@ -329,7 +329,7 @@ namespace gdjs {
*
* @param x The X position of the point, in object coordinates.
* @param y The Y position of the point, in object coordinates.
* @param result Array that will be updated with the result
* @param destination Array that will be updated with the result
* (x and y position of the point in parent coordinates).
*/
applyObjectTransformation(x: float, y: float, destination: FloatPoint) {
@@ -388,7 +388,7 @@ namespace gdjs {
*
* @param x The X position of the point, in parent coordinates.
* @param y The Y position of the point, in parent coordinates.
* @param result Array that will be updated with the result
* @param destination Array that will be updated with the result
* (x and y position of the point in object coordinates).
*/
applyObjectInverseTransformation(
@@ -798,10 +798,6 @@ namespace gdjs {
return this.opacity;
}
/**
* Hide (or show) the object
* @param enable true to hide the object, false to show it again.
*/
hide(enable: boolean): void {
if (enable === undefined) {
enable = true;

View File

@@ -28,7 +28,6 @@ namespace gdjs {
_invalidModel: THREE_ADDONS.GLTF;
/**
* @param resourceDataArray The resources data of the game.
* @param resourceLoader The resources loader of the game.
*/
constructor(resourceLoader: gdjs.ResourceLoader) {

View File

@@ -738,7 +738,7 @@ namespace gdjs {
* Change the position of a layer.
*
* @param layerName The name of the layer to reorder
* @param index The new position in the list of layers
* @param newIndex The new position in the list of layers
*/
setLayerIndex(layerName: string, newIndex: integer): void {
const layer: gdjs.RuntimeLayer = this._layers.get(layerName);

View File

@@ -102,8 +102,8 @@ namespace gdjs {
points: Hashtable<SpritePoint>;
/**
* @param imageManager The game image manager
* @param frameData The frame data used to initialize the frame
* @param textureManager The game image manager
*/
constructor(
frameData: SpriteFrameData,
@@ -204,8 +204,8 @@ namespace gdjs {
frames: SpriteAnimationFrame<T>[] = [];
/**
* @param imageManager The game image manager
* @param directionData The direction data used to initialize the direction
* @param textureManager The game image manager
*/
constructor(
directionData: SpriteDirectionData,
@@ -315,7 +315,7 @@ namespace gdjs {
private _onFrameChange: (() => void) | null = null;
/**
* @param frameData The frame data used to initialize the frame
* @param animations The animation list data used to initialize the animator
* @param textureManager The game image manager
*/
constructor(
@@ -649,7 +649,8 @@ namespace gdjs {
/**
* Change the angle (or direction index) of the object
* @param The new angle (or direction index) to be applied
* @param oldValue The old angle
* @param newValue The new angle (or direction index) to be applied
* @deprecated
*/
setDirectionOrAngle(oldValue: float, newValue: float): float | null {

View File

@@ -104,8 +104,8 @@ namespace gdjs {
/**
* Reset to a translation.
*
* @param x The horizontal translation value.
* @param y The vertical translation value.
* @param tx The horizontal translation value.
* @param ty The vertical translation value.
*/
setToTranslation(tx: float, ty: float) {
const matrix = this.matrix;
@@ -182,10 +182,10 @@ namespace gdjs {
*
* @param angle The angle of rotation in radians.
*/
setToRotation(theta: float) {
setToRotation(angle: float) {
const matrix = this.matrix;
let cost = Math.cos(theta);
let sint = Math.sin(theta);
let cost = Math.cos(angle);
let sint = Math.sin(angle);
// Avoid rounding errors around 0.
if (cost === -1 || cost === 1) {

View File

@@ -20,7 +20,6 @@ namespace gdjs {
_loadedFontFamilySet = new Set<string>();
/**
* @param resources The resources data of the game.
* @param resourceLoader The resources loader of the game.
*/
constructor(resourceLoader: gdjs.ResourceLoader) {
@@ -163,7 +162,7 @@ namespace gdjs {
/**
* Load the specified resources, so that fonts are loaded and can then be
* used by using the font family returned by getFontFamily.
* @param onProgress Callback called each time a new file is loaded.
* @param resourceName The name of the resource to load.
*/
async loadResource(resourceName: string): Promise<void> {
const resource = this._resourceLoader.getResource(resourceName);

View File

@@ -383,7 +383,6 @@ namespace gdjs {
_resourceLoader: gdjs.ResourceLoader;
/**
* @param resources The resources data of the game.
* @param resourceLoader The resources loader of the game.
*/
constructor(resourceLoader: gdjs.ResourceLoader) {

View File

@@ -28,7 +28,6 @@ namespace gdjs {
_callbacks = new gdjs.ResourceCache<Array<JsonManagerRequestCallback>>();
/**
* @param resourceDataArray The resources data of the game.
* @param resourceLoader The resources loader of the game.
*/
constructor(resourceLoader: gdjs.ResourceLoader) {

View File

@@ -60,7 +60,6 @@ namespace gdjs {
_resourceLoader: gdjs.ResourceLoader;
/**
* @param resourceDataArray The resources data of the game.
* @param resourceLoader The resources loader of the game.
* @param imageManager The image manager to be used to get textures used by fonts.
*/

View File

@@ -73,8 +73,6 @@ namespace gdjs {
/**
* Apply the effect on the PixiJS DisplayObject.
* Called after the effect is initialized.
* @param rendererObject The renderer object
* @param effect The effect to be applied.
*/
applyEffect(target: EffectsTarget): boolean;
removeEffect(target: EffectsTarget): boolean;

View File

@@ -64,7 +64,6 @@ namespace gdjs {
private _resourceLoader: gdjs.ResourceLoader;
/**
* @param resources The resources data of the game.
* @param resourceLoader The resources loader of the game.
*/
constructor(resourceLoader: gdjs.ResourceLoader) {

View File

@@ -202,7 +202,7 @@ namespace gdjs {
/**
* @param data The object (usually stored in data.json) containing the full project data
* @param
* @param options The game options
*/
constructor(data: ProjectData, options?: RuntimeGameOptions) {
this._options = options || {};

View File

@@ -230,7 +230,7 @@ namespace gdjs {
protected _timers: Hashtable<gdjs.Timer>;
/**
* @param runtimeScene The scene the object belongs to..
* @param instanceContainer The scene or custom object the object belongs to.
* @param objectData The initial properties of the object.
*/
constructor(
@@ -1472,7 +1472,7 @@ namespace gdjs {
/**
* Change the object center Y position in the scene.
* @param x The new Y position of the center in the scene.
* @param y The new Y position of the center in the scene.
*/
setCenterYInScene(y: float): void {
this.setY(y + this.y - (this.getDrawableY() + this.getCenterY()));

View File

@@ -121,7 +121,7 @@ namespace gdjs {
/**
* Load the runtime scene from the given scene.
* @param sceneData An object containing the scene data.
* @param sceneAndExtensionsData An object containing the scene data.
* @see gdjs.RuntimeGame#getSceneAndExtensionsData
*/
loadFromScene(sceneAndExtensionsData: SceneAndExtensionsData | null) {

View File

@@ -351,7 +351,7 @@ namespace gdjs {
/**
* Change the angle (or direction index) of the object
* @param The new angle (or direction index) to be applied
* @param newValue The new angle (or direction index) to be applied
*/
setDirectionOrAngle(newValue: float): void {
const actualValue = this._animator.setDirectionOrAngle(

220
GDJS/package-lock.json generated
View File

@@ -24,9 +24,9 @@
"prettier": "2.1.2",
"recursive-readdir": "^2.2.2",
"shelljs": "^0.8.4",
"typedoc": "^0.22.11",
"typedoc-plugin-reference-excluder": "^1.0.0",
"typescript": "4.3.2"
"typedoc": "^0.25.13",
"typedoc-plugin-reference-excluder": "^1.1.3",
"typescript": "5.4.5"
}
},
"node_modules/@pixi-spine/base": {
@@ -394,6 +394,12 @@
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
},
"node_modules/ansi-sequence-parser": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.3.tgz",
"integrity": "sha512-+fksAx9eG3Ab6LDnLs3ZqZa8KVJ/jYnX+D4Qe1azX+LFGFAXqynCQLOdLpNYN/l9e7l6hMWwZbrnctqr6eSQSw==",
"dev": true
},
"node_modules/ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
@@ -1220,9 +1226,9 @@
"dev": true
},
"node_modules/jsonc-parser": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz",
"integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
"integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==",
"dev": true
},
"node_modules/jsonfile": {
@@ -1310,6 +1316,18 @@
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
"dev": true
},
"node_modules/marked": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz",
"integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==",
"dev": true,
"bin": {
"marked": "bin/marked.js"
},
"engines": {
"node": ">= 12"
}
},
"node_modules/meshoptimizer": {
"version": "0.18.1",
"resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-0.18.1.tgz",
@@ -2064,14 +2082,15 @@
}
},
"node_modules/shiki": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/shiki/-/shiki-0.10.0.tgz",
"integrity": "sha512-iczxaIYeBFHTFrQPb9DVy2SKgYxC4Wo7Iucm7C17cCh2Ge/refnvHscUOxM85u57MfLoNOtjoEFUWt9gBexblA==",
"version": "0.14.7",
"resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz",
"integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==",
"dev": true,
"dependencies": {
"jsonc-parser": "^3.0.0",
"vscode-oniguruma": "^1.6.1",
"vscode-textmate": "5.2.0"
"ansi-sequence-parser": "^1.1.0",
"jsonc-parser": "^3.2.0",
"vscode-oniguruma": "^1.7.0",
"vscode-textmate": "^8.0.0"
}
},
"node_modules/side-channel": {
@@ -2140,79 +2159,70 @@
"dev": true
},
"node_modules/typedoc": {
"version": "0.22.11",
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.11.tgz",
"integrity": "sha512-pVr3hh6dkS3lPPaZz1fNpvcrqLdtEvXmXayN55czlamSgvEjh+57GUqfhAI1Xsuu/hNHUT1KNSx8LH2wBP/7SA==",
"version": "0.25.13",
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.13.tgz",
"integrity": "sha512-pQqiwiJ+Z4pigfOnnysObszLiU3mVLWAExSPf+Mu06G/qsc3wzbuM56SZQvONhHLncLUhYzOVkjFFpFfL5AzhQ==",
"dev": true,
"dependencies": {
"glob": "^7.2.0",
"lunr": "^2.3.9",
"marked": "^4.0.10",
"minimatch": "^3.0.4",
"shiki": "^0.10.0"
"marked": "^4.3.0",
"minimatch": "^9.0.3",
"shiki": "^0.14.7"
},
"bin": {
"typedoc": "bin/typedoc"
},
"engines": {
"node": ">= 12.10.0"
"node": ">= 16"
},
"peerDependencies": {
"typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x"
"typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x"
}
},
"node_modules/typedoc-plugin-reference-excluder": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/typedoc-plugin-reference-excluder/-/typedoc-plugin-reference-excluder-1.0.0.tgz",
"integrity": "sha512-M09tKr9/9+IWm2jWr2a7gdAuoB0OapfEqxlXt1I1PH8cL0cN0XuZ722oUlx+wYbQOfy5JDE+xza48iDAKYOQew==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/typedoc-plugin-reference-excluder/-/typedoc-plugin-reference-excluder-1.1.3.tgz",
"integrity": "sha512-AW8zIGOX+megK9fQUVDYyjKAPLSq/uZ6KVOS6IY1k+QB9GSjZw7IfpBWTEOq9LH+RJ9eouhpdu5UEFBOqVh7Wg==",
"dev": true,
"peerDependencies": {
"typedoc": ">=0.22.0"
}
},
"node_modules/typedoc/node_modules/glob": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"node_modules/typedoc/node_modules/brace-expansion": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
"dev": true,
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
"balanced-match": "^1.0.0"
}
},
"node_modules/typedoc/node_modules/minimatch": {
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
"dev": true,
"dependencies": {
"brace-expansion": "^2.0.1"
},
"engines": {
"node": "*"
"node": ">=16 || 14 >=14.17"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/typedoc/node_modules/marked": {
"version": "4.0.12",
"resolved": "https://registry.npmjs.org/marked/-/marked-4.0.12.tgz",
"integrity": "sha512-hgibXWrEDNBWgGiK18j/4lkS6ihTe9sxtV4Q1OQppb/0zzyPSzoFANBa5MfsG/zgsWklmNnhm0XACZOH/0HBiQ==",
"dev": true,
"bin": {
"marked": "bin/marked.js"
},
"engines": {
"node": ">= 12"
}
},
"node_modules/typescript": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
"version": "5.4.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
"node": ">=14.17"
}
},
"node_modules/universalify": {
@@ -2235,15 +2245,15 @@
}
},
"node_modules/vscode-oniguruma": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.6.1.tgz",
"integrity": "sha512-vc4WhSIaVpgJ0jJIejjYxPvURJavX6QG41vu0mGhqywMkQqulezEqEQ3cO3gc8GvcOpX6ycmKGqRoROEMBNXTQ==",
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz",
"integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==",
"dev": true
},
"node_modules/vscode-textmate": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz",
"integrity": "sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==",
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz",
"integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==",
"dev": true
},
"node_modules/which": {
@@ -2564,6 +2574,12 @@
"dev": true,
"requires": {}
},
"ansi-sequence-parser": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.3.tgz",
"integrity": "sha512-+fksAx9eG3Ab6LDnLs3ZqZa8KVJ/jYnX+D4Qe1azX+LFGFAXqynCQLOdLpNYN/l9e7l6hMWwZbrnctqr6eSQSw==",
"dev": true
},
"ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
@@ -3191,9 +3207,9 @@
"dev": true
},
"jsonc-parser": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz",
"integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
"integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==",
"dev": true
},
"jsonfile": {
@@ -3268,6 +3284,12 @@
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
"dev": true
},
"marked": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz",
"integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==",
"dev": true
},
"meshoptimizer": {
"version": "0.18.1",
"resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-0.18.1.tgz",
@@ -3841,14 +3863,15 @@
}
},
"shiki": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/shiki/-/shiki-0.10.0.tgz",
"integrity": "sha512-iczxaIYeBFHTFrQPb9DVy2SKgYxC4Wo7Iucm7C17cCh2Ge/refnvHscUOxM85u57MfLoNOtjoEFUWt9gBexblA==",
"version": "0.14.7",
"resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz",
"integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==",
"dev": true,
"requires": {
"jsonc-parser": "^3.0.0",
"vscode-oniguruma": "^1.6.1",
"vscode-textmate": "5.2.0"
"ansi-sequence-parser": "^1.1.0",
"jsonc-parser": "^3.2.0",
"vscode-oniguruma": "^1.7.0",
"vscode-textmate": "^8.0.0"
}
},
"side-channel": {
@@ -3902,51 +3925,48 @@
"dev": true
},
"typedoc": {
"version": "0.22.11",
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.11.tgz",
"integrity": "sha512-pVr3hh6dkS3lPPaZz1fNpvcrqLdtEvXmXayN55czlamSgvEjh+57GUqfhAI1Xsuu/hNHUT1KNSx8LH2wBP/7SA==",
"version": "0.25.13",
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.13.tgz",
"integrity": "sha512-pQqiwiJ+Z4pigfOnnysObszLiU3mVLWAExSPf+Mu06G/qsc3wzbuM56SZQvONhHLncLUhYzOVkjFFpFfL5AzhQ==",
"dev": true,
"requires": {
"glob": "^7.2.0",
"lunr": "^2.3.9",
"marked": "^4.0.10",
"minimatch": "^3.0.4",
"shiki": "^0.10.0"
"marked": "^4.3.0",
"minimatch": "^9.0.3",
"shiki": "^0.14.7"
},
"dependencies": {
"glob": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"brace-expansion": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
"balanced-match": "^1.0.0"
}
},
"marked": {
"version": "4.0.12",
"resolved": "https://registry.npmjs.org/marked/-/marked-4.0.12.tgz",
"integrity": "sha512-hgibXWrEDNBWgGiK18j/4lkS6ihTe9sxtV4Q1OQppb/0zzyPSzoFANBa5MfsG/zgsWklmNnhm0XACZOH/0HBiQ==",
"dev": true
"minimatch": {
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
"dev": true,
"requires": {
"brace-expansion": "^2.0.1"
}
}
}
},
"typedoc-plugin-reference-excluder": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/typedoc-plugin-reference-excluder/-/typedoc-plugin-reference-excluder-1.0.0.tgz",
"integrity": "sha512-M09tKr9/9+IWm2jWr2a7gdAuoB0OapfEqxlXt1I1PH8cL0cN0XuZ722oUlx+wYbQOfy5JDE+xza48iDAKYOQew==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/typedoc-plugin-reference-excluder/-/typedoc-plugin-reference-excluder-1.1.3.tgz",
"integrity": "sha512-AW8zIGOX+megK9fQUVDYyjKAPLSq/uZ6KVOS6IY1k+QB9GSjZw7IfpBWTEOq9LH+RJ9eouhpdu5UEFBOqVh7Wg==",
"dev": true,
"requires": {}
},
"typescript": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
"version": "5.4.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
"dev": true
},
"universalify": {
@@ -3966,15 +3986,15 @@
}
},
"vscode-oniguruma": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.6.1.tgz",
"integrity": "sha512-vc4WhSIaVpgJ0jJIejjYxPvURJavX6QG41vu0mGhqywMkQqulezEqEQ3cO3gc8GvcOpX6ycmKGqRoROEMBNXTQ==",
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz",
"integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==",
"dev": true
},
"vscode-textmate": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz",
"integrity": "sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==",
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz",
"integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==",
"dev": true
},
"which": {

View File

@@ -20,9 +20,9 @@
"prettier": "2.1.2",
"recursive-readdir": "^2.2.2",
"shelljs": "^0.8.4",
"typedoc": "^0.22.11",
"typedoc-plugin-reference-excluder": "^1.0.0",
"typescript": "4.3.2"
"typedoc": "^0.25.13",
"typedoc-plugin-reference-excluder": "^1.1.3",
"typescript": "5.4.5"
},
"scripts": {
"postinstall": "patch-package",
@@ -31,6 +31,6 @@
"test": "cd tests && npm run test-benchmark",
"format": "prettier --write \"Runtime/**/*.ts\" \"../Extensions/**/*.ts\" \"../Extensions/**/JsExtension.js\" \"../Extensions/**/*.spec.js\"",
"check-format": "prettier --list-different \"Runtime/**/*.ts\" \"../Extensions/**/*.ts\" \"../Extensions/**/JsExtension.js\" \"../Extensions/**/*.spec.js\"",
"generate-doc": "typedoc --options docs/typedoc.json"
"generate-doc": "typedoc --options docs/typedoc.json --plugin typedoc-plugin-reference-excluder"
}
}