@thi.ng/file-io 2.0.0 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-29T12:16:20Z
3
+ - **Last updated**: 2024-04-11T12:32:44Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 190 standalone projects, maintained as part
10
+ > This is one of 192 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -42,10 +42,16 @@ logging interface.
42
42
  yarn add @thi.ng/file-io
43
43
  ```
44
44
 
45
+ ESM import:
46
+
47
+ ```ts
48
+ import * as fio from "@thi.ng/file-io";
49
+ ```
50
+
45
51
  For Node.js REPL:
46
52
 
47
53
  ```js
48
- const fileIo = await import("@thi.ng/file-io");
54
+ const fio = await import("@thi.ng/file-io");
49
55
  ```
50
56
 
51
57
  Package sizes (brotli'd, pre-treeshake): ESM: 2.04 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/file-io",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Assorted file I/O utils (with logging support) for NodeJS/Bun",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,11 +36,11 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.9.31",
40
- "@thi.ng/checks": "^3.5.5",
41
- "@thi.ng/hex": "^2.3.41",
42
- "@thi.ng/logger": "^3.0.7",
43
- "@thi.ng/random": "^3.7.1"
39
+ "@thi.ng/api": "^8.10.1",
40
+ "@thi.ng/checks": "^3.6.1",
41
+ "@thi.ng/hex": "^2.3.43",
42
+ "@thi.ng/logger": "^3.0.9",
43
+ "@thi.ng/random": "^3.7.3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.43.0",
@@ -120,8 +120,9 @@
120
120
  }
121
121
  },
122
122
  "thi.ng": {
123
+ "alias": "fio",
123
124
  "status": "stable",
124
125
  "year": 2022
125
126
  },
126
- "gitHead": "ce5ae2a322d50a7ce8ecccbd94fa55c496ba04fd\n"
127
+ "gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
127
128
  }