@thi.ng/tangle 0.2.8 → 0.2.10

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +9 -3
  3. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-27T09:53:46Z
3
+ - **Last updated**: 2024-04-08T14:59:30Z
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 191 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
  >
@@ -318,7 +318,13 @@ Accepting PRs with instructruction for other editors & IDEs.
318
318
  yarn add @thi.ng/tangle
319
319
  ```
320
320
 
321
- ES module import:
321
+ ESM import:
322
+
323
+ ```ts
324
+ import * as tan from "@thi.ng/tangle";
325
+ ```
326
+
327
+ Browser ESM import:
322
328
 
323
329
  ```html
324
330
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/tangle"></script>
@@ -329,7 +335,7 @@ ES module import:
329
335
  For Node.js REPL:
330
336
 
331
337
  ```js
332
- const tangle = await import("@thi.ng/tangle");
338
+ const tan = await import("@thi.ng/tangle");
333
339
  ```
334
340
 
335
341
  Package sizes (brotli'd, pre-treeshake): ESM: 1.99 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/tangle",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "Literate programming code block tangling / codegen utility, inspired by org-mode & noweb",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,20 +37,20 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/api": "^8.9.31",
41
- "@thi.ng/args": "^2.3.28",
42
- "@thi.ng/checks": "^3.5.5",
43
- "@thi.ng/compare": "^2.2.27",
44
- "@thi.ng/date": "^2.7.12",
45
- "@thi.ng/errors": "^2.5.2",
46
- "@thi.ng/file-io": "^1.3.12",
47
- "@thi.ng/logger": "^3.0.7",
48
- "@thi.ng/strings": "^3.7.28",
49
- "@thi.ng/transducers": "^8.9.17"
40
+ "@thi.ng/api": "^8.10.0",
41
+ "@thi.ng/args": "^2.3.29",
42
+ "@thi.ng/checks": "^3.6.0",
43
+ "@thi.ng/compare": "^2.3.1",
44
+ "@thi.ng/date": "^2.7.13",
45
+ "@thi.ng/errors": "^2.5.3",
46
+ "@thi.ng/file-io": "^2.0.1",
47
+ "@thi.ng/logger": "^3.0.8",
48
+ "@thi.ng/strings": "^3.7.29",
49
+ "@thi.ng/transducers": "^9.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@microsoft/api-extractor": "^7.43.0",
53
- "@thi.ng/testament": "^0.4.24",
53
+ "@thi.ng/testament": "^0.4.25",
54
54
  "esbuild": "^0.20.2",
55
55
  "rimraf": "^5.0.5",
56
56
  "typedoc": "^0.25.12",
@@ -94,5 +94,5 @@
94
94
  "status": "alpha",
95
95
  "year": 2022
96
96
  },
97
- "gitHead": "db5f5a5d1b223a8e6b4999d67836678038fd3560\n"
97
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
98
98
  }