@tilua-types/luau 7.1.0 → 8.0.0

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/README.md CHANGED
@@ -24,3 +24,14 @@ npm i -D @tilua-types/luau
24
24
 
25
25
  [`@tilua-types/roblox`](../roblox) loads it: Roblox's Lua is Luau, so a
26
26
  Roblox project has both without naming this one.
27
+
28
+ <!-- compatibility:start -->
29
+ ## Compatibility
30
+
31
+ `@tilua-types/luau@8.0.0` works with these tilua packages. *Released with* is the
32
+ version it was built and tested against.
33
+
34
+ | Package | Range | Released with | |
35
+ | --- | --- | --- | --- |
36
+ | `@tilua/parser` | `^8.0.0` | 8.0.0 | peer |
37
+ <!-- compatibility:end -->
package/index.d.tilua CHANGED
@@ -90,9 +90,9 @@ declare utf8: {
90
90
  offset: (s: string, n: number, i?: number) => number | nil,
91
91
  nfdnormalize: (s: string) => string,
92
92
  nfcnormalize: (s: string) => string,
93
- -- `for (const [position, code] in utf8.codes(s))`.
93
+ -- `for (const [position, code] of utf8.codes(s))`.
94
94
  codes: (s: string) => Iteration<string, [number, number]>,
95
- -- `for (const [first, last] in utf8.graphemes(s))`: where each grapheme
95
+ -- `for (const [first, last] of utf8.graphemes(s))`: where each grapheme
96
96
  -- cluster starts and ends, as byte positions.
97
97
  graphemes: (s: string, i?: number, j?: number) => () => [number, number] | nil,
98
98
  charpattern: string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilua-types/luau",
3
- "version": "7.1.0",
3
+ "version": "8.0.0",
4
4
  "description": "Luau as a tilua type library: what Luau adds to Lua 5.1 (buffer, bit32, string.split, ...), and Luau's syntax in the compiled output",
5
5
  "license": "ISC",
6
6
  "files": [
@@ -13,7 +13,7 @@
13
13
  "lowering": "lowering.mjs"
14
14
  },
15
15
  "peerDependencies": {
16
- "@tilua/parser": "^6.1.0"
16
+ "@tilua/parser": "^8.0.0"
17
17
  },
18
18
  "keywords": [
19
19
  "tilua",