tosijs-ui 1.16.16 → 1.16.17

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,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.16.17
4
+
5
+ - **The pinned tjs-lang is 0.14.0-rc.5; it was 0.13.13.** That is the devDependency this
6
+ package builds and tests with, and `TJS_VERSION`, which sites without their own copy load
7
+ from a CDN. What it turns on for `tjs` and `ts` examples on those sites, all of it
8
+ feature-detected in 1.16.16: examples written as modules run (`export` is removed), a
9
+ console line shows its own value and offers the JavaScript it became, and a built-in
10
+ `tjs` example that declares a function gains a **Docs** tab beside its code, generated
11
+ from its signatures.
12
+ - **What can break, and how to stay where you were.** tjs-lang 0.14 refuses some code that
13
+ 0.13 accepted, with no compatibility switch: `||` in a type (a union is spelled `|`),
14
+ `unsafe var` and `unsafe eval`, and a `wasm` block that cannot compile, among others. Its
15
+ [changelog](https://github.com/tonioloewald/tjs-lang/blob/main/CHANGELOG.md) lists them
16
+ under "what breaks". A `tjs` example using one of those stops compiling on a site that
17
+ loads tjs-lang from the CDN. To keep the old transpiler, install `tjs-lang@0.13.13` in
18
+ your project: the build copies the installed tjs-lang next to your pages and the page
19
+ prefers that copy to the CDN. A site that already installs its own tjs-lang is
20
+ unaffected.
21
+ - The transpiler bundle a page with `tjs` or `ts` examples downloads is larger: 169 kB to
22
+ 195 kB gzip. `dist/iife.js` is unchanged, and pages without such examples load neither.
23
+ - The peer range is unchanged (`^0.13.1 || ^0.14.0-rc.5`).
24
+
3
25
  ## 1.16.16
4
26
 
5
27
  For tjs-lang's book (GitHub #216 item 3 and #210 item 5), plus one change to `llms.txt`.