Game
- Update player class
This commit is contained in:
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
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@ -1745,7 +1745,7 @@ else if (command.version) {
|
||||
}
|
||||
else {
|
||||
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();
|
||||
}
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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 * as tty from 'tty';
|
||||
|
||||
var version = "4.20.0";
|
||||
var version = "4.21.0";
|
||||
|
||||
const comma = ','.charCodeAt(0);
|
||||
const semicolon = ';'.charCodeAt(0);
|
||||
@ -7414,7 +7414,9 @@ class ChildScope extends Scope {
|
||||
this.parent.addNamespaceMemberAccess(name, variable);
|
||||
}
|
||||
addReturnExpression(expression) {
|
||||
this.parent instanceof ChildScope && this.parent.addReturnExpression(expression);
|
||||
if (this.parent instanceof ChildScope) {
|
||||
this.parent.addReturnExpression(expression);
|
||||
}
|
||||
}
|
||||
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
|
||||
for (const variable of this.accessedOutsideVariables.values()) {
|
||||
@ -7730,12 +7732,15 @@ function renderStatementList(statements, code, start, end, options) {
|
||||
currentNode.end +
|
||||
findFirstLineBreakOutsideComment(code.original.slice(currentNode.end, nextNode === undefined ? end : nextNode.start))[1];
|
||||
if (currentNode.included) {
|
||||
currentNodeNeedsBoundaries
|
||||
? currentNode.render(code, options, {
|
||||
if (currentNodeNeedsBoundaries) {
|
||||
currentNode.render(code, options, {
|
||||
end: nextNodeStart,
|
||||
start: currentNodeStart
|
||||
})
|
||||
: currentNode.render(code, options);
|
||||
});
|
||||
}
|
||||
else {
|
||||
currentNode.render(code, options);
|
||||
}
|
||||
}
|
||||
else {
|
||||
treeshakeNode(currentNode, code, currentNodeStart, nextNodeStart);
|
||||
@ -7929,7 +7934,9 @@ class RestElement extends NodeBase {
|
||||
return this.argument.declare(kind, UNKNOWN_EXPRESSION);
|
||||
}
|
||||
deoptimizePath(path) {
|
||||
path.length === 0 && this.argument.deoptimizePath(EMPTY_PATH);
|
||||
if (path.length === 0) {
|
||||
this.argument.deoptimizePath(EMPTY_PATH);
|
||||
}
|
||||
}
|
||||
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
||||
return (path.length > 0 ||
|
||||
@ -8384,7 +8391,9 @@ class AssignmentPattern extends NodeBase {
|
||||
return this.left.declare(kind, init);
|
||||
}
|
||||
deoptimizePath(path) {
|
||||
path.length === 0 && this.left.deoptimizePath(path);
|
||||
if (path.length === 0) {
|
||||
this.left.deoptimizePath(path);
|
||||
}
|
||||
}
|
||||
hasEffectsOnInteractionAtPath(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) {
|
||||
if (this.consequent.length > 0) {
|
||||
this.test && this.test.render(code, options);
|
||||
if (this.test) {
|
||||
this.test.render(code, options);
|
||||
}
|
||||
const testEnd = this.test
|
||||
? this.test.end
|
||||
: findFirstOccurrenceOutsideComment(code.original, 'default', this.start) + 7;
|
||||
@ -13954,7 +13965,9 @@ class Module {
|
||||
]);
|
||||
}
|
||||
error(properties, pos) {
|
||||
pos !== undefined && this.addLocationToLogProps(properties, pos);
|
||||
if (pos !== undefined) {
|
||||
this.addLocationToLogProps(properties, pos);
|
||||
}
|
||||
return error(properties);
|
||||
}
|
||||
// sum up the length of all ast nodes that are included
|
||||
@ -15930,12 +15943,16 @@ const removeUnreferencedAssets = (outputBundle) => {
|
||||
const unreferencedAssets = new Set();
|
||||
const bundleEntries = Object.values(outputBundle);
|
||||
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) {
|
||||
if (chunk.type === 'chunk') {
|
||||
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);
|
||||
if (format === 'es' || format === 'cjs') {
|
||||
const shebang = facadeModule !== null && facadeModule.info.isEntry && facadeModule.shebang;
|
||||
shebang && magicString.prepend(`#!${shebang}\n`);
|
||||
if (shebang) {
|
||||
magicString.prepend(`#!${shebang}\n`);
|
||||
}
|
||||
}
|
||||
if (footer)
|
||||
magicString.append(footer);
|
||||
@ -16703,7 +16722,7 @@ class Chunk {
|
||||
: relative$1(this.inputBase, idWithoutExtension);
|
||||
}
|
||||
else {
|
||||
return `_virtual/${basename(idWithoutExtension)}`;
|
||||
return (this.outputOptions.virtualDirname.replace(/\/$/, '') + '/' + basename(idWithoutExtension));
|
||||
}
|
||||
}
|
||||
getReexportSpecifiers() {
|
||||
@ -17542,11 +17561,13 @@ function getOptimizedChunks(chunks, minChunkSize, sideEffectAtoms, sizeByAtom, l
|
||||
timeEnd('optimize chunks', 3);
|
||||
return chunks; // the actual modules
|
||||
}
|
||||
minChunkSize > 1 &&
|
||||
if (minChunkSize > 1) {
|
||||
log('info', logOptimizeChunkStatus(chunks.length, chunkPartition.small.size, 'Initially'));
|
||||
}
|
||||
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'));
|
||||
}
|
||||
timeEnd('optimize chunks', 3);
|
||||
return [...chunkPartition.small, ...chunkPartition.big];
|
||||
}
|
||||
@ -19888,7 +19909,7 @@ class PluginDriver {
|
||||
if (typeof handler !== 'function') {
|
||||
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);
|
||||
if (!hookResult?.then) {
|
||||
// short circuit for non-thenables and non-Promises
|
||||
@ -19933,7 +19954,7 @@ class PluginDriver {
|
||||
context = replaceContext(context, plugin);
|
||||
}
|
||||
try {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||
return handler.apply(context, parameters);
|
||||
}
|
||||
catch (error_) {
|
||||
@ -20495,7 +20516,8 @@ async function normalizeOutputOptions(config, inputOptions, unsetInputOptions) {
|
||||
sourcemapPathTransform: config.sourcemapPathTransform,
|
||||
strict: config.strict ?? 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);
|
||||
return { options: outputOptions, unsetOptions };
|
||||
@ -21203,7 +21225,8 @@ async function mergeOutputOptions(config, overrides, log) {
|
||||
sourcemapPathTransform: getOption('sourcemapPathTransform'),
|
||||
strict: getOption('strict'),
|
||||
systemNullSetters: getOption('systemNullSetters'),
|
||||
validate: getOption('validate')
|
||||
validate: getOption('validate'),
|
||||
virtualDirname: getOption('virtualDirname')
|
||||
};
|
||||
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', log);
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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 global {
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
interface AbortSignal {}
|
||||
}
|
||||
|
||||
@ -395,7 +396,6 @@ export type WatchChangeHook = (
|
||||
* 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 interface OutputBundle {
|
||||
@ -505,13 +505,13 @@ type MakeAsync<Function_> = Function_ extends (
|
||||
? (this: This, ...parameters: Arguments) => Return | Promise<Return>
|
||||
: 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);
|
||||
|
||||
export type PluginHooks = {
|
||||
[K in keyof FunctionPluginHooks]: ObjectHook<
|
||||
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 } : {}
|
||||
>;
|
||||
};
|
||||
@ -756,6 +756,7 @@ export interface OutputOptions {
|
||||
strict?: boolean;
|
||||
systemNullSetters?: boolean;
|
||||
validate?: boolean;
|
||||
virtualDirname?: string;
|
||||
}
|
||||
|
||||
export interface NormalizedOutputOptions {
|
||||
@ -809,6 +810,7 @@ export interface NormalizedOutputOptions {
|
||||
strict: boolean;
|
||||
systemNullSetters: boolean;
|
||||
validate: boolean;
|
||||
virtualDirname: string;
|
||||
}
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@ -418,7 +418,7 @@ function getCamelizedPluginBaseName(pluginText) {
|
||||
}
|
||||
async function requireOrImport(pluginPath) {
|
||||
try {
|
||||
// eslint-disable-next-line unicorn/prefer-module
|
||||
// eslint-disable-next-line unicorn/prefer-module, @typescript-eslint/no-require-imports
|
||||
return require(pluginPath);
|
||||
}
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
|
||||
|
||||
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
||||
|
||||
var version = "4.20.0";
|
||||
var version = "4.21.0";
|
||||
|
||||
function ensureArray$1(items) {
|
||||
if (Array.isArray(items)) {
|
||||
@ -165,12 +165,16 @@ const removeUnreferencedAssets = (outputBundle) => {
|
||||
const unreferencedAssets = new Set();
|
||||
const bundleEntries = Object.values(outputBundle);
|
||||
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) {
|
||||
if (chunk.type === 'chunk') {
|
||||
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') {
|
||||
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);
|
||||
if (!hookResult?.then) {
|
||||
// short circuit for non-thenables and non-Promises
|
||||
@ -1037,7 +1041,7 @@ class PluginDriver {
|
||||
context = replaceContext(context, plugin);
|
||||
}
|
||||
try {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||
return handler.apply(context, parameters);
|
||||
}
|
||||
catch (error_) {
|
||||
@ -1294,7 +1298,8 @@ async function mergeOutputOptions(config, overrides, log) {
|
||||
sourcemapPathTransform: getOption('sourcemapPathTransform'),
|
||||
strict: getOption('strict'),
|
||||
systemNullSetters: getOption('systemNullSetters'),
|
||||
validate: getOption('validate')
|
||||
validate: getOption('validate'),
|
||||
virtualDirname: getOption('virtualDirname')
|
||||
};
|
||||
warnUnknownOptions(config, Object.keys(outputOptions), 'output options', log);
|
||||
return outputOptions;
|
||||
@ -8863,7 +8868,9 @@ class ChildScope extends Scope {
|
||||
this.parent.addNamespaceMemberAccess(name, variable);
|
||||
}
|
||||
addReturnExpression(expression) {
|
||||
this.parent instanceof ChildScope && this.parent.addReturnExpression(expression);
|
||||
if (this.parent instanceof ChildScope) {
|
||||
this.parent.addReturnExpression(expression);
|
||||
}
|
||||
}
|
||||
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
|
||||
for (const variable of this.accessedOutsideVariables.values()) {
|
||||
@ -9179,12 +9186,15 @@ function renderStatementList(statements, code, start, end, options) {
|
||||
currentNode.end +
|
||||
findFirstLineBreakOutsideComment(code.original.slice(currentNode.end, nextNode === undefined ? end : nextNode.start))[1];
|
||||
if (currentNode.included) {
|
||||
currentNodeNeedsBoundaries
|
||||
? currentNode.render(code, options, {
|
||||
if (currentNodeNeedsBoundaries) {
|
||||
currentNode.render(code, options, {
|
||||
end: nextNodeStart,
|
||||
start: currentNodeStart
|
||||
})
|
||||
: currentNode.render(code, options);
|
||||
});
|
||||
}
|
||||
else {
|
||||
currentNode.render(code, options);
|
||||
}
|
||||
}
|
||||
else {
|
||||
treeshakeNode(currentNode, code, currentNodeStart, nextNodeStart);
|
||||
@ -9378,7 +9388,9 @@ class RestElement extends NodeBase {
|
||||
return this.argument.declare(kind, UNKNOWN_EXPRESSION);
|
||||
}
|
||||
deoptimizePath(path) {
|
||||
path.length === 0 && this.argument.deoptimizePath(EMPTY_PATH);
|
||||
if (path.length === 0) {
|
||||
this.argument.deoptimizePath(EMPTY_PATH);
|
||||
}
|
||||
}
|
||||
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
||||
return (path.length > 0 ||
|
||||
@ -9833,7 +9845,9 @@ class AssignmentPattern extends NodeBase {
|
||||
return this.left.declare(kind, init);
|
||||
}
|
||||
deoptimizePath(path) {
|
||||
path.length === 0 && this.left.deoptimizePath(path);
|
||||
if (path.length === 0) {
|
||||
this.left.deoptimizePath(path);
|
||||
}
|
||||
}
|
||||
hasEffectsOnInteractionAtPath(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) {
|
||||
if (this.consequent.length > 0) {
|
||||
this.test && this.test.render(code, options);
|
||||
if (this.test) {
|
||||
this.test.render(code, options);
|
||||
}
|
||||
const testEnd = this.test
|
||||
? this.test.end
|
||||
: findFirstOccurrenceOutsideComment(code.original, 'default', this.start) + 7;
|
||||
@ -15396,7 +15412,9 @@ class Module {
|
||||
]);
|
||||
}
|
||||
error(properties, pos) {
|
||||
pos !== undefined && this.addLocationToLogProps(properties, pos);
|
||||
if (pos !== undefined) {
|
||||
this.addLocationToLogProps(properties, pos);
|
||||
}
|
||||
return parseAst_js.error(properties);
|
||||
}
|
||||
// sum up the length of all ast nodes that are included
|
||||
@ -17719,7 +17737,9 @@ class Chunk {
|
||||
magicString.prepend(banner);
|
||||
if (format === 'es' || format === 'cjs') {
|
||||
const shebang = facadeModule !== null && facadeModule.info.isEntry && facadeModule.shebang;
|
||||
shebang && magicString.prepend(`#!${shebang}\n`);
|
||||
if (shebang) {
|
||||
magicString.prepend(`#!${shebang}\n`);
|
||||
}
|
||||
}
|
||||
if (footer)
|
||||
magicString.append(footer);
|
||||
@ -18040,7 +18060,7 @@ class Chunk {
|
||||
: parseAst_js.relative(this.inputBase, idWithoutExtension);
|
||||
}
|
||||
else {
|
||||
return `_virtual/${path$2.basename(idWithoutExtension)}`;
|
||||
return (this.outputOptions.virtualDirname.replace(/\/$/, '') + '/' + path$2.basename(idWithoutExtension));
|
||||
}
|
||||
}
|
||||
getReexportSpecifiers() {
|
||||
@ -18879,11 +18899,13 @@ function getOptimizedChunks(chunks, minChunkSize, sideEffectAtoms, sizeByAtom, l
|
||||
timeEnd('optimize chunks', 3);
|
||||
return chunks; // the actual modules
|
||||
}
|
||||
minChunkSize > 1 &&
|
||||
if (minChunkSize > 1) {
|
||||
log('info', parseAst_js.logOptimizeChunkStatus(chunks.length, chunkPartition.small.size, 'Initially'));
|
||||
}
|
||||
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'));
|
||||
}
|
||||
timeEnd('optimize chunks', 3);
|
||||
return [...chunkPartition.small, ...chunkPartition.big];
|
||||
}
|
||||
@ -20889,7 +20911,8 @@ async function normalizeOutputOptions(config, inputOptions, unsetInputOptions) {
|
||||
sourcemapPathTransform: config.sourcemapPathTransform,
|
||||
strict: config.strict ?? 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);
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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
|
||||
Rollup.js v4.20.0
|
||||
Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d5
|
||||
Rollup.js v4.21.0
|
||||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b
|
||||
|
||||
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",
|
||||
"version": "4.20.0",
|
||||
"version": "4.21.0",
|
||||
"description": "Next-generation ES module bundler",
|
||||
"main": "dist/rollup.js",
|
||||
"module": "dist/es/rollup.js",
|
||||
@ -107,22 +107,22 @@
|
||||
"homepage": "https://rollupjs.org/",
|
||||
"optionalDependencies": {
|
||||
"fsevents": "~2.3.2",
|
||||
"@rollup/rollup-darwin-arm64": "4.20.0",
|
||||
"@rollup/rollup-android-arm64": "4.20.0",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.20.0",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.20.0",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.20.0",
|
||||
"@rollup/rollup-android-arm-eabi": "4.20.0",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.20.0",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.20.0",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.20.0",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.20.0",
|
||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.20.0",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.20.0",
|
||||
"@rollup/rollup-darwin-x64": "4.20.0",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.20.0",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.20.0",
|
||||
"@rollup/rollup-linux-x64-musl": "4.20.0"
|
||||
"@rollup/rollup-darwin-arm64": "4.21.0",
|
||||
"@rollup/rollup-android-arm64": "4.21.0",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.21.0",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.21.0",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.21.0",
|
||||
"@rollup/rollup-android-arm-eabi": "4.21.0",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.21.0",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.21.0",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.21.0",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.21.0",
|
||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.21.0",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.21.0",
|
||||
"@rollup/rollup-darwin-x64": "4.21.0",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.21.0",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.21.0",
|
||||
"@rollup/rollup-linux-x64-musl": "4.21.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/estree": "1.0.5"
|
||||
@ -137,7 +137,7 @@
|
||||
"@codemirror/language": "^6.10.2",
|
||||
"@codemirror/search": "^6.5.6",
|
||||
"@codemirror/state": "^6.4.1",
|
||||
"@codemirror/view": "^6.29.1",
|
||||
"@codemirror/view": "^6.32.0",
|
||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||
"@mermaid-js/mermaid-cli": "^10.9.1",
|
||||
"@napi-rs/cli": "^2.18.4",
|
||||
@ -150,15 +150,15 @@
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"@rollup/plugin-typescript": "^11.1.6",
|
||||
"@rollup/pluginutils": "^5.1.0",
|
||||
"@shikijs/vitepress-twoslash": "^1.12.0",
|
||||
"@shikijs/vitepress-twoslash": "^1.12.1",
|
||||
"@types/eslint": "^8.56.11",
|
||||
"@types/inquirer": "^9.0.7",
|
||||
"@types/mocha": "^10.0.7",
|
||||
"@types/node": "~18.18.14",
|
||||
"@types/semver": "^7.5.8",
|
||||
"@types/yargs-parser": "^21.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||
"@typescript-eslint/parser": "^7.18.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
||||
"@typescript-eslint/parser": "^8.1.0",
|
||||
"@vue/eslint-config-prettier": "^9.0.0",
|
||||
"@vue/eslint-config-typescript": "^13.0.0",
|
||||
"acorn": "^8.12.1",
|
||||
@ -184,21 +184,21 @@
|
||||
"fs-extra": "^11.2.0",
|
||||
"github-api": "^3.4.0",
|
||||
"husky": "^9.1.4",
|
||||
"inquirer": "^10.1.5",
|
||||
"inquirer": "^10.1.8",
|
||||
"is-reference": "^3.0.2",
|
||||
"lint-staged": "^15.2.7",
|
||||
"lint-staged": "^15.2.8",
|
||||
"locate-character": "^3.0.0",
|
||||
"magic-string": "^0.30.11",
|
||||
"mocha": "^10.7.0",
|
||||
"mocha": "^10.7.3",
|
||||
"nodemon": "^3.1.4",
|
||||
"npm-audit-resolver": "^3.0.0-RC.0",
|
||||
"nyc": "^17.0.0",
|
||||
"pinia": "^2.2.0",
|
||||
"pinia": "^2.2.1",
|
||||
"prettier": "^3.3.3",
|
||||
"pretty-bytes": "^6.1.1",
|
||||
"pretty-ms": "^9.1.0",
|
||||
"requirejs": "^2.3.7",
|
||||
"rollup": "^4.19.1",
|
||||
"rollup": "^4.20.0",
|
||||
"rollup-plugin-license": "^3.5.2",
|
||||
"rollup-plugin-string": "^3.0.0",
|
||||
"semver": "^7.6.3",
|
||||
@ -207,17 +207,17 @@
|
||||
"source-map": "^0.7.4",
|
||||
"source-map-support": "^0.5.21",
|
||||
"systemjs": "^6.15.1",
|
||||
"terser": "^5.31.3",
|
||||
"terser": "^5.31.5",
|
||||
"tslib": "^2.6.3",
|
||||
"typescript": "^5.5.4",
|
||||
"vite": "^5.3.5",
|
||||
"vitepress": "^1.3.1",
|
||||
"vue": "^3.4.34",
|
||||
"vite": "^5.4.0",
|
||||
"vitepress": "^1.3.2",
|
||||
"vue": "^3.4.37",
|
||||
"wasm-pack": "^0.13.0",
|
||||
"yargs-parser": "^21.1.1"
|
||||
},
|
||||
"overrides": {
|
||||
"axios": "^1.7.2",
|
||||
"axios": "^1.7.3",
|
||||
"semver": "^7.6.3",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
|
Reference in New Issue
Block a user