@markw65/monkeyc-optimizer 1.1.51 → 1.1.53
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 +11 -0
- package/build/api.cjs +34 -34
- package/build/{chunk-HKWBVOEL.cjs → chunk-32NRMXAJ.cjs} +552 -142
- package/build/optimizer.cjs +16 -16
- package/build/sdk-util.cjs +14 -14
- package/build/src/optimizer-types.d.ts +1 -2
- package/build/src/readprg/bytecode.d.ts +1 -0
- package/build/src/readprg/header.d.ts +1 -0
- package/build/src/readprg/opcodes.d.ts +104 -3
- package/build/src/sdk-util.d.ts +1 -0
- package/build/worker-thread.cjs +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the "monkeyc-optimizer" package will be documented in this file.
|
|
4
4
|
|
|
5
|
+
### 1.1.53
|
|
6
|
+
|
|
7
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.56](https://github.com/markw65/prettier-plugin-monkeyc/blob/main/CHANGELOG.md#1056)
|
|
8
|
+
- Allows excludeAnnotations on typedefs
|
|
9
|
+
- Allows arbitrary initializers for enums
|
|
10
|
+
- Fix a few nits with the post build optimizer
|
|
11
|
+
|
|
12
|
+
### 1.1.52
|
|
13
|
+
|
|
14
|
+
- Add support for System 5 .prg files, including new bytecodes.
|
|
15
|
+
|
|
5
16
|
### 1.1.51
|
|
6
17
|
|
|
7
18
|
- Fix a bug where a call with mismatched arguments could be marked as side-effect free, and then removed.
|
package/build/api.cjs
CHANGED
|
@@ -18,47 +18,47 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var api_exports = {};
|
|
20
20
|
__export(api_exports, {
|
|
21
|
-
checkCompilerVersion: () =>
|
|
22
|
-
collectNamespaces: () =>
|
|
23
|
-
createDocumentationMap: () =>
|
|
24
|
-
diagnostic: () =>
|
|
25
|
-
diagnosticHelper: () =>
|
|
26
|
-
findNamesInScope: () =>
|
|
27
|
-
findUsingForNode: () =>
|
|
28
|
-
formatAst: () =>
|
|
29
|
-
formatAstLongLines: () =>
|
|
30
|
-
formatScopedName: () =>
|
|
31
|
-
getApiFunctionInfo: () =>
|
|
32
|
-
getApiMapping: () =>
|
|
33
|
-
getSuperClasses: () =>
|
|
21
|
+
checkCompilerVersion: () => import_chunk_32NRMXAJ.checkCompilerVersion,
|
|
22
|
+
collectNamespaces: () => import_chunk_32NRMXAJ.collectNamespaces,
|
|
23
|
+
createDocumentationMap: () => import_chunk_32NRMXAJ.createDocumentationMap,
|
|
24
|
+
diagnostic: () => import_chunk_32NRMXAJ.diagnostic,
|
|
25
|
+
diagnosticHelper: () => import_chunk_32NRMXAJ.diagnosticHelper,
|
|
26
|
+
findNamesInScope: () => import_chunk_32NRMXAJ.findNamesInScope,
|
|
27
|
+
findUsingForNode: () => import_chunk_32NRMXAJ.findUsingForNode,
|
|
28
|
+
formatAst: () => import_chunk_32NRMXAJ.formatAst,
|
|
29
|
+
formatAstLongLines: () => import_chunk_32NRMXAJ.formatAstLongLines,
|
|
30
|
+
formatScopedName: () => import_chunk_32NRMXAJ.formatScopedName,
|
|
31
|
+
getApiFunctionInfo: () => import_chunk_32NRMXAJ.getApiFunctionInfo,
|
|
32
|
+
getApiMapping: () => import_chunk_32NRMXAJ.getApiMapping,
|
|
33
|
+
getSuperClasses: () => import_chunk_32NRMXAJ.getSuperClasses,
|
|
34
34
|
hasProperty: () => import_chunk_MBTLUWXR.hasProperty,
|
|
35
|
-
isClassVariable: () =>
|
|
36
|
-
isLocal: () =>
|
|
37
|
-
isLookupCandidate: () =>
|
|
38
|
-
isStateNode: () =>
|
|
39
|
-
lookupByFullName: () =>
|
|
40
|
-
lookupNext: () =>
|
|
41
|
-
lookupResultContains: () =>
|
|
42
|
-
lookupWithType: () =>
|
|
43
|
-
makeToyboxLink: () =>
|
|
44
|
-
mapVarDeclsByType: () =>
|
|
45
|
-
markInvokeClassMethod: () =>
|
|
46
|
-
parseSdkVersion: () =>
|
|
47
|
-
resolveDiagnostics: () =>
|
|
48
|
-
resolveDiagnosticsMap: () =>
|
|
49
|
-
sameLookupResult: () =>
|
|
35
|
+
isClassVariable: () => import_chunk_32NRMXAJ.isClassVariable,
|
|
36
|
+
isLocal: () => import_chunk_32NRMXAJ.isLocal,
|
|
37
|
+
isLookupCandidate: () => import_chunk_32NRMXAJ.isLookupCandidate,
|
|
38
|
+
isStateNode: () => import_chunk_32NRMXAJ.isStateNode,
|
|
39
|
+
lookupByFullName: () => import_chunk_32NRMXAJ.lookupByFullName,
|
|
40
|
+
lookupNext: () => import_chunk_32NRMXAJ.lookupNext,
|
|
41
|
+
lookupResultContains: () => import_chunk_32NRMXAJ.lookupResultContains,
|
|
42
|
+
lookupWithType: () => import_chunk_32NRMXAJ.lookupWithType,
|
|
43
|
+
makeToyboxLink: () => import_chunk_32NRMXAJ.makeToyboxLink,
|
|
44
|
+
mapVarDeclsByType: () => import_chunk_32NRMXAJ.mapVarDeclsByType,
|
|
45
|
+
markInvokeClassMethod: () => import_chunk_32NRMXAJ.markInvokeClassMethod,
|
|
46
|
+
parseSdkVersion: () => import_chunk_32NRMXAJ.parseSdkVersion,
|
|
47
|
+
resolveDiagnostics: () => import_chunk_32NRMXAJ.resolveDiagnostics,
|
|
48
|
+
resolveDiagnosticsMap: () => import_chunk_32NRMXAJ.resolveDiagnosticsMap,
|
|
49
|
+
sameLookupResult: () => import_chunk_32NRMXAJ.sameLookupResult,
|
|
50
50
|
traverseAst: () => import_chunk_MBTLUWXR.traverseAst,
|
|
51
|
-
variableDeclarationName: () =>
|
|
52
|
-
visitReferences: () =>
|
|
53
|
-
visit_resources: () =>
|
|
54
|
-
visitorNode: () =>
|
|
51
|
+
variableDeclarationName: () => import_chunk_32NRMXAJ.variableDeclarationName,
|
|
52
|
+
visitReferences: () => import_chunk_32NRMXAJ.visitReferences,
|
|
53
|
+
visit_resources: () => import_chunk_32NRMXAJ.visit_resources,
|
|
54
|
+
visitorNode: () => import_chunk_32NRMXAJ.visitorNode
|
|
55
55
|
});
|
|
56
56
|
module.exports = __toCommonJS(api_exports);
|
|
57
|
-
var
|
|
57
|
+
var import_chunk_32NRMXAJ = require("./chunk-32NRMXAJ.cjs");
|
|
58
58
|
var import_chunk_SG7ODKRM = require("./chunk-SG7ODKRM.cjs");
|
|
59
59
|
var import_chunk_MBTLUWXR = require("./chunk-MBTLUWXR.cjs");
|
|
60
60
|
var import_chunk_ABYVSU2C = require("./chunk-ABYVSU2C.cjs");
|
|
61
|
-
(0,
|
|
61
|
+
(0, import_chunk_32NRMXAJ.init_api)();
|
|
62
62
|
// Annotate the CommonJS export names for ESM import in node:
|
|
63
63
|
0 && (module.exports = {
|
|
64
64
|
checkCompilerVersion,
|