Game
- Update player class
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/08/18 00:30:31 by edbernar #+# #+# */
|
/* Created: 2024/08/18 00:30:31 by edbernar #+# #+# */
|
||||||
/* Updated: 2024/08/18 16:17:18 by edbernar ### ########.fr */
|
/* Updated: 2024/08/19 00:42:13 by edbernar ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -20,11 +20,13 @@ import * as THREE from 'three';
|
|||||||
Exemple : w et a sont pressées -> pressedButton = ['w', 'a']
|
Exemple : w et a sont pressées -> pressedButton = ['w', 'a']
|
||||||
- Les lignes avec cleanup sont l'êquivalent d'un destructeur en CPP
|
- Les lignes avec cleanup sont l'êquivalent d'un destructeur en CPP
|
||||||
- Pour appliquer des actions sur les touches, il suffit de faire ça dans la fonction
|
- Pour appliquer des actions sur les touches, il suffit de faire ça dans la fonction
|
||||||
update en regardant si la touche voulue est pressée dans la variable "pressedButton"
|
update en regardant si la touche voulue est dans la variable "pressedButton"
|
||||||
- Par défaut, la caméra est accroché, si on veut qu'elle ne bouge plus, il faut
|
- Par défaut, la caméra est accroché, si on veut qu'elle ne bouge plus, il faut
|
||||||
modifier "cameraFixed" à true
|
modifier "cameraFixed" à true (se fait avec la touche 'm' en jeu)
|
||||||
- Si on utilise une touche qui ne sera utilisée que pour un appui simple, il faudra la
|
- Si on utilise une touche qui ne sera utilisée que pour un appui simple, il faudra la
|
||||||
mettre dans 'addEventListerner('keypress') et pas dans update()
|
mettre dans 'addEventListerner('keypress') et pas dans update() pour eviter les
|
||||||
|
problèmes de touche non détecté
|
||||||
|
- La variable "limits" sert à délimiter les mouvements de la barre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -32,18 +34,27 @@ import * as THREE from 'three';
|
|||||||
- Ajouter une camera sur l'object (OK)
|
- Ajouter une camera sur l'object (OK)
|
||||||
- Faire une fonction pour changer le mode de la camera (fix ou accrochée) (OK)
|
- Faire une fonction pour changer le mode de la camera (fix ou accrochée) (OK)
|
||||||
- Ajouter une rotation quand la caméra est fixe (OK)
|
- Ajouter une rotation quand la caméra est fixe (OK)
|
||||||
|
- Corriger bug quand changement de caméra (camera qui se remet au dessus
|
||||||
|
quand on repasse au dessus alors qu'elle devrait être en dessous vu que la
|
||||||
|
barre est en haut). Mais peut etre faire ça quand la barre aura des mouvements
|
||||||
|
définis sur la hauteur.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
let playerExist = false;
|
let playerExist = false;
|
||||||
|
const limits = {
|
||||||
|
up : 2,
|
||||||
|
down: 0.2,
|
||||||
|
left: -4,
|
||||||
|
right: 4,
|
||||||
|
}
|
||||||
|
|
||||||
class Player
|
class Player
|
||||||
{
|
{
|
||||||
pressedButton = [];
|
pressedButton = [];
|
||||||
object = null;
|
object = null;
|
||||||
camera = null;
|
camera = null;
|
||||||
speed = 0.05;
|
speed = 0.1;
|
||||||
cameraFixed = false;
|
cameraFixed = false;
|
||||||
orbital = null;
|
|
||||||
|
|
||||||
constructor (object, renderer)
|
constructor (object, renderer)
|
||||||
{
|
{
|
||||||
@ -51,10 +62,7 @@ class Player
|
|||||||
throw Error("Player is already init.");
|
throw Error("Player is already init.");
|
||||||
playerExist = true;
|
playerExist = true;
|
||||||
this.object = object;
|
this.object = object;
|
||||||
this.camera = new THREE.PerspectiveCamera(90, window.innerWidth / window.innerHeight, 0.1, 10000);
|
this.camera = new THREE.PerspectiveCamera(80, window.innerWidth / window.innerHeight, 0.1, 10000);
|
||||||
this.orbital = new OrbitControls(this.camera, renderer.domElement);
|
|
||||||
|
|
||||||
this.orbital.enableZoom = false;
|
|
||||||
|
|
||||||
this.cleanup = new FinalizationRegistry((heldValue) => {
|
this.cleanup = new FinalizationRegistry((heldValue) => {
|
||||||
playerExist = false;
|
playerExist = false;
|
||||||
@ -86,13 +94,16 @@ class Player
|
|||||||
{
|
{
|
||||||
this.cameraFixed = !this.cameraFixed;
|
this.cameraFixed = !this.cameraFixed;
|
||||||
if (!this.cameraFixed)
|
if (!this.cameraFixed)
|
||||||
|
{
|
||||||
this.setCameraPosition(
|
this.setCameraPosition(
|
||||||
this.object.position.x,
|
this.object.position.x,
|
||||||
this.object.position.y + 0.5,
|
this.object.position.y + 0.5,
|
||||||
this.object.position.z + 1
|
this.object.position.z + 1
|
||||||
);
|
);
|
||||||
|
this.camera.rotation.set(0, 0, 0);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
this.setCameraPosition(0, 1, 1)
|
this.setCameraPosition(0, 1, 0.7)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -103,27 +114,36 @@ class Player
|
|||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
if (this.cameraFixed)
|
if (this.cameraFixed)
|
||||||
{
|
this.camera.lookAt(new THREE.Vector3(this.object.position.x / 4, (this.object.position.y + 1) / 1.75, this.object.position.z - 1.5));
|
||||||
this.orbital.target = new THREE.Vector3(this.object.position.x, this.object.position.y, this.object.position.z - 5);
|
|
||||||
this.orbital.update();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
this.camera.rotation.set(0, 0, 0);
|
|
||||||
while (i < this.pressedButton.length)
|
while (i < this.pressedButton.length)
|
||||||
{
|
{
|
||||||
if (this.pressedButton[i] == 'w' || this.pressedButton[i] == 's')
|
if (this.pressedButton[i] == 'w' && this.object.position.y < limits.up)
|
||||||
{
|
{
|
||||||
this.object.position.y += (this.pressedButton[i] == 'w' ? this.speed : -this.speed);
|
this.object.position.y += this.speed;
|
||||||
if (!this.cameraFixed)
|
if (!this.cameraFixed)
|
||||||
this.camera.position.y += (this.pressedButton[i] == 'w' ? this.speed : -this.speed);
|
this.camera.position.y += (this.speed / 2);
|
||||||
}
|
}
|
||||||
if (this.pressedButton[i] == 'a' || this.pressedButton[i] == 'd')
|
if (this.pressedButton[i] == 's' && this.object.position.y > limits.down)
|
||||||
{
|
{
|
||||||
this.object.position.x += (this.pressedButton[i] == 'a' ? -this.speed : this.speed);
|
this.object.position.y -= this.speed;
|
||||||
if (!this.cameraFixed)
|
if (!this.cameraFixed)
|
||||||
this.camera.position.x += (this.pressedButton[i] == 'a' ? -this.speed : this.speed);
|
this.camera.position.y -= (this.speed / 2);
|
||||||
|
}
|
||||||
|
if (this.pressedButton[i] == 'd' && this.object.position.x < limits.right)
|
||||||
|
{
|
||||||
|
this.object.position.x += this.speed;
|
||||||
|
if (!this.cameraFixed)
|
||||||
|
this.camera.position.x += this.speed;
|
||||||
|
}
|
||||||
|
if (this.pressedButton[i] == 'a' && this.object.position.x > limits.left)
|
||||||
|
{
|
||||||
|
this.object.position.x -= this.speed;
|
||||||
|
if (!this.cameraFixed)
|
||||||
|
this.camera.position.x -= this.speed;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="./main.js" type="module"></script>
|
<script src="./main.js" type="module"></script>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/08/18 00:53:53 by edbernar #+# #+# */
|
/* Created: 2024/08/18 00:53:53 by edbernar #+# #+# */
|
||||||
/* Updated: 2024/08/18 15:52:03 by edbernar ### ########.fr */
|
/* Updated: 2024/08/19 00:37:34 by edbernar ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -19,29 +19,38 @@ function createBarPlayer(color)
|
|||||||
const material = new THREE.MeshPhysicalMaterial({color: color});
|
const material = new THREE.MeshPhysicalMaterial({color: color});
|
||||||
const mesh = new THREE.Mesh(geometry, material);
|
const mesh = new THREE.Mesh(geometry, material);
|
||||||
|
|
||||||
|
mesh.position.set(0, 0.2, 0);
|
||||||
return (mesh);
|
return (mesh);
|
||||||
}
|
}
|
||||||
|
|
||||||
function loop()
|
function loop()
|
||||||
{
|
{
|
||||||
// controls.update();
|
|
||||||
player.update();
|
player.update();
|
||||||
renderer.render(scene, player.camera);
|
renderer.render(scene, player.camera);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function createMap()
|
||||||
|
{
|
||||||
|
const geometry = new THREE.PlaneGeometry(10, 10);
|
||||||
|
const material = new THREE.MeshPhysicalMaterial();
|
||||||
|
const mesh = new THREE.Mesh(geometry, material);
|
||||||
|
|
||||||
|
mesh.rotateX(-(Math.PI / 2));
|
||||||
|
return (mesh);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const scene = new THREE.Scene();
|
const scene = new THREE.Scene();
|
||||||
const bar = createBarPlayer(0xed56ea);
|
const bar = createBarPlayer(0xed56ea);
|
||||||
const renderer = new THREE.WebGLRenderer();
|
const renderer = new THREE.WebGLRenderer();
|
||||||
const player = new Player(bar, renderer);
|
const player = new Player(bar, renderer);
|
||||||
const spotLight = new THREE.SpotLight(0xffffff, 1, 0, Math.PI / 4);
|
const spotLight = new THREE.SpotLight(0xffffff, 1000, 0, Math.PI / 4);
|
||||||
const helper = new THREE.SpotLightHelper(spotLight);
|
const map = createMap();
|
||||||
// const controls = new OrbitControls(player.camera, renderer.domElement);
|
|
||||||
|
|
||||||
scene.add(player.object);
|
scene.add(player.object);
|
||||||
spotLight.target = player.object;
|
spotLight.position.set(0, 100, 0);
|
||||||
scene.add(spotLight);
|
scene.add(spotLight);
|
||||||
scene.add(helper);
|
scene.add(map);
|
||||||
scene.background = new THREE.Color(0x1a1a1a);
|
scene.background = new THREE.Color(0x1a1a1a);
|
||||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||||
document.body.appendChild(renderer.domElement);
|
document.body.appendChild(renderer.domElement);
|
||||||
|
68
site/real_game/node_modules/.package-lock.json
generated
vendored
68
site/real_game/node_modules/.package-lock.json
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "class",
|
"name": "real_game",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
@ -19,17 +19,33 @@
|
|||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-darwin-arm64": {
|
"node_modules/@esbuild/linux-x64": {
|
||||||
"version": "4.20.0",
|
"version": "0.21.5",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
|
||||||
"integrity": "sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==",
|
"integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"x64"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||||
|
"version": "4.21.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.0.tgz",
|
||||||
|
"integrity": "sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@types/estree": {
|
"node_modules/@types/estree": {
|
||||||
@ -143,9 +159,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rollup": {
|
"node_modules/rollup": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.0.tgz",
|
||||||
"integrity": "sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==",
|
"integrity": "sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/estree": "1.0.5"
|
"@types/estree": "1.0.5"
|
||||||
@ -158,22 +174,22 @@
|
|||||||
"npm": ">=8.0.0"
|
"npm": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@rollup/rollup-android-arm-eabi": "4.20.0",
|
"@rollup/rollup-android-arm-eabi": "4.21.0",
|
||||||
"@rollup/rollup-android-arm64": "4.20.0",
|
"@rollup/rollup-android-arm64": "4.21.0",
|
||||||
"@rollup/rollup-darwin-arm64": "4.20.0",
|
"@rollup/rollup-darwin-arm64": "4.21.0",
|
||||||
"@rollup/rollup-darwin-x64": "4.20.0",
|
"@rollup/rollup-darwin-x64": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm-gnueabihf": "4.20.0",
|
"@rollup/rollup-linux-arm-gnueabihf": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm-musleabihf": "4.20.0",
|
"@rollup/rollup-linux-arm-musleabihf": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm64-gnu": "4.20.0",
|
"@rollup/rollup-linux-arm64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm64-musl": "4.20.0",
|
"@rollup/rollup-linux-arm64-musl": "4.21.0",
|
||||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.20.0",
|
"@rollup/rollup-linux-powerpc64le-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-riscv64-gnu": "4.20.0",
|
"@rollup/rollup-linux-riscv64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-s390x-gnu": "4.20.0",
|
"@rollup/rollup-linux-s390x-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-x64-gnu": "4.20.0",
|
"@rollup/rollup-linux-x64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-x64-musl": "4.20.0",
|
"@rollup/rollup-linux-x64-musl": "4.21.0",
|
||||||
"@rollup/rollup-win32-arm64-msvc": "4.20.0",
|
"@rollup/rollup-win32-arm64-msvc": "4.21.0",
|
||||||
"@rollup/rollup-win32-ia32-msvc": "4.20.0",
|
"@rollup/rollup-win32-ia32-msvc": "4.21.0",
|
||||||
"@rollup/rollup-win32-x64-msvc": "4.20.0",
|
"@rollup/rollup-win32-x64-msvc": "4.21.0",
|
||||||
"fsevents": "~2.3.2"
|
"fsevents": "~2.3.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
12
site/real_game/node_modules/.vite/deps/_metadata.json
generated
vendored
12
site/real_game/node_modules/.vite/deps/_metadata.json
generated
vendored
@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"hash": "2b6c1fb1",
|
"hash": "0d872a36",
|
||||||
"configHash": "4027b9ee",
|
"configHash": "0b4c6e74",
|
||||||
"lockfileHash": "13ac84ee",
|
"lockfileHash": "db0c8729",
|
||||||
"browserHash": "5053c46e",
|
"browserHash": "9bd24b43",
|
||||||
"optimized": {
|
"optimized": {
|
||||||
"three": {
|
"three": {
|
||||||
"src": "../../three/build/three.module.js",
|
"src": "../../three/build/three.module.js",
|
||||||
"file": "three.js",
|
"file": "three.js",
|
||||||
"fileHash": "b62fcce2",
|
"fileHash": "cbcebf47",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"three/examples/jsm/controls/OrbitControls.js": {
|
"three/examples/jsm/controls/OrbitControls.js": {
|
||||||
"src": "../../three/examples/jsm/controls/OrbitControls.js",
|
"src": "../../three/examples/jsm/controls/OrbitControls.js",
|
||||||
"file": "three_examples_jsm_controls_OrbitControls__js.js",
|
"file": "three_examples_jsm_controls_OrbitControls__js.js",
|
||||||
"fileHash": "914c2fd8",
|
"fileHash": "40fe091e",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
3
site/real_game/node_modules/@esbuild/linux-x64/README.md
generated
vendored
Normal file
3
site/real_game/node_modules/@esbuild/linux-x64/README.md
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# esbuild
|
||||||
|
|
||||||
|
This is the Linux 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.
|
BIN
site/real_game/node_modules/@esbuild/linux-x64/bin/esbuild
generated
vendored
Executable file
BIN
site/real_game/node_modules/@esbuild/linux-x64/bin/esbuild
generated
vendored
Executable file
Binary file not shown.
20
site/real_game/node_modules/@esbuild/linux-x64/package.json
generated
vendored
Normal file
20
site/real_game/node_modules/@esbuild/linux-x64/package.json
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"name": "@esbuild/linux-x64",
|
||||||
|
"version": "0.21.5",
|
||||||
|
"description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/evanw/esbuild.git"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"preferUnplugged": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
},
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
]
|
||||||
|
}
|
3
site/real_game/node_modules/@rollup/rollup-darwin-arm64/README.md
generated
vendored
3
site/real_game/node_modules/@rollup/rollup-darwin-arm64/README.md
generated
vendored
@ -1,3 +0,0 @@
|
|||||||
# `@rollup/rollup-darwin-arm64`
|
|
||||||
|
|
||||||
This is the **aarch64-apple-darwin** binary for `rollup`
|
|
BIN
site/real_game/node_modules/@rollup/rollup-darwin-arm64/rollup.darwin-arm64.node
generated
vendored
BIN
site/real_game/node_modules/@rollup/rollup-darwin-arm64/rollup.darwin-arm64.node
generated
vendored
Binary file not shown.
3
site/real_game/node_modules/@rollup/rollup-linux-x64-gnu/README.md
generated
vendored
Normal file
3
site/real_game/node_modules/@rollup/rollup-linux-x64-gnu/README.md
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# `@rollup/rollup-linux-x64-gnu`
|
||||||
|
|
||||||
|
This is the **x86_64-unknown-linux-gnu** binary for `rollup`
|
@ -1,19 +1,22 @@
|
|||||||
{
|
{
|
||||||
"name": "@rollup/rollup-darwin-arm64",
|
"name": "@rollup/rollup-linux-x64-gnu",
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"linux"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"x64"
|
||||||
],
|
],
|
||||||
"files": [
|
"files": [
|
||||||
"rollup.darwin-arm64.node"
|
"rollup.linux-x64-gnu.node"
|
||||||
],
|
],
|
||||||
"description": "Native bindings for Rollup",
|
"description": "Native bindings for Rollup",
|
||||||
"author": "Lukas Taegert-Atkinson",
|
"author": "Lukas Taegert-Atkinson",
|
||||||
"homepage": "https://rollupjs.org/",
|
"homepage": "https://rollupjs.org/",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "rollup/rollup",
|
"repository": "rollup/rollup",
|
||||||
"main": "./rollup.darwin-arm64.node"
|
"libc": [
|
||||||
|
"glibc"
|
||||||
|
],
|
||||||
|
"main": "./rollup.linux-x64-gnu.node"
|
||||||
}
|
}
|
BIN
site/real_game/node_modules/@rollup/rollup-linux-x64-gnu/rollup.linux-x64-gnu.node
generated
vendored
Normal file
BIN
site/real_game/node_modules/@rollup/rollup-linux-x64-gnu/rollup.linux-x64-gnu.node
generated
vendored
Normal file
Binary file not shown.
6
site/real_game/node_modules/rollup/dist/bin/rollup
generated
vendored
6
site/real_game/node_modules/rollup/dist/bin/rollup
generated
vendored
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
@ -1745,7 +1745,7 @@ else if (command.version) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
// eslint-disable-next-line unicorn/prefer-module
|
// eslint-disable-next-line unicorn/prefer-module, @typescript-eslint/no-require-imports
|
||||||
require('source-map-support').install();
|
require('source-map-support').install();
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
4
site/real_game/node_modules/rollup/dist/es/getLogFilter.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/es/getLogFilter.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/es/parseAst.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/es/parseAst.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/es/rollup.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/es/rollup.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
67
site/real_game/node_modules/rollup/dist/es/shared/node-entry.js
generated
vendored
67
site/real_game/node_modules/rollup/dist/es/shared/node-entry.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
|
|||||||
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
||||||
import * as tty from 'tty';
|
import * as tty from 'tty';
|
||||||
|
|
||||||
var version = "4.20.0";
|
var version = "4.21.0";
|
||||||
|
|
||||||
const comma = ','.charCodeAt(0);
|
const comma = ','.charCodeAt(0);
|
||||||
const semicolon = ';'.charCodeAt(0);
|
const semicolon = ';'.charCodeAt(0);
|
||||||
@ -7414,7 +7414,9 @@ class ChildScope extends Scope {
|
|||||||
this.parent.addNamespaceMemberAccess(name, variable);
|
this.parent.addNamespaceMemberAccess(name, variable);
|
||||||
}
|
}
|
||||||
addReturnExpression(expression) {
|
addReturnExpression(expression) {
|
||||||
this.parent instanceof ChildScope && this.parent.addReturnExpression(expression);
|
if (this.parent instanceof ChildScope) {
|
||||||
|
this.parent.addReturnExpression(expression);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
|
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
|
||||||
for (const variable of this.accessedOutsideVariables.values()) {
|
for (const variable of this.accessedOutsideVariables.values()) {
|
||||||
@ -7730,12 +7732,15 @@ function renderStatementList(statements, code, start, end, options) {
|
|||||||
currentNode.end +
|
currentNode.end +
|
||||||
findFirstLineBreakOutsideComment(code.original.slice(currentNode.end, nextNode === undefined ? end : nextNode.start))[1];
|
findFirstLineBreakOutsideComment(code.original.slice(currentNode.end, nextNode === undefined ? end : nextNode.start))[1];
|
||||||
if (currentNode.included) {
|
if (currentNode.included) {
|
||||||
currentNodeNeedsBoundaries
|
if (currentNodeNeedsBoundaries) {
|
||||||
? currentNode.render(code, options, {
|
currentNode.render(code, options, {
|
||||||
end: nextNodeStart,
|
end: nextNodeStart,
|
||||||
start: currentNodeStart
|
start: currentNodeStart
|
||||||
})
|
});
|
||||||
: currentNode.render(code, options);
|
}
|
||||||
|
else {
|
||||||
|
currentNode.render(code, options);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
treeshakeNode(currentNode, code, currentNodeStart, nextNodeStart);
|
treeshakeNode(currentNode, code, currentNodeStart, nextNodeStart);
|
||||||
@ -7929,7 +7934,9 @@ class RestElement extends NodeBase {
|
|||||||
return this.argument.declare(kind, UNKNOWN_EXPRESSION);
|
return this.argument.declare(kind, UNKNOWN_EXPRESSION);
|
||||||
}
|
}
|
||||||
deoptimizePath(path) {
|
deoptimizePath(path) {
|
||||||
path.length === 0 && this.argument.deoptimizePath(EMPTY_PATH);
|
if (path.length === 0) {
|
||||||
|
this.argument.deoptimizePath(EMPTY_PATH);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
||||||
return (path.length > 0 ||
|
return (path.length > 0 ||
|
||||||
@ -8384,7 +8391,9 @@ class AssignmentPattern extends NodeBase {
|
|||||||
return this.left.declare(kind, init);
|
return this.left.declare(kind, init);
|
||||||
}
|
}
|
||||||
deoptimizePath(path) {
|
deoptimizePath(path) {
|
||||||
path.length === 0 && this.left.deoptimizePath(path);
|
if (path.length === 0) {
|
||||||
|
this.left.deoptimizePath(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
||||||
return (path.length > 0 || this.left.hasEffectsOnInteractionAtPath(EMPTY_PATH, interaction, context));
|
return (path.length > 0 || this.left.hasEffectsOnInteractionAtPath(EMPTY_PATH, interaction, context));
|
||||||
@ -11774,7 +11783,9 @@ class SwitchCase extends NodeBase {
|
|||||||
}
|
}
|
||||||
render(code, options, nodeRenderOptions) {
|
render(code, options, nodeRenderOptions) {
|
||||||
if (this.consequent.length > 0) {
|
if (this.consequent.length > 0) {
|
||||||
this.test && this.test.render(code, options);
|
if (this.test) {
|
||||||
|
this.test.render(code, options);
|
||||||
|
}
|
||||||
const testEnd = this.test
|
const testEnd = this.test
|
||||||
? this.test.end
|
? this.test.end
|
||||||
: findFirstOccurrenceOutsideComment(code.original, 'default', this.start) + 7;
|
: findFirstOccurrenceOutsideComment(code.original, 'default', this.start) + 7;
|
||||||
@ -13954,7 +13965,9 @@ class Module {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
error(properties, pos) {
|
error(properties, pos) {
|
||||||
pos !== undefined && this.addLocationToLogProps(properties, pos);
|
if (pos !== undefined) {
|
||||||
|
this.addLocationToLogProps(properties, pos);
|
||||||
|
}
|
||||||
return error(properties);
|
return error(properties);
|
||||||
}
|
}
|
||||||
// sum up the length of all ast nodes that are included
|
// sum up the length of all ast nodes that are included
|
||||||
@ -15930,12 +15943,16 @@ const removeUnreferencedAssets = (outputBundle) => {
|
|||||||
const unreferencedAssets = new Set();
|
const unreferencedAssets = new Set();
|
||||||
const bundleEntries = Object.values(outputBundle);
|
const bundleEntries = Object.values(outputBundle);
|
||||||
for (const asset of bundleEntries) {
|
for (const asset of bundleEntries) {
|
||||||
asset.type === 'asset' && asset.needsCodeReference && unreferencedAssets.add(asset.fileName);
|
if (asset.type === 'asset' && asset.needsCodeReference) {
|
||||||
|
unreferencedAssets.add(asset.fileName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (const chunk of bundleEntries) {
|
for (const chunk of bundleEntries) {
|
||||||
if (chunk.type === 'chunk') {
|
if (chunk.type === 'chunk') {
|
||||||
for (const referencedFile of chunk.referencedFiles) {
|
for (const referencedFile of chunk.referencedFiles) {
|
||||||
unreferencedAssets.has(referencedFile) && unreferencedAssets.delete(referencedFile);
|
if (unreferencedAssets.has(referencedFile)) {
|
||||||
|
unreferencedAssets.delete(referencedFile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -16382,7 +16399,9 @@ class Chunk {
|
|||||||
magicString.prepend(banner);
|
magicString.prepend(banner);
|
||||||
if (format === 'es' || format === 'cjs') {
|
if (format === 'es' || format === 'cjs') {
|
||||||
const shebang = facadeModule !== null && facadeModule.info.isEntry && facadeModule.shebang;
|
const shebang = facadeModule !== null && facadeModule.info.isEntry && facadeModule.shebang;
|
||||||
shebang && magicString.prepend(`#!${shebang}\n`);
|
if (shebang) {
|
||||||
|
magicString.prepend(`#!${shebang}\n`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (footer)
|
if (footer)
|
||||||
magicString.append(footer);
|
magicString.append(footer);
|
||||||
@ -16703,7 +16722,7 @@ class Chunk {
|
|||||||
: relative$1(this.inputBase, idWithoutExtension);
|
: relative$1(this.inputBase, idWithoutExtension);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return `_virtual/${basename(idWithoutExtension)}`;
|
return (this.outputOptions.virtualDirname.replace(/\/$/, '') + '/' + basename(idWithoutExtension));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
getReexportSpecifiers() {
|
getReexportSpecifiers() {
|
||||||
@ -17542,11 +17561,13 @@ function getOptimizedChunks(chunks, minChunkSize, sideEffectAtoms, sizeByAtom, l
|
|||||||
timeEnd('optimize chunks', 3);
|
timeEnd('optimize chunks', 3);
|
||||||
return chunks; // the actual modules
|
return chunks; // the actual modules
|
||||||
}
|
}
|
||||||
minChunkSize > 1 &&
|
if (minChunkSize > 1) {
|
||||||
log('info', logOptimizeChunkStatus(chunks.length, chunkPartition.small.size, 'Initially'));
|
log('info', logOptimizeChunkStatus(chunks.length, chunkPartition.small.size, 'Initially'));
|
||||||
|
}
|
||||||
mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom);
|
mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom);
|
||||||
minChunkSize > 1 &&
|
if (minChunkSize > 1) {
|
||||||
log('info', logOptimizeChunkStatus(chunkPartition.small.size + chunkPartition.big.size, chunkPartition.small.size, 'After merging chunks'));
|
log('info', logOptimizeChunkStatus(chunkPartition.small.size + chunkPartition.big.size, chunkPartition.small.size, 'After merging chunks'));
|
||||||
|
}
|
||||||
timeEnd('optimize chunks', 3);
|
timeEnd('optimize chunks', 3);
|
||||||
return [...chunkPartition.small, ...chunkPartition.big];
|
return [...chunkPartition.small, ...chunkPartition.big];
|
||||||
}
|
}
|
||||||
@ -19888,7 +19909,7 @@ class PluginDriver {
|
|||||||
if (typeof handler !== 'function') {
|
if (typeof handler !== 'function') {
|
||||||
return handler;
|
return handler;
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||||
const hookResult = handler.apply(context, parameters);
|
const hookResult = handler.apply(context, parameters);
|
||||||
if (!hookResult?.then) {
|
if (!hookResult?.then) {
|
||||||
// short circuit for non-thenables and non-Promises
|
// short circuit for non-thenables and non-Promises
|
||||||
@ -19933,7 +19954,7 @@ class PluginDriver {
|
|||||||
context = replaceContext(context, plugin);
|
context = replaceContext(context, plugin);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||||
return handler.apply(context, parameters);
|
return handler.apply(context, parameters);
|
||||||
}
|
}
|
||||||
catch (error_) {
|
catch (error_) {
|
||||||
@ -20495,7 +20516,8 @@ async function normalizeOutputOptions(config, inputOptions, unsetInputOptions) {
|
|||||||
sourcemapPathTransform: config.sourcemapPathTransform,
|
sourcemapPathTransform: config.sourcemapPathTransform,
|
||||||
strict: config.strict ?? true,
|
strict: config.strict ?? true,
|
||||||
systemNullSetters: config.systemNullSetters ?? true,
|
systemNullSetters: config.systemNullSetters ?? true,
|
||||||
validate: config.validate || false
|
validate: config.validate || false,
|
||||||
|
virtualDirname: config.virtualDirname || '_virtual'
|
||||||
};
|
};
|
||||||
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', inputOptions.onLog);
|
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', inputOptions.onLog);
|
||||||
return { options: outputOptions, unsetOptions };
|
return { options: outputOptions, unsetOptions };
|
||||||
@ -21203,7 +21225,8 @@ async function mergeOutputOptions(config, overrides, log) {
|
|||||||
sourcemapPathTransform: getOption('sourcemapPathTransform'),
|
sourcemapPathTransform: getOption('sourcemapPathTransform'),
|
||||||
strict: getOption('strict'),
|
strict: getOption('strict'),
|
||||||
systemNullSetters: getOption('systemNullSetters'),
|
systemNullSetters: getOption('systemNullSetters'),
|
||||||
validate: getOption('validate')
|
validate: getOption('validate'),
|
||||||
|
virtualDirname: getOption('virtualDirname')
|
||||||
};
|
};
|
||||||
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', log);
|
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', log);
|
||||||
return outputOptions;
|
return outputOptions;
|
||||||
|
4
site/real_game/node_modules/rollup/dist/es/shared/parseAst.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/es/shared/parseAst.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/es/shared/watch.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/es/shared/watch.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/getLogFilter.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/getLogFilter.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/loadConfigFile.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/loadConfigFile.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/parseAst.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/parseAst.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
8
site/real_game/node_modules/rollup/dist/rollup.d.ts
generated
vendored
8
site/real_game/node_modules/rollup/dist/rollup.d.ts
generated
vendored
@ -227,6 +227,7 @@ export type ParseAst = (
|
|||||||
|
|
||||||
// declare AbortSignal here for environments without DOM lib or @types/node
|
// declare AbortSignal here for environments without DOM lib or @types/node
|
||||||
declare global {
|
declare global {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||||
interface AbortSignal {}
|
interface AbortSignal {}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -395,7 +396,6 @@ export type WatchChangeHook = (
|
|||||||
* const myPlugin: PluginImpl<Options> = (options = {}) => { ... }
|
* const myPlugin: PluginImpl<Options> = (options = {}) => { ... }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
||||||
export type PluginImpl<O extends object = object, A = any> = (options?: O) => Plugin<A>;
|
export type PluginImpl<O extends object = object, A = any> = (options?: O) => Plugin<A>;
|
||||||
|
|
||||||
export interface OutputBundle {
|
export interface OutputBundle {
|
||||||
@ -505,13 +505,13 @@ type MakeAsync<Function_> = Function_ extends (
|
|||||||
? (this: This, ...parameters: Arguments) => Return | Promise<Return>
|
? (this: This, ...parameters: Arguments) => Return | Promise<Return>
|
||||||
: never;
|
: never;
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||||
type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
|
type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
|
||||||
|
|
||||||
export type PluginHooks = {
|
export type PluginHooks = {
|
||||||
[K in keyof FunctionPluginHooks]: ObjectHook<
|
[K in keyof FunctionPluginHooks]: ObjectHook<
|
||||||
K extends AsyncPluginHooks ? MakeAsync<FunctionPluginHooks[K]> : FunctionPluginHooks[K],
|
K extends AsyncPluginHooks ? MakeAsync<FunctionPluginHooks[K]> : FunctionPluginHooks[K],
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||||
K extends ParallelPluginHooks ? { sequential?: boolean } : {}
|
K extends ParallelPluginHooks ? { sequential?: boolean } : {}
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
@ -756,6 +756,7 @@ export interface OutputOptions {
|
|||||||
strict?: boolean;
|
strict?: boolean;
|
||||||
systemNullSetters?: boolean;
|
systemNullSetters?: boolean;
|
||||||
validate?: boolean;
|
validate?: boolean;
|
||||||
|
virtualDirname?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NormalizedOutputOptions {
|
export interface NormalizedOutputOptions {
|
||||||
@ -809,6 +810,7 @@ export interface NormalizedOutputOptions {
|
|||||||
strict: boolean;
|
strict: boolean;
|
||||||
systemNullSetters: boolean;
|
systemNullSetters: boolean;
|
||||||
validate: boolean;
|
validate: boolean;
|
||||||
|
virtualDirname: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type WarningHandlerWithDefault = (
|
export type WarningHandlerWithDefault = (
|
||||||
|
4
site/real_game/node_modules/rollup/dist/rollup.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/rollup.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/shared/fsevents-importer.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/shared/fsevents-importer.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/shared/index.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/shared/index.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
6
site/real_game/node_modules/rollup/dist/shared/loadConfigFile.js
generated
vendored
6
site/real_game/node_modules/rollup/dist/shared/loadConfigFile.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
@ -418,7 +418,7 @@ function getCamelizedPluginBaseName(pluginText) {
|
|||||||
}
|
}
|
||||||
async function requireOrImport(pluginPath) {
|
async function requireOrImport(pluginPath) {
|
||||||
try {
|
try {
|
||||||
// eslint-disable-next-line unicorn/prefer-module
|
// eslint-disable-next-line unicorn/prefer-module, @typescript-eslint/no-require-imports
|
||||||
return require(pluginPath);
|
return require(pluginPath);
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
4
site/real_game/node_modules/rollup/dist/shared/parseAst.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/shared/parseAst.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
67
site/real_game/node_modules/rollup/dist/shared/rollup.js
generated
vendored
67
site/real_game/node_modules/rollup/dist/shared/rollup.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
|
|||||||
|
|
||||||
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
||||||
|
|
||||||
var version = "4.20.0";
|
var version = "4.21.0";
|
||||||
|
|
||||||
function ensureArray$1(items) {
|
function ensureArray$1(items) {
|
||||||
if (Array.isArray(items)) {
|
if (Array.isArray(items)) {
|
||||||
@ -165,12 +165,16 @@ const removeUnreferencedAssets = (outputBundle) => {
|
|||||||
const unreferencedAssets = new Set();
|
const unreferencedAssets = new Set();
|
||||||
const bundleEntries = Object.values(outputBundle);
|
const bundleEntries = Object.values(outputBundle);
|
||||||
for (const asset of bundleEntries) {
|
for (const asset of bundleEntries) {
|
||||||
asset.type === 'asset' && asset.needsCodeReference && unreferencedAssets.add(asset.fileName);
|
if (asset.type === 'asset' && asset.needsCodeReference) {
|
||||||
|
unreferencedAssets.add(asset.fileName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (const chunk of bundleEntries) {
|
for (const chunk of bundleEntries) {
|
||||||
if (chunk.type === 'chunk') {
|
if (chunk.type === 'chunk') {
|
||||||
for (const referencedFile of chunk.referencedFiles) {
|
for (const referencedFile of chunk.referencedFiles) {
|
||||||
unreferencedAssets.has(referencedFile) && unreferencedAssets.delete(referencedFile);
|
if (unreferencedAssets.has(referencedFile)) {
|
||||||
|
unreferencedAssets.delete(referencedFile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -992,7 +996,7 @@ class PluginDriver {
|
|||||||
if (typeof handler !== 'function') {
|
if (typeof handler !== 'function') {
|
||||||
return handler;
|
return handler;
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||||
const hookResult = handler.apply(context, parameters);
|
const hookResult = handler.apply(context, parameters);
|
||||||
if (!hookResult?.then) {
|
if (!hookResult?.then) {
|
||||||
// short circuit for non-thenables and non-Promises
|
// short circuit for non-thenables and non-Promises
|
||||||
@ -1037,7 +1041,7 @@ class PluginDriver {
|
|||||||
context = replaceContext(context, plugin);
|
context = replaceContext(context, plugin);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||||
return handler.apply(context, parameters);
|
return handler.apply(context, parameters);
|
||||||
}
|
}
|
||||||
catch (error_) {
|
catch (error_) {
|
||||||
@ -1294,7 +1298,8 @@ async function mergeOutputOptions(config, overrides, log) {
|
|||||||
sourcemapPathTransform: getOption('sourcemapPathTransform'),
|
sourcemapPathTransform: getOption('sourcemapPathTransform'),
|
||||||
strict: getOption('strict'),
|
strict: getOption('strict'),
|
||||||
systemNullSetters: getOption('systemNullSetters'),
|
systemNullSetters: getOption('systemNullSetters'),
|
||||||
validate: getOption('validate')
|
validate: getOption('validate'),
|
||||||
|
virtualDirname: getOption('virtualDirname')
|
||||||
};
|
};
|
||||||
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', log);
|
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', log);
|
||||||
return outputOptions;
|
return outputOptions;
|
||||||
@ -8863,7 +8868,9 @@ class ChildScope extends Scope {
|
|||||||
this.parent.addNamespaceMemberAccess(name, variable);
|
this.parent.addNamespaceMemberAccess(name, variable);
|
||||||
}
|
}
|
||||||
addReturnExpression(expression) {
|
addReturnExpression(expression) {
|
||||||
this.parent instanceof ChildScope && this.parent.addReturnExpression(expression);
|
if (this.parent instanceof ChildScope) {
|
||||||
|
this.parent.addReturnExpression(expression);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
|
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
|
||||||
for (const variable of this.accessedOutsideVariables.values()) {
|
for (const variable of this.accessedOutsideVariables.values()) {
|
||||||
@ -9179,12 +9186,15 @@ function renderStatementList(statements, code, start, end, options) {
|
|||||||
currentNode.end +
|
currentNode.end +
|
||||||
findFirstLineBreakOutsideComment(code.original.slice(currentNode.end, nextNode === undefined ? end : nextNode.start))[1];
|
findFirstLineBreakOutsideComment(code.original.slice(currentNode.end, nextNode === undefined ? end : nextNode.start))[1];
|
||||||
if (currentNode.included) {
|
if (currentNode.included) {
|
||||||
currentNodeNeedsBoundaries
|
if (currentNodeNeedsBoundaries) {
|
||||||
? currentNode.render(code, options, {
|
currentNode.render(code, options, {
|
||||||
end: nextNodeStart,
|
end: nextNodeStart,
|
||||||
start: currentNodeStart
|
start: currentNodeStart
|
||||||
})
|
});
|
||||||
: currentNode.render(code, options);
|
}
|
||||||
|
else {
|
||||||
|
currentNode.render(code, options);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
treeshakeNode(currentNode, code, currentNodeStart, nextNodeStart);
|
treeshakeNode(currentNode, code, currentNodeStart, nextNodeStart);
|
||||||
@ -9378,7 +9388,9 @@ class RestElement extends NodeBase {
|
|||||||
return this.argument.declare(kind, UNKNOWN_EXPRESSION);
|
return this.argument.declare(kind, UNKNOWN_EXPRESSION);
|
||||||
}
|
}
|
||||||
deoptimizePath(path) {
|
deoptimizePath(path) {
|
||||||
path.length === 0 && this.argument.deoptimizePath(EMPTY_PATH);
|
if (path.length === 0) {
|
||||||
|
this.argument.deoptimizePath(EMPTY_PATH);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
||||||
return (path.length > 0 ||
|
return (path.length > 0 ||
|
||||||
@ -9833,7 +9845,9 @@ class AssignmentPattern extends NodeBase {
|
|||||||
return this.left.declare(kind, init);
|
return this.left.declare(kind, init);
|
||||||
}
|
}
|
||||||
deoptimizePath(path) {
|
deoptimizePath(path) {
|
||||||
path.length === 0 && this.left.deoptimizePath(path);
|
if (path.length === 0) {
|
||||||
|
this.left.deoptimizePath(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
||||||
return (path.length > 0 || this.left.hasEffectsOnInteractionAtPath(EMPTY_PATH, interaction, context));
|
return (path.length > 0 || this.left.hasEffectsOnInteractionAtPath(EMPTY_PATH, interaction, context));
|
||||||
@ -13223,7 +13237,9 @@ class SwitchCase extends NodeBase {
|
|||||||
}
|
}
|
||||||
render(code, options, nodeRenderOptions) {
|
render(code, options, nodeRenderOptions) {
|
||||||
if (this.consequent.length > 0) {
|
if (this.consequent.length > 0) {
|
||||||
this.test && this.test.render(code, options);
|
if (this.test) {
|
||||||
|
this.test.render(code, options);
|
||||||
|
}
|
||||||
const testEnd = this.test
|
const testEnd = this.test
|
||||||
? this.test.end
|
? this.test.end
|
||||||
: findFirstOccurrenceOutsideComment(code.original, 'default', this.start) + 7;
|
: findFirstOccurrenceOutsideComment(code.original, 'default', this.start) + 7;
|
||||||
@ -15396,7 +15412,9 @@ class Module {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
error(properties, pos) {
|
error(properties, pos) {
|
||||||
pos !== undefined && this.addLocationToLogProps(properties, pos);
|
if (pos !== undefined) {
|
||||||
|
this.addLocationToLogProps(properties, pos);
|
||||||
|
}
|
||||||
return parseAst_js.error(properties);
|
return parseAst_js.error(properties);
|
||||||
}
|
}
|
||||||
// sum up the length of all ast nodes that are included
|
// sum up the length of all ast nodes that are included
|
||||||
@ -17719,7 +17737,9 @@ class Chunk {
|
|||||||
magicString.prepend(banner);
|
magicString.prepend(banner);
|
||||||
if (format === 'es' || format === 'cjs') {
|
if (format === 'es' || format === 'cjs') {
|
||||||
const shebang = facadeModule !== null && facadeModule.info.isEntry && facadeModule.shebang;
|
const shebang = facadeModule !== null && facadeModule.info.isEntry && facadeModule.shebang;
|
||||||
shebang && magicString.prepend(`#!${shebang}\n`);
|
if (shebang) {
|
||||||
|
magicString.prepend(`#!${shebang}\n`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (footer)
|
if (footer)
|
||||||
magicString.append(footer);
|
magicString.append(footer);
|
||||||
@ -18040,7 +18060,7 @@ class Chunk {
|
|||||||
: parseAst_js.relative(this.inputBase, idWithoutExtension);
|
: parseAst_js.relative(this.inputBase, idWithoutExtension);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return `_virtual/${path$2.basename(idWithoutExtension)}`;
|
return (this.outputOptions.virtualDirname.replace(/\/$/, '') + '/' + path$2.basename(idWithoutExtension));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
getReexportSpecifiers() {
|
getReexportSpecifiers() {
|
||||||
@ -18879,11 +18899,13 @@ function getOptimizedChunks(chunks, minChunkSize, sideEffectAtoms, sizeByAtom, l
|
|||||||
timeEnd('optimize chunks', 3);
|
timeEnd('optimize chunks', 3);
|
||||||
return chunks; // the actual modules
|
return chunks; // the actual modules
|
||||||
}
|
}
|
||||||
minChunkSize > 1 &&
|
if (minChunkSize > 1) {
|
||||||
log('info', parseAst_js.logOptimizeChunkStatus(chunks.length, chunkPartition.small.size, 'Initially'));
|
log('info', parseAst_js.logOptimizeChunkStatus(chunks.length, chunkPartition.small.size, 'Initially'));
|
||||||
|
}
|
||||||
mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom);
|
mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom);
|
||||||
minChunkSize > 1 &&
|
if (minChunkSize > 1) {
|
||||||
log('info', parseAst_js.logOptimizeChunkStatus(chunkPartition.small.size + chunkPartition.big.size, chunkPartition.small.size, 'After merging chunks'));
|
log('info', parseAst_js.logOptimizeChunkStatus(chunkPartition.small.size + chunkPartition.big.size, chunkPartition.small.size, 'After merging chunks'));
|
||||||
|
}
|
||||||
timeEnd('optimize chunks', 3);
|
timeEnd('optimize chunks', 3);
|
||||||
return [...chunkPartition.small, ...chunkPartition.big];
|
return [...chunkPartition.small, ...chunkPartition.big];
|
||||||
}
|
}
|
||||||
@ -20889,7 +20911,8 @@ async function normalizeOutputOptions(config, inputOptions, unsetInputOptions) {
|
|||||||
sourcemapPathTransform: config.sourcemapPathTransform,
|
sourcemapPathTransform: config.sourcemapPathTransform,
|
||||||
strict: config.strict ?? true,
|
strict: config.strict ?? true,
|
||||||
systemNullSetters: config.systemNullSetters ?? true,
|
systemNullSetters: config.systemNullSetters ?? true,
|
||||||
validate: config.validate || false
|
validate: config.validate || false,
|
||||||
|
virtualDirname: config.virtualDirname || '_virtual'
|
||||||
};
|
};
|
||||||
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', inputOptions.onLog);
|
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', inputOptions.onLog);
|
||||||
return { options: outputOptions, unsetOptions };
|
return { options: outputOptions, unsetOptions };
|
||||||
|
4
site/real_game/node_modules/rollup/dist/shared/watch-cli.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/shared/watch-cli.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
4
site/real_game/node_modules/rollup/dist/shared/watch.js
generated
vendored
4
site/real_game/node_modules/rollup/dist/shared/watch.js
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
@license
|
@license
|
||||||
Rollup.js v4.20.0
|
Rollup.js v4.21.0
|
||||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||||
|
|
||||||
https://github.com/rollup/rollup
|
https://github.com/rollup/rollup
|
||||||
|
|
||||||
|
62
site/real_game/node_modules/rollup/package.json
generated
vendored
62
site/real_game/node_modules/rollup/package.json
generated
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "rollup",
|
"name": "rollup",
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"description": "Next-generation ES module bundler",
|
"description": "Next-generation ES module bundler",
|
||||||
"main": "dist/rollup.js",
|
"main": "dist/rollup.js",
|
||||||
"module": "dist/es/rollup.js",
|
"module": "dist/es/rollup.js",
|
||||||
@ -107,22 +107,22 @@
|
|||||||
"homepage": "https://rollupjs.org/",
|
"homepage": "https://rollupjs.org/",
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"fsevents": "~2.3.2",
|
"fsevents": "~2.3.2",
|
||||||
"@rollup/rollup-darwin-arm64": "4.20.0",
|
"@rollup/rollup-darwin-arm64": "4.21.0",
|
||||||
"@rollup/rollup-android-arm64": "4.20.0",
|
"@rollup/rollup-android-arm64": "4.21.0",
|
||||||
"@rollup/rollup-win32-arm64-msvc": "4.20.0",
|
"@rollup/rollup-win32-arm64-msvc": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm64-gnu": "4.20.0",
|
"@rollup/rollup-linux-arm64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm64-musl": "4.20.0",
|
"@rollup/rollup-linux-arm64-musl": "4.21.0",
|
||||||
"@rollup/rollup-android-arm-eabi": "4.20.0",
|
"@rollup/rollup-android-arm-eabi": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm-gnueabihf": "4.20.0",
|
"@rollup/rollup-linux-arm-gnueabihf": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm-musleabihf": "4.20.0",
|
"@rollup/rollup-linux-arm-musleabihf": "4.21.0",
|
||||||
"@rollup/rollup-win32-ia32-msvc": "4.20.0",
|
"@rollup/rollup-win32-ia32-msvc": "4.21.0",
|
||||||
"@rollup/rollup-linux-riscv64-gnu": "4.20.0",
|
"@rollup/rollup-linux-riscv64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.20.0",
|
"@rollup/rollup-linux-powerpc64le-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-s390x-gnu": "4.20.0",
|
"@rollup/rollup-linux-s390x-gnu": "4.21.0",
|
||||||
"@rollup/rollup-darwin-x64": "4.20.0",
|
"@rollup/rollup-darwin-x64": "4.21.0",
|
||||||
"@rollup/rollup-win32-x64-msvc": "4.20.0",
|
"@rollup/rollup-win32-x64-msvc": "4.21.0",
|
||||||
"@rollup/rollup-linux-x64-gnu": "4.20.0",
|
"@rollup/rollup-linux-x64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-x64-musl": "4.20.0"
|
"@rollup/rollup-linux-x64-musl": "4.21.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/estree": "1.0.5"
|
"@types/estree": "1.0.5"
|
||||||
@ -137,7 +137,7 @@
|
|||||||
"@codemirror/language": "^6.10.2",
|
"@codemirror/language": "^6.10.2",
|
||||||
"@codemirror/search": "^6.5.6",
|
"@codemirror/search": "^6.5.6",
|
||||||
"@codemirror/state": "^6.4.1",
|
"@codemirror/state": "^6.4.1",
|
||||||
"@codemirror/view": "^6.29.1",
|
"@codemirror/view": "^6.32.0",
|
||||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||||
"@mermaid-js/mermaid-cli": "^10.9.1",
|
"@mermaid-js/mermaid-cli": "^10.9.1",
|
||||||
"@napi-rs/cli": "^2.18.4",
|
"@napi-rs/cli": "^2.18.4",
|
||||||
@ -150,15 +150,15 @@
|
|||||||
"@rollup/plugin-terser": "^0.4.4",
|
"@rollup/plugin-terser": "^0.4.4",
|
||||||
"@rollup/plugin-typescript": "^11.1.6",
|
"@rollup/plugin-typescript": "^11.1.6",
|
||||||
"@rollup/pluginutils": "^5.1.0",
|
"@rollup/pluginutils": "^5.1.0",
|
||||||
"@shikijs/vitepress-twoslash": "^1.12.0",
|
"@shikijs/vitepress-twoslash": "^1.12.1",
|
||||||
"@types/eslint": "^8.56.11",
|
"@types/eslint": "^8.56.11",
|
||||||
"@types/inquirer": "^9.0.7",
|
"@types/inquirer": "^9.0.7",
|
||||||
"@types/mocha": "^10.0.7",
|
"@types/mocha": "^10.0.7",
|
||||||
"@types/node": "~18.18.14",
|
"@types/node": "~18.18.14",
|
||||||
"@types/semver": "^7.5.8",
|
"@types/semver": "^7.5.8",
|
||||||
"@types/yargs-parser": "^21.0.3",
|
"@types/yargs-parser": "^21.0.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
||||||
"@typescript-eslint/parser": "^7.18.0",
|
"@typescript-eslint/parser": "^8.1.0",
|
||||||
"@vue/eslint-config-prettier": "^9.0.0",
|
"@vue/eslint-config-prettier": "^9.0.0",
|
||||||
"@vue/eslint-config-typescript": "^13.0.0",
|
"@vue/eslint-config-typescript": "^13.0.0",
|
||||||
"acorn": "^8.12.1",
|
"acorn": "^8.12.1",
|
||||||
@ -184,21 +184,21 @@
|
|||||||
"fs-extra": "^11.2.0",
|
"fs-extra": "^11.2.0",
|
||||||
"github-api": "^3.4.0",
|
"github-api": "^3.4.0",
|
||||||
"husky": "^9.1.4",
|
"husky": "^9.1.4",
|
||||||
"inquirer": "^10.1.5",
|
"inquirer": "^10.1.8",
|
||||||
"is-reference": "^3.0.2",
|
"is-reference": "^3.0.2",
|
||||||
"lint-staged": "^15.2.7",
|
"lint-staged": "^15.2.8",
|
||||||
"locate-character": "^3.0.0",
|
"locate-character": "^3.0.0",
|
||||||
"magic-string": "^0.30.11",
|
"magic-string": "^0.30.11",
|
||||||
"mocha": "^10.7.0",
|
"mocha": "^10.7.3",
|
||||||
"nodemon": "^3.1.4",
|
"nodemon": "^3.1.4",
|
||||||
"npm-audit-resolver": "^3.0.0-RC.0",
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
||||||
"nyc": "^17.0.0",
|
"nyc": "^17.0.0",
|
||||||
"pinia": "^2.2.0",
|
"pinia": "^2.2.1",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"pretty-bytes": "^6.1.1",
|
"pretty-bytes": "^6.1.1",
|
||||||
"pretty-ms": "^9.1.0",
|
"pretty-ms": "^9.1.0",
|
||||||
"requirejs": "^2.3.7",
|
"requirejs": "^2.3.7",
|
||||||
"rollup": "^4.19.1",
|
"rollup": "^4.20.0",
|
||||||
"rollup-plugin-license": "^3.5.2",
|
"rollup-plugin-license": "^3.5.2",
|
||||||
"rollup-plugin-string": "^3.0.0",
|
"rollup-plugin-string": "^3.0.0",
|
||||||
"semver": "^7.6.3",
|
"semver": "^7.6.3",
|
||||||
@ -207,17 +207,17 @@
|
|||||||
"source-map": "^0.7.4",
|
"source-map": "^0.7.4",
|
||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"systemjs": "^6.15.1",
|
"systemjs": "^6.15.1",
|
||||||
"terser": "^5.31.3",
|
"terser": "^5.31.5",
|
||||||
"tslib": "^2.6.3",
|
"tslib": "^2.6.3",
|
||||||
"typescript": "^5.5.4",
|
"typescript": "^5.5.4",
|
||||||
"vite": "^5.3.5",
|
"vite": "^5.4.0",
|
||||||
"vitepress": "^1.3.1",
|
"vitepress": "^1.3.2",
|
||||||
"vue": "^3.4.34",
|
"vue": "^3.4.37",
|
||||||
"wasm-pack": "^0.13.0",
|
"wasm-pack": "^0.13.0",
|
||||||
"yargs-parser": "^21.1.1"
|
"yargs-parser": "^21.1.1"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"axios": "^1.7.2",
|
"axios": "^1.7.3",
|
||||||
"semver": "^7.6.3",
|
"semver": "^7.6.3",
|
||||||
"ws": "^8.18.0"
|
"ws": "^8.18.0"
|
||||||
},
|
},
|
||||||
|
137
site/real_game/package-lock.json
generated
137
site/real_game/package-lock.json
generated
@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "class",
|
"name": "real_game",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"rollup": "^4.21.0",
|
||||||
"three": "^0.167.1",
|
"three": "^0.167.1",
|
||||||
"vite": "^5.4.1"
|
"vite": "^5.4.1"
|
||||||
}
|
}
|
||||||
@ -378,9 +379,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-android-arm-eabi": {
|
"node_modules/@rollup/rollup-android-arm-eabi": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.0.tgz",
|
||||||
"integrity": "sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==",
|
"integrity": "sha512-WTWD8PfoSAJ+qL87lE7votj3syLavxunWhzCnx3XFxFiI/BA/r3X7MUM8dVrH8rb2r4AiO8jJsr3ZjdaftmnfA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
@ -391,9 +392,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-android-arm64": {
|
"node_modules/@rollup/rollup-android-arm64": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.0.tgz",
|
||||||
"integrity": "sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==",
|
"integrity": "sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@ -404,9 +405,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-darwin-arm64": {
|
"node_modules/@rollup/rollup-darwin-arm64": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.0.tgz",
|
||||||
"integrity": "sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==",
|
"integrity": "sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@ -417,9 +418,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-darwin-x64": {
|
"node_modules/@rollup/rollup-darwin-x64": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.0.tgz",
|
||||||
"integrity": "sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==",
|
"integrity": "sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@ -430,9 +431,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.0.tgz",
|
||||||
"integrity": "sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==",
|
"integrity": "sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
@ -443,9 +444,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.0.tgz",
|
||||||
"integrity": "sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==",
|
"integrity": "sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
@ -456,9 +457,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.0.tgz",
|
||||||
"integrity": "sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==",
|
"integrity": "sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@ -469,9 +470,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.0.tgz",
|
||||||
"integrity": "sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==",
|
"integrity": "sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@ -482,9 +483,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
|
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.0.tgz",
|
||||||
"integrity": "sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==",
|
"integrity": "sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ppc64"
|
"ppc64"
|
||||||
],
|
],
|
||||||
@ -495,9 +496,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.0.tgz",
|
||||||
"integrity": "sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==",
|
"integrity": "sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"riscv64"
|
"riscv64"
|
||||||
],
|
],
|
||||||
@ -508,9 +509,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.0.tgz",
|
||||||
"integrity": "sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==",
|
"integrity": "sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"s390x"
|
"s390x"
|
||||||
],
|
],
|
||||||
@ -521,9 +522,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.0.tgz",
|
||||||
"integrity": "sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==",
|
"integrity": "sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@ -534,9 +535,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-x64-musl": {
|
"node_modules/@rollup/rollup-linux-x64-musl": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.0.tgz",
|
||||||
"integrity": "sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==",
|
"integrity": "sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@ -547,9 +548,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.0.tgz",
|
||||||
"integrity": "sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==",
|
"integrity": "sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@ -560,9 +561,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.0.tgz",
|
||||||
"integrity": "sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==",
|
"integrity": "sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
@ -573,9 +574,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.0.tgz",
|
||||||
"integrity": "sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==",
|
"integrity": "sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@ -696,9 +697,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rollup": {
|
"node_modules/rollup": {
|
||||||
"version": "4.20.0",
|
"version": "4.21.0",
|
||||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.0.tgz",
|
||||||
"integrity": "sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==",
|
"integrity": "sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/estree": "1.0.5"
|
"@types/estree": "1.0.5"
|
||||||
@ -711,22 +712,22 @@
|
|||||||
"npm": ">=8.0.0"
|
"npm": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@rollup/rollup-android-arm-eabi": "4.20.0",
|
"@rollup/rollup-android-arm-eabi": "4.21.0",
|
||||||
"@rollup/rollup-android-arm64": "4.20.0",
|
"@rollup/rollup-android-arm64": "4.21.0",
|
||||||
"@rollup/rollup-darwin-arm64": "4.20.0",
|
"@rollup/rollup-darwin-arm64": "4.21.0",
|
||||||
"@rollup/rollup-darwin-x64": "4.20.0",
|
"@rollup/rollup-darwin-x64": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm-gnueabihf": "4.20.0",
|
"@rollup/rollup-linux-arm-gnueabihf": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm-musleabihf": "4.20.0",
|
"@rollup/rollup-linux-arm-musleabihf": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm64-gnu": "4.20.0",
|
"@rollup/rollup-linux-arm64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-arm64-musl": "4.20.0",
|
"@rollup/rollup-linux-arm64-musl": "4.21.0",
|
||||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.20.0",
|
"@rollup/rollup-linux-powerpc64le-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-riscv64-gnu": "4.20.0",
|
"@rollup/rollup-linux-riscv64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-s390x-gnu": "4.20.0",
|
"@rollup/rollup-linux-s390x-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-x64-gnu": "4.20.0",
|
"@rollup/rollup-linux-x64-gnu": "4.21.0",
|
||||||
"@rollup/rollup-linux-x64-musl": "4.20.0",
|
"@rollup/rollup-linux-x64-musl": "4.21.0",
|
||||||
"@rollup/rollup-win32-arm64-msvc": "4.20.0",
|
"@rollup/rollup-win32-arm64-msvc": "4.21.0",
|
||||||
"@rollup/rollup-win32-ia32-msvc": "4.20.0",
|
"@rollup/rollup-win32-ia32-msvc": "4.21.0",
|
||||||
"@rollup/rollup-win32-x64-msvc": "4.20.0",
|
"@rollup/rollup-win32-x64-msvc": "4.21.0",
|
||||||
"fsevents": "~2.3.2"
|
"fsevents": "~2.3.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
"dev": "vite"
|
"dev": "vite"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"rollup": "^4.21.0",
|
||||||
"three": "^0.167.1",
|
"three": "^0.167.1",
|
||||||
"vite": "^5.4.1"
|
"vite": "^5.4.1"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user