@reactive-vscode/reactivity 0.2.0-beta.2 → 0.2.0-beta.3

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -60
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1269,21 +1269,11 @@ var LifecycleHooks = /* @__PURE__ */ ((LifecycleHooks2) => {
1269
1269
  return LifecycleHooks2;
1270
1270
  })(LifecycleHooks || {});
1271
1271
  var ErrorCodes = /* @__PURE__ */ ((ErrorCodes2) => {
1272
- ErrorCodes2[ErrorCodes2["SETUP_FUNCTION"] = 0] = "SETUP_FUNCTION";
1273
- ErrorCodes2[ErrorCodes2["RENDER_FUNCTION"] = 1] = "RENDER_FUNCTION";
1274
- ErrorCodes2[ErrorCodes2["WATCH_GETTER"] = 2] = "WATCH_GETTER";
1275
- ErrorCodes2[ErrorCodes2["WATCH_CALLBACK"] = 3] = "WATCH_CALLBACK";
1276
- ErrorCodes2[ErrorCodes2["WATCH_CLEANUP"] = 4] = "WATCH_CLEANUP";
1277
- ErrorCodes2[ErrorCodes2["NATIVE_EVENT_HANDLER"] = 5] = "NATIVE_EVENT_HANDLER";
1278
- ErrorCodes2[ErrorCodes2["COMPONENT_EVENT_HANDLER"] = 6] = "COMPONENT_EVENT_HANDLER";
1279
- ErrorCodes2[ErrorCodes2["VNODE_HOOK"] = 7] = "VNODE_HOOK";
1280
- ErrorCodes2[ErrorCodes2["DIRECTIVE_HOOK"] = 8] = "DIRECTIVE_HOOK";
1281
- ErrorCodes2[ErrorCodes2["TRANSITION_HOOK"] = 9] = "TRANSITION_HOOK";
1282
- ErrorCodes2[ErrorCodes2["APP_ERROR_HANDLER"] = 10] = "APP_ERROR_HANDLER";
1283
- ErrorCodes2[ErrorCodes2["APP_WARN_HANDLER"] = 11] = "APP_WARN_HANDLER";
1284
- ErrorCodes2[ErrorCodes2["FUNCTION_REF"] = 12] = "FUNCTION_REF";
1285
- ErrorCodes2[ErrorCodes2["ASYNC_COMPONENT_LOADER"] = 13] = "ASYNC_COMPONENT_LOADER";
1286
- ErrorCodes2[ErrorCodes2["SCHEDULER"] = 14] = "SCHEDULER";
1272
+ ErrorCodes2[ErrorCodes2["WATCH_GETTER"] = 0] = "WATCH_GETTER";
1273
+ ErrorCodes2[ErrorCodes2["WATCH_CALLBACK"] = 1] = "WATCH_CALLBACK";
1274
+ ErrorCodes2[ErrorCodes2["WATCH_CLEANUP"] = 2] = "WATCH_CLEANUP";
1275
+ ErrorCodes2[ErrorCodes2["APP_ERROR_HANDLER"] = 3] = "APP_ERROR_HANDLER";
1276
+ ErrorCodes2[ErrorCodes2["SCHEDULER"] = 4] = "SCHEDULER";
1287
1277
  return ErrorCodes2;
1288
1278
  })(ErrorCodes || {});
1289
1279
  const ErrorTypeStrings = {
@@ -1291,64 +1281,24 @@ const ErrorTypeStrings = {
1291
1281
  [LifecycleHooks.DEACTIVATED]: "deactivated hook",
1292
1282
  [
1293
1283
  0
1294
- /* SETUP_FUNCTION */
1295
- ]: "setup function",
1296
- [
1297
- 1
1298
- /* RENDER_FUNCTION */
1299
- ]: "render function",
1300
- [
1301
- 2
1302
1284
  /* WATCH_GETTER */
1303
1285
  ]: "watcher getter",
1304
1286
  [
1305
- 3
1287
+ 1
1306
1288
  /* WATCH_CALLBACK */
1307
1289
  ]: "watcher callback",
1308
1290
  [
1309
- 4
1291
+ 2
1310
1292
  /* WATCH_CLEANUP */
1311
1293
  ]: "watcher cleanup function",
1312
1294
  [
1313
- 5
1314
- /* NATIVE_EVENT_HANDLER */
1315
- ]: "native event handler",
1316
- [
1317
- 6
1318
- /* COMPONENT_EVENT_HANDLER */
1319
- ]: "component event handler",
1320
- [
1321
- 7
1322
- /* VNODE_HOOK */
1323
- ]: "vnode hook",
1324
- [
1325
- 8
1326
- /* DIRECTIVE_HOOK */
1327
- ]: "directive hook",
1328
- [
1329
- 9
1330
- /* TRANSITION_HOOK */
1331
- ]: "transition hook",
1332
- [
1333
- 10
1295
+ 3
1334
1296
  /* APP_ERROR_HANDLER */
1335
1297
  ]: "app errorHandler",
1336
1298
  [
1337
- 11
1338
- /* APP_WARN_HANDLER */
1339
- ]: "app warnHandler",
1340
- [
1341
- 12
1342
- /* FUNCTION_REF */
1343
- ]: "ref function",
1344
- [
1345
- 13
1346
- /* ASYNC_COMPONENT_LOADER */
1347
- ]: "async component loader",
1348
- [
1349
- 14
1299
+ 4
1350
1300
  /* SCHEDULER */
1351
- ]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
1301
+ ]: "scheduler flush"
1352
1302
  };
1353
1303
  function callWithErrorHandling(fn, instance, type, args) {
1354
1304
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reactive-vscode/reactivity",
3
3
  "type": "module",
4
- "version": "0.2.0-beta.2",
4
+ "version": "0.2.0-beta.3",
5
5
  "description": "Full Vue Reactivity API without DOM",
6
6
  "author": "_Kerman <kermanx@qq.com>",
7
7
  "license": "MIT",