rebuildjs 0.37.3 → 0.37.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/app/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { be_lock_memosig_triple_, be_memo_pair_, be_sig_triple_ } from 'ctx-core/rmemo'
2
- import { join, relative, resolve } from 'path'
2
+ import { join, relative, resolve } from 'node:path'
3
3
  export const [
4
4
  port$_,
5
5
  port_,
package/app/index.test.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type Ctx, ctx_ } from 'ctx-core/be'
2
2
  import type { Equal, Expect } from 'ctx-core/test'
3
- import { resolve } from 'path'
3
+ import { resolve } from 'node:path'
4
4
  import { test } from 'uvu'
5
5
  import { equal, not, throws } from 'uvu/assert'
6
6
  import { app_ctx } from '../ctx/index.js'
package/browser/index.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  waitfor
11
11
  } from 'ctx-core/rmemo'
12
12
  import { mkdir, readFile, writeFile } from 'node:fs/promises'
13
- import { join, relative } from 'path'
13
+ import { join, relative } from 'node:path'
14
14
  import { browser__relative_path_, browser_path_, cwd_ } from '../app/index.js'
15
15
  import { app_ctx } from '../ctx/index.js'
16
16
  import { server__output_ } from '../server/index.js'
package/build/index.js CHANGED
@@ -18,7 +18,7 @@ import { short_uuid_ } from 'ctx-core/uuid'
18
18
  import { context } from 'esbuild'
19
19
  import { fdir } from 'fdir'
20
20
  import { cp, link, mkdir, readFile, rm } from 'node:fs/promises'
21
- import { basename, dirname, extname, join, relative, resolve } from 'path'
21
+ import { basename, dirname, extname, join, relative, resolve } from 'node:path'
22
22
  import { app_path_, browser_path_, cwd_, is_prod_, server__relative_path_, server_path_ } from '../app/index.js'
23
23
  import {
24
24
  browser__metafile_,
@@ -2,9 +2,9 @@ import { ctx_ } from 'ctx-core/be'
2
2
  import { file_exists_ } from 'ctx-core/fs'
3
3
  import { sleep } from 'ctx-core/function'
4
4
  import { BuildContext } from 'esbuild'
5
- import { readFile } from 'fs/promises'
5
+ import { readFile } from 'node:fs/promises'
6
6
  import { rm } from 'node:fs/promises'
7
- import { basename, dirname, join } from 'path'
7
+ import { basename, dirname, join } from 'node:path'
8
8
  import { test } from 'uvu'
9
9
  import { equal, throws } from 'uvu/assert'
10
10
  import { browser__metafile0, browser__metafile1, server__metafile0, server__metafile1 } from '../_fixtures/metafiles.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rebuildjs",
3
- "version": "0.37.3",
3
+ "version": "0.37.6",
4
4
  "description": "Reactive esbuild...simple hackable alternative to vite for Multi Page Apps",
5
5
  "keywords": [
6
6
  "reactive",
@@ -53,15 +53,15 @@
53
53
  "./package.json": "./package.json"
54
54
  },
55
55
  "dependencies": {
56
- "ctx-core": "^5.18.7",
56
+ "ctx-core": "^5.18.8",
57
57
  "elysia": "^0.8.9",
58
58
  "esbuild": "^0.19.11",
59
59
  "fdir": "^6.1.1",
60
60
  "picomatch": "^3.0.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@typescript-eslint/eslint-plugin": "^6.18.1",
64
- "@typescript-eslint/parser": "^6.18.1",
63
+ "@typescript-eslint/eslint-plugin": "^6.19.0",
64
+ "@typescript-eslint/parser": "^6.19.0",
65
65
  "c8": "^9.1.0",
66
66
  "check-dts": "^0.7.2",
67
67
  "eslint": "^8.56.0",
package/server/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  waitfor
12
12
  } from 'ctx-core/rmemo'
13
13
  import { mkdir, readFile, writeFile } from 'node:fs/promises'
14
- import { join, relative } from 'path'
14
+ import { join, relative } from 'node:path'
15
15
  import { cwd_, server__relative_path_, server_path_ } from '../app/index.js'
16
16
  import { app_ctx, middleware_ctx__new } from '../ctx/index.js'
17
17
  export const [
package/types/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference lib="dom" />
1
2
  // forked from https://github.com/vitejs/vite/blob/main/packages/vite/client.d.ts
2
3
  declare module '*.apng' {
3
4
  const src: string