@markw65/monkeyc-optimizer 1.0.26 → 1.0.27
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/api.cjs +1 -1
- package/build/optimizer.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -292,3 +292,9 @@ More fixes found via open source projects.
|
|
|
292
292
|
- Use `self.` rather than `ClassName.` to qualify names that would otherwise collide with locals, since that works with both public and private variables
|
|
293
293
|
- Fix a bug that caused the inliner to fail to qualify certain names, even if there was a collision with an existing local variables
|
|
294
294
|
- Fix some name lookup issues relating to whether the lookup is done as a type or a value.
|
|
295
|
+
|
|
296
|
+
### 1.0.27
|
|
297
|
+
|
|
298
|
+
- Bug fixes
|
|
299
|
+
- Update to `@markw65/prettier-plugin-monkeyc@1.0.29` to fix certain obscure comment related bugs
|
|
300
|
+
- When replacing a node (espcially when inlining), delete any comments contained in the old node.
|
package/build/api.cjs
CHANGED
package/build/optimizer.cjs
CHANGED
|
@@ -13105,7 +13105,7 @@ async function generateOneConfig(buildConfig, dependencyFiles, config) {
|
|
|
13105
13105
|
// the oldest optimized file, we don't need to regenerate
|
|
13106
13106
|
const source_time = await (0,external_util_cjs_namespaceObject.last_modified)(Object.keys(fnMap).concat(dependencyFiles));
|
|
13107
13107
|
const opt_time = await (0,external_util_cjs_namespaceObject.first_modified)(Object.values(fnMap).map((v) => v.output));
|
|
13108
|
-
if (source_time < opt_time &&
|
|
13108
|
+
if (source_time < opt_time && 1655851904193 < opt_time) {
|
|
13109
13109
|
return { hasTests, diagnostics: prevDiagnostics };
|
|
13110
13110
|
}
|
|
13111
13111
|
}
|
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.27",
|
|
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.29"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/glob": "^7.2.0",
|