refactor(asr): [PKG-ASR-04] preserve old declarations and add precise runtime types

This commit is contained in:
Harvey Zhao committed 2026-09-13 15:07:04 +08:00
1 parent 0cf2af4840
commit 93208e59e1
24 files changed
+1224 -19

No files matched your search

@@ -0,0 +1,254 @@
{
"schemaVersion": 1,
"task": "PKG-ASR-04",
"sourceReport": "refactor/.cache/asr-package-types-3KzGBO/report.json",
"scope": "Observed strict installed consumers from frozen 2.0.0 and 2.1.0 archives with packed candidate core. Both old NodeNext ESM default imports are namespaces; direct-call diagnostics are retained, not counted as passing compatibility. Legal namespace consumers are verified separately.",
"cases": [
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "node10-commonjs",
"diagnostics": []
},
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "nodenext-cjs",
"diagnostics": []
},
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "nodenext-esm",
"diagnostics": [
{
"file": "consumer.mts",
"line": 26,
"code": 2322,
"message": "Type '{ length: number; interval: number; sampleRate: number; autoHideTimeout: number; onAudioChunk(chunk: any): void; }' is not assignable to type 'never'."
},
{
"file": "consumer.mts",
"line": 26,
"code": 2344,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' does not satisfy the constraint '(...args: any) => any'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(...args: any): any'."
},
{
"file": "consumer.mts",
"line": 31,
"code": 7006,
"message": "Parameter 'chunk' implicitly has an 'any' type."
},
{
"file": "consumer.mts",
"line": 37,
"code": 2322,
"message": "Type 'undefined' is not assignable to type 'never'."
},
{
"file": "consumer.mts",
"line": 37,
"code": 2344,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' does not satisfy the constraint '(...args: any) => any'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(...args: any): any'."
},
{
"file": "consumer.mts",
"line": 39,
"code": 2344,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' does not satisfy the constraint '(...args: any) => any'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(...args: any): any'."
},
{
"file": "consumer.mts",
"line": 46,
"code": 2322,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' is not assignable to type 'PublishedFactory'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(option?: PublishedOption | undefined): (art: Artplayer) => PublishedResult'."
},
{
"file": "consumer.mts",
"line": 47,
"code": 2322,
"message": "Type 'PublishedFactory' is not assignable to type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")'."
},
{
"file": "consumer.mts",
"line": 48,
"code": 2322,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' is not assignable to type 'PublishedFactory'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(option?: PublishedOption | undefined): (art: Artplayer) => PublishedResult'."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 50,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 54,
"code": 2339,
"message": "Property 'onAudioChunk' does not exist on type 'never'."
}
]
},
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "bundler-esm",
"diagnostics": []
},
{
"plugin": "published-2.0.0",
"compiler": "4.3.5",
"mode": "node10-commonjs",
"diagnostics": []
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "node10-commonjs",
"diagnostics": []
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "nodenext-cjs",
"diagnostics": []
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "nodenext-esm",
"diagnostics": [
{
"file": "consumer.mts",
"line": 26,
"code": 2322,
"message": "Type '{ length: number; interval: number; sampleRate: number; autoHideTimeout: number; onAudioChunk(chunk: any): void; }' is not assignable to type 'never'."
},
{
"file": "consumer.mts",
"line": 26,
"code": 2344,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' does not satisfy the constraint '(...args: any) => any'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(...args: any): any'."
},
{
"file": "consumer.mts",
"line": 31,
"code": 7006,
"message": "Parameter 'chunk' implicitly has an 'any' type."
},
{
"file": "consumer.mts",
"line": 37,
"code": 2322,
"message": "Type 'undefined' is not assignable to type 'never'."
},
{
"file": "consumer.mts",
"line": 37,
"code": 2344,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' does not satisfy the constraint '(...args: any) => any'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(...args: any): any'."
},
{
"file": "consumer.mts",
"line": 39,
"code": 2344,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' does not satisfy the constraint '(...args: any) => any'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(...args: any): any'."
},
{
"file": "consumer.mts",
"line": 46,
"code": 2322,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' is not assignable to type 'PublishedFactory'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(option?: PublishedOption | undefined): (art: Artplayer) => PublishedResult'."
},
{
"file": "consumer.mts",
"line": 47,
"code": 2322,
"message": "Type 'PublishedFactory' is not assignable to type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")'."
},
{
"file": "consumer.mts",
"line": 48,
"code": 2322,
"message": "Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' is not assignable to type 'PublishedFactory'.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' provides no match for the signature '(option?: PublishedOption | undefined): (art: Artplayer) => PublishedResult'."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 49,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 50,
"code": 2349,
"message": "This expression is not callable.\n Type 'typeof import(\"<consumer>/node_modules/artplayer-plugin-asr/types/artplayer-plugin-asr\")' has no call signatures."
},
{
"file": "consumer.mts",
"line": 54,
"code": 2339,
"message": "Property 'onAudioChunk' does not exist on type 'never'."
}
]
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "bundler-esm",
"diagnostics": []
},
{
"plugin": "published-2.1.0",
"compiler": "4.3.5",
"mode": "node10-commonjs",
"diagnostics": []
}
],
"fixtures": {
"refactor/fixtures/consumers/asr-published.ts": "7611ab9ef9765fe6a6ca5112589228d49012400bf0b9d9cede96ead8e63cffc2",
"refactor/fixtures/consumers/asr-esm-namespace.ts": "1e3b7475452f43f71e4e038c17368860fe2bc00a61451397fe609e9a3e078d98"
}
}
@@ -0,0 +1,363 @@
{
"schemaVersion": 1,
"task": "PKG-ASR-04",
"capturedAt": "2026-09-13T07:06:14.836Z",
"baseCommit": "0cf2af48400908fbe4217259e7d9fd37c1e15d1f",
"runtimeChanged": false,
"dependenciesAdded": [],
"versionChanged": false,
"installation": {
"node": "v24.21.0",
"yarn": "1.22.22",
"outsideWorkspace": true,
"offline": true,
"frozenReinstall": true,
"installedHashesVerified": true,
"workspaceLinks": false,
"runtimeExportsExecuted": true,
"packages": [
{
"name": "artplayer",
"archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\asr-package-types-nlZPaL\\artplayer.tgz",
"sha256": "0c0ea52d41575261b836aefac68280733b119c75834ecad6d4bc78edb073f4c1",
"files": {
"package/ARCHITECTURE.md": "bee98fc9d93a3911d58e98ef15f2dbe07e12f2274c444d989094248a22079e46",
"package/README.md": "1e185e65f67fc2081b4182bbc6c4558ea05b6e3fa3acc5dd0c3ac7df1d542b09",
"package/THIRD_PARTY_NOTICES": "b77b5b46b79fa0cda850b0781f78c3b1112c4ed9672fa291956fe8eff53098e7",
"package/dist/artplayer.js": "6dc8ca6d6eb34aa8a056cbc31328efd634530b3c5c60f0014cb7ce719fabc335",
"package/dist/artplayer.legacy.js": "80f74a8a39df4baf64cc00c65d21cd57c011bfcdead0da38eea077fbc67c5c04",
"package/dist/artplayer.mjs": "432e2b0ad92009a09743e020bf7c928c8b8f18a52496622b16259ec9ab20059f",
"package/dist/i18n/ar.js": "bd0bef65f4f7dc3f8ed562904cc6fa9071ff4537fb64c1e0fc3d554141bcd3cb",
"package/dist/i18n/ar.mjs": "59310b7bbeea83bbb7d73aadc5ca82a6ec269c3530d19aa741c94d5c64fc5da8",
"package/dist/i18n/cs.js": "6e2c93daba24c2e48dfa206bcf4f2f2a8a02713b856e404d2e4e4ecd8309ca2f",
"package/dist/i18n/cs.mjs": "c73fba18797d62d7b2581e67fe7340c35fe84510b2250ff1ecaad253d9cabbac",
"package/dist/i18n/es.js": "f4133ac6ea06b69a474b33c4a1809a4066e2376bb9464a3f3aa8330f01f1944a",
"package/dist/i18n/es.mjs": "1390bca3def2be115e811de337df0a0c3f63998e51359f283023246245c552a7",
"package/dist/i18n/fa.js": "8d3ef2e0f0cc0ea480c2167b6fcb87cdf444e90759c3519e8daa139fec576da4",
"package/dist/i18n/fa.mjs": "ab441e8a2d79043b29ceca87c783bf06874bb9d3a149c1604bc167eb481be2a9",
"package/dist/i18n/fr.js": "89dc4194a6c0a962b9ce756b52c90401c1acf3b159f265f3bc0d7d6d7d987f03",
"package/dist/i18n/fr.mjs": "99491878430fb7b6f2b7bf93da0588a831704b412e01116f23ba1d9d45863816",
"package/dist/i18n/id.js": "4c6dc86db741bcc2857df55a9d037e82e91d375fa6fd22e0562809ff621b92db",
"package/dist/i18n/id.mjs": "383e5803a6b6686c6de4e867770241de75b6f517dcca2bdedc6f2004bf6e1fb3",
"package/dist/i18n/pl.js": "3a38828b1c3d719c0aca9906cf6a46c23555a8411f8d57645f0e0ce8147dc664",
"package/dist/i18n/pl.mjs": "079ed96732979035297af387c64a7b99519b5a43107fb86735a654ea4fe8e9b5",
"package/dist/i18n/ru.js": "62fac9dddb302eb16382e6e9301fc4b2c66f5f69d4a358a26b67026a5fa4e787",
"package/dist/i18n/ru.mjs": "a893aeaee1d79409db72e324fbff200e3864f33ed168f04d91d25f7cf2efa765",
"package/dist/i18n/tr.js": "1492c36b069a7d73db4f3913bd18085faff7afd8b3c158138fe264e31600e38c",
"package/dist/i18n/tr.mjs": "a90478cac078836b76c2a98261907610fee07f3e4b28671b8e7dbf533778f918",
"package/dist/i18n/vi.js": "c7216ef7e608a79b7e2c479a07bf310d4ab79577947ac4a62d676faaced0e9cf",
"package/dist/i18n/vi.mjs": "66270fdfa0b5da396322d1769169b7df37a030ba15ac18eb30bd87b3af8074ec",
"package/dist/i18n/zh-tw.js": "11c49857d6d40a5ffd224ffa59c9026e71621b345f63c5a086326db80a22371a",
"package/dist/i18n/zh-tw.mjs": "a38e630cb96de96c15d824686aec750e25cf6c8ada01285a292442a81566314f",
"package/package.json": "82e92699e7c29847f32ac6767ece0401290e7d7a12854722bdbcfd09b90b7954",
"package/types/COMPATIBILITY.md": "a7da9e102a116104b513df4f7451247b7759bc502d3375f30bd5b14a541826e0",
"package/types/README.md": "1bd9868e773610e6312fd48a1c5aa20772d29df0af40c3db66e75b7ab4a1aee0",
"package/types/artplayer.d.cts": "3685065e4263abcfd9d953176e461d5b3eb990b0363b54689a7f55deba770fef",
"package/types/artplayer.d.mts": "b664fec51ee5c5381f2ceab25d99d52aee56feab04a2ee7b4ea5b2145ea5fa0e",
"package/types/artplayer.d.ts": "5d0162adf7ac6d0f2bb9b5cfe361f28657c4d9c540cadbf36eba3cc954ce50f8",
"package/types/component.d.ts": "ae5bc1ddeaa1ee1ebbc62573e32423993727079205c64751a5a314170e588a32",
"package/types/config.d.ts": "36f9a84cd436f17701a0d11d3417fc1fe0414e0c52c80083b94a85dfc329e37e",
"package/types/cssVar.d.ts": "93217860fff2ebf750f606d95ddd22220a58837119e63bdf2f5f78fd7488458b",
"package/types/emitter.d.ts": "7e1f9a2a8ce65feb95734f1ed52d1334e57aa388bbef2a43d8bc53a9b6f6623c",
"package/types/events.d.ts": "f83624c9268a284477e8bd793fe3562a2363b72f2a44d5c64fe8c6a6cede8830",
"package/types/i18n.d.ts": "f4f2f05bdfda73c74fef34767cb18ee8e11b743120b1c4598e9714d7846018e5",
"package/types/icons.d.ts": "326a67ba7bdcf52862c5b2a269e540140aff98d05c7b96196485a77f84fe5960",
"package/types/language.d.cts": "f7928e108cf7b7814c2d75cb0a525333e95873fca6cd6d89a740450656b9c1cd",
"package/types/language.d.mts": "6619a26d604b7cccbe2f596243d87ae37cfaae33b8b52874ec071d9787446f9e",
"package/types/legacy/language.d.ts": "c7abda4d506fd933c350e9030290bf9e64347a921d683a66115da1995ebe0a81",
"package/types/option.d.ts": "ccf2c8ddc537dc65c9682d39f044726e23bff18f476b622512d7e6a4b949b5f6",
"package/types/playback.d.ts": "58705c273df6e76a77a6575e769a9ec6c013785c25080f2551aa22415788d870",
"package/types/player.d.ts": "92b00211b70ac71336e495899df972a0519dd138111846044fe4e0f967966177",
"package/types/plugin.d.ts": "fc3594a41c51d8248713e33c486fb1f6a518ac5c7ce31be6988a6cd8d052c5f3",
"package/types/quality.d.ts": "1ac1a48b4f74ff9ba1ce60443e1463d50d1c6a2e5d87d63dc7d2a8eb7f4c2c34",
"package/types/runtime.d.cts": "7ee988dfea9a0ac71a34a656f96f7b74e78aa92547cfdfab7ff7e1139a77d4a3",
"package/types/runtime.d.mts": "dcb85f59a8b7714918ced0c1d18c2bb24e8b80b56d8c594e019dcbdb5ad88b08",
"package/types/runtime.d.ts": "9c6ccd39a1be293f17ae46dae8ea077053e12635ee79d73a5e3b3a559230fcff",
"package/types/runtime/component.d.ts": "1b4c0cee44568649e80140fe778febfcae88af0ac85515f1cbeff78ab0c6d14f",
"package/types/runtime/construction.d.ts": "7a87bedf6f7ffff0c46078aa5f1551e0077d35574e286516121f5f935e2d9ce4",
"package/types/runtime/events.d.ts": "a1e2f9d387475453eaf95c2a5ee79e228636c0bb859bda3fcc46da46574a0c31",
"package/types/runtime/media.d.ts": "8fc89401be7fe25542c169d07dd5675f10916ed20be8493e19695966cf3864a8",
"package/types/runtime/option.d.ts": "6e334e1a76fdcc40b4665c02523bd31c3994d96078fadeb40e23422aa54c1a1d",
"package/types/runtime/player.d.ts": "8ac6383502e4872e83659838844856903031a81a0adc8e8535feb78453aa042c",
"package/types/runtime/plugin.d.ts": "8528f2b17843149f42f9cc16d6fd70baa238c9dc2c329b67d2c38096799c69bd",
"package/types/runtime/services.d.ts": "604c9f8e4b6c0da818f96576bf9f4b0e96085a9003927b2f7ba30027b1ba237e",
"package/types/runtime/setting.d.ts": "349c1fcb205ad312916bd3ee55e6bf241ea8a569fb2ab6c80822e69fc518f7d7",
"package/types/runtime/subtitle.d.ts": "269ff84678d327b3a9dc2f5bc6cc0d731d1e081b85422e474621d5d792efb153",
"package/types/runtime/template.d.ts": "7a62f968a38b4bf9109a4439557c02074eb1d62ba1f6e21a8eb194e91f0badfe",
"package/types/runtime/utils.d.ts": "6bf731705d86853e066dbaf3b8d4003b6548423fe615b7412b722bd0d3a6e48b",
"package/types/setting.d.ts": "08305a75dff96f06490430e099338b463df471b550c1d0dac3abc8995b39eb09",
"package/types/subtitle.d.ts": "b18314e2d64efdb6045830b6e12f615ae2ed585416130e562329ad3ea337f6ce",
"package/types/template.d.ts": "4792bc0c2cbcb7966e4375118bd34b326166e0831862e94ace4cf6b1bbe6a8c8",
"package/types/utils.d.ts": "fca0d3d814df94a25f9eb067c86fa0cf272e2791bac793b91229d57680797712"
}
},
{
"name": "artplayer-plugin-asr",
"archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\asr-package-types-nlZPaL\\artplayer-plugin-asr.tgz",
"sha256": "d784829c8fbc06f78d8a7647ef3530cec1cf3f5157a053bfbc58111d772eb543",
"files": {
"package/ARCHITECTURE.md": "a46a1abf28a4c783a4cec2983c4ba276b7e9e33e8446d811cc9c49c1f5231ef8",
"package/README.md": "d8eec6fafd308a3f52c16548a27ea07c2cb247d950b3e155d94f98e010e6b994",
"package/dist/artplayer-plugin-asr.js": "533b60d6348764fa460c2436cc1197b95544051fb4d1ec4d950fec9f88e1c5cb",
"package/dist/artplayer-plugin-asr.legacy.js": "c36ebbea3a4e5f30b2736ffb6a964d45e330b0911f51e32d9cab44397ec16912",
"package/dist/artplayer-plugin-asr.mjs": "751201241a848cdc26235334ce7603b174a90bf4ac793ff3f85182b1783f6996",
"package/package.json": "781b1eebefdff5fdc234b793ff9d6d8263275115ccff4c4d90c55eca942f2444",
"package/types/artplayer-plugin-asr.d.ts": "8fce55a45c368dc95fc6169750d2157ad57f683f62b586b8162ac720e1efdf42",
"package/types/runtime.d.cts": "2965dccc49a3a75c3b16c0c13501077b8ac199e78bac2d19d57be3d811583606",
"package/types/runtime.d.mts": "ff0769d3e408d66c7d38574171ff2621456afccc50ee8191ca4ee394dc57666e",
"package/types/runtime.d.ts": "2965dccc49a3a75c3b16c0c13501077b8ac199e78bac2d19d57be3d811583606"
}
}
],
"published": [
{
"label": "published-2.0.0",
"archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\releases\\artplayer-plugin-asr-2.0.0.tgz",
"sha256": "faa726b9536306664d935c95367230e0c622bd046faf636fc2dcef4bbce4cd47"
},
{
"label": "published-2.1.0",
"archive": "D:\\github\\ArtPlayer\\refactor\\.cache\\releases\\artplayer-plugin-asr-2.1.0.tgz",
"sha256": "8bc3cd93f78ce99e5c09cc546c770a63e8aea5729d3d584134ce04d826b7708b"
}
]
},
"strict": {
"skipLibCheck": false,
"ambientTypes": [],
"sourceProjects": [
"tsconfig.json",
"packages/artplayer-plugin-asr/tsconfig.json"
],
"installedResolution": "Only isolated consumer and executing compiler standard libraries",
"compilerVersions": [
"5.9.3",
"4.3.5"
]
},
"matrix": [
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "node10-commonjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "nodenext-cjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "nodenext-esm",
"validConsumerDiagnostics": 15,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 15,
"namespaceChecked": true,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.0.0",
"compiler": "5.9.3",
"mode": "bundler-esm",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.0.0",
"compiler": "4.3.5",
"mode": "node10-commonjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "node10-commonjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "nodenext-cjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "nodenext-esm",
"validConsumerDiagnostics": 15,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 15,
"namespaceChecked": true,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.1.0",
"compiler": "5.9.3",
"mode": "bundler-esm",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "published-2.1.0",
"compiler": "4.3.5",
"mode": "node10-commonjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 0,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "5.9.3",
"mode": "node10-commonjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "5.9.3",
"mode": "nodenext-cjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "5.9.3",
"mode": "nodenext-esm",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 15,
"namespaceChecked": true,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "5.9.3",
"mode": "bundler-esm",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "4.3.5",
"mode": "node10-commonjs",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "5.9.3",
"mode": "node10-commonjs-no-interop",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
},
{
"plugin": "candidate",
"compiler": "4.3.5",
"mode": "node10-commonjs-no-interop",
"validConsumerDiagnostics": 0,
"invalidStatementsRejected": 12,
"originalDirectDiagnostics": 0,
"namespaceChecked": false,
"namespaceDiagnostics": 0
}
],
"historicalLimits": "Both old releases have 15 NodeNext ESM direct-call diagnostics. These are frozen in asr-type-diagnostics.json and remain on candidate root; legal namespace consumers pass all three packages. Runtime ESM default import is accurate through the additive /runtime entry.",
"correctedDuringReview": [
"Added missing runtime named type exports to CommonJS/Node10 declarations",
"Retained original root namespace declarations after detecting replacement-object incompatibility",
"Excluded implementation tsconfig from actual package",
"Used a compiler-portable invalid buffer example; old TS typed-array structural acceptance is not claimed as rejection"
],
"inputs": {
"packages/artplayer-plugin-asr/.npmignore": "145c5fa0341195e21cf13df3423a057282f8ea374e9a1b3065e2280e1ce1c5c1",
"packages/artplayer-plugin-asr/package.json": "781b1eebefdff5fdc234b793ff9d6d8263275115ccff4c4d90c55eca942f2444",
"packages/artplayer-plugin-asr/tsconfig.json": "583e4ac1afa99e3a29c7f899df9fdeefcbd14d3847d69143e3fa6a8facac6d99",
"packages/artplayer-plugin-asr/types/artplayer-plugin-asr.d.ts": "dca6dfb5a6b6d58a891412c29d857214c95834e60bdabf0aa9d2fec48f31ec12",
"packages/artplayer-plugin-asr/types/runtime.d.ts": "2965dccc49a3a75c3b16c0c13501077b8ac199e78bac2d19d57be3d811583606",
"packages/artplayer-plugin-asr/types/runtime.d.cts": "2965dccc49a3a75c3b16c0c13501077b8ac199e78bac2d19d57be3d811583606",
"packages/artplayer-plugin-asr/types/runtime.d.mts": "ff0769d3e408d66c7d38574171ff2621456afccc50ee8191ca4ee394dc57666e",
"refactor/scripts/asr-package-types.mjs": "00de7c03cba39bed912933d58d686fb0b4aea374944c460ee70a7e404119d259",
"refactor/fixtures/consumers/asr-published.ts": "7611ab9ef9765fe6a6ca5112589228d49012400bf0b9d9cede96ead8e63cffc2",
"refactor/fixtures/consumers/asr-esm-namespace.ts": "1e3b7475452f43f71e4e038c17368860fe2bc00a61451397fe609e9a3e078d98",
"test/types/asr-public.ts": "19eac65cf88ccf908f175dc03243f6933b62dfa3d254525501c2396a571c8843",
"test/types/asr-source.ts": "f2541df4f4e7976a97fa9f31c730298e98fea4749eef2a2e098da539fbc240ca",
"scripts/typecheck.mjs": "96b166178bada2ab2130af1ea422e01965cc6467746ecf605e87ec3b29068309",
"package.json": "a95566e7e6825cda949428a71d11cbcc39c1ba3651fc631ed8511ca5e078d340"
},
"evidence": [
{
"file": "refactor/.cache/asr-package-types-nlZPaL/report.json",
"sha256": "5b32bda6481f74a9db7fe68f54f36a9752deb2cbb8e56b2a42cdc061297b8df7"
},
{
"file": "refactor/.cache/asr04-installed-final.log",
"sha256": "cebbdebc4b5419f16e419a33e0ba5ae33102091c3dcfd2fb95d541f0e2640634"
},
{
"file": "refactor/.cache/asr04-strict-final.log",
"sha256": "0d6e90ea1b4dadf17e3dd5dee44c3894e17455e124d2a7ab31d5850249ec72b7"
},
{
"file": "refactor/.cache/asr04-lint-final.log",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"file": "refactor/.cache/asr04-artifact-identity.log",
"sha256": "0ad9dc4536c26e81edf671c68cc218aef044e3655bc1ba91afbcf42187783215"
}
],
"unchangedRuntimeEvidence": "refactor/baselines/asr-ownership-validation.json",
"limitation": [
"No full CI or browser rerun for unchanged JS",
"Node 24 actual installs only; full Node/OS distribution matrix remains later acceptance",
"ASR-05 native fallback/volume/CORS/device evidence remains incomplete",
"ASR-06 release documentation and distribution remains incomplete"
],
"releaseReady": false
}