@colyseus/monitor 0.16.5 → 0.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.mjs CHANGED
@@ -66,7 +66,7 @@ async function main() {
66
66
  esbuild.build({
67
67
  entryPoints,
68
68
  outdir,
69
- target,
69
+ target: "esnext",
70
70
  format: "esm",
71
71
  bundle: true,
72
72
  sourcemap: "external",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colyseus/monitor",
3
- "version": "0.16.5",
3
+ "version": "0.16.6",
4
4
  "description": "Web Monitoring Panel for Colyseus",
5
5
  "input": "./src/index.ts",
6
6
  "main": "./build/index.js",
@@ -52,7 +52,7 @@
52
52
  "@types/superagent": "^3.5.8",
53
53
  "colyseus": "^0.16.0",
54
54
  "css-loader": "^0.28.11",
55
- "esbuild": "^0.17.0",
55
+ "esbuild": "^0.25.0",
56
56
  "extract-text-webpack-plugin": "^4.0.0-beta.0",
57
57
  "fast-glob": "^3.3.2",
58
58
  "file-loader": "^1.1.11",
@@ -2,8 +2,6 @@ import express from 'express';
2
2
  import path from 'path';
3
3
 
4
4
  // required for ESM support. (esbuild uses it)
5
- // we had to stick with an older version of esbuild because 0.24.+ overwrites
6
- // import.meta with import_meta = {}, breaking the __dirname workaround.
7
5
  import { fileURLToPath } from 'url';
8
6
 
9
7
  import { getAPI } from './api.js';