@markw65/monkeyc-optimizer 1.0.35 → 1.0.36
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 +6 -0
- package/build/optimizer.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -414,3 +414,9 @@ Bug Fixes
|
|
|
414
414
|
|
|
415
415
|
- Bug fixes
|
|
416
416
|
- Fixed a bug that caused the optimizer to fail if a top level variable declared in a case statement had an initializer with side effects. This didn't produce incorrect results, the optimizer simply bailed out with an obscure error, and refused to optimize the project.
|
|
417
|
+
|
|
418
|
+
### 1.0.36
|
|
419
|
+
|
|
420
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.34](https://github.com/markw65/prettier-plugin-monkeyc#1034).
|
|
421
|
+
- Fixes [prettier-plugin-monkeyc#1](https://github.com/markw65/prettier-plugin-monkeyc/issues/1)
|
|
422
|
+
- Fixes [monkeyc-optimizer#1](https://github.com/markw65/monkeyc-optimizer/issues/1)
|
package/build/optimizer.cjs
CHANGED
|
@@ -15489,7 +15489,7 @@ async function generateOneConfig(buildConfig, dependencyFiles, config) {
|
|
|
15489
15489
|
// the oldest optimized file, we don't need to regenerate
|
|
15490
15490
|
const source_time = await (0,external_util_cjs_namespaceObject.last_modified)(Object.keys(fnMap).concat(dependencyFiles));
|
|
15491
15491
|
const opt_time = await (0,external_util_cjs_namespaceObject.first_modified)(Object.values(fnMap).map((v) => v.output));
|
|
15492
|
-
if (source_time < opt_time &&
|
|
15492
|
+
if (source_time < opt_time && 1662763619992 < opt_time) {
|
|
15493
15493
|
return { hasTests, diagnostics: prevDiagnostics };
|
|
15494
15494
|
}
|
|
15495
15495
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markw65/monkeyc-optimizer",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.36",
|
|
5
5
|
"description": "Source to source optimizer for Garmin Monkey C code",
|
|
6
6
|
"main": "build/optimizer.cjs",
|
|
7
7
|
"types": "build/src/optimizer.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"author": "markw65",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@markw65/prettier-plugin-monkeyc": "^1.0.
|
|
40
|
+
"@markw65/prettier-plugin-monkeyc": "^1.0.35"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/glob": "^7.2.0",
|