@markw65/monkeyc-optimizer 1.0.42 → 1.0.44
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 +21 -0
- package/build/api.cjs +404 -89
- package/build/optimizer.cjs +260 -49
- package/build/sdk-util.cjs +343 -2
- package/build/src/ast.d.ts +6 -3
- package/build/src/inliner.d.ts +2 -2
- package/build/src/optimizer-types.d.ts +1 -0
- package/build/src/resources.d.ts +3 -4
- package/build/src/worker-pool.d.ts +4 -0
- package/build/src/worker-task.d.ts +29 -0
- package/build/src/xml-util.d.ts +19 -7
- package/build/util.cjs +1 -1
- package/package.json +2 -2
- package/build/src/estree-types.d.ts +0 -324
package/README.md
CHANGED
|
@@ -507,3 +507,24 @@ Bug Fixes
|
|
|
507
507
|
|
|
508
508
|
- New features
|
|
509
509
|
- Resource files, and manifest.xml generate definitions and references so that prettier-extension-monkeyc can provide Goto Ref/Def between monkeyc, resource, and manifest files.
|
|
510
|
+
|
|
511
|
+
### 1.0.43
|
|
512
|
+
|
|
513
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.39](https://github.com/markw65/prettier-plugin-monkeyc#1039)
|
|
514
|
+
|
|
515
|
+
- Fixes issues parsing/printing/optimizing NaN
|
|
516
|
+
|
|
517
|
+
- Fix issues with windows paths introduced in 1.0.42
|
|
518
|
+
- Add Symbols (`:name`) to the list of things the inliner knows are constants
|
|
519
|
+
- Propagate `:typecheck(false)` to the caller when inlining
|
|
520
|
+
- Fix an issue with bogus undefined symbols being reported against manifest.xml in some projects that use barrels.
|
|
521
|
+
|
|
522
|
+
### 1.0.44
|
|
523
|
+
|
|
524
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.40](https://github.com/markw65/prettier-plugin-monkeyc#1040)
|
|
525
|
+
|
|
526
|
+
- Fixes location ranges associated with parenthesized expressions
|
|
527
|
+
- Fixes parsing of Lang.Char literals
|
|
528
|
+
|
|
529
|
+
- Add more parsing of expressions embedded in resource files. This should now be complete, in that the analasis pass should see every symbol definition and reference from anywhere in the project.
|
|
530
|
+
- Generalize constant folding to (nearly) all supported types. We don't fold additions between Float or Double and String, because the exact behavior is [buggy and upredictable](https://forums.garmin.com/developer/connect-iq/i/bug-reports/sdk-4-1-7-constant-folds-floats-strings-incorrectly)
|