@sharpee/ext-testing 0.9.62-beta → 0.9.66-beta

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 (147) hide show
  1. package/{dist/annotations → annotations}/context.d.ts +1 -1
  2. package/annotations/context.d.ts.map +1 -0
  3. package/annotations/context.js.map +1 -0
  4. package/annotations/index.d.ts.map +1 -0
  5. package/annotations/index.js.map +1 -0
  6. package/annotations/store.d.ts.map +1 -0
  7. package/annotations/store.js.map +1 -0
  8. package/checkpoints/index.d.ts.map +1 -0
  9. package/checkpoints/index.js.map +1 -0
  10. package/{dist/checkpoints → checkpoints}/serializer.d.ts +1 -1
  11. package/checkpoints/serializer.d.ts.map +1 -0
  12. package/checkpoints/serializer.js.map +1 -0
  13. package/checkpoints/store.d.ts.map +1 -0
  14. package/checkpoints/store.js.map +1 -0
  15. package/commands/index.d.ts.map +1 -0
  16. package/commands/index.js.map +1 -0
  17. package/commands/registry.d.ts.map +1 -0
  18. package/commands/registry.js.map +1 -0
  19. package/{dist-npm/context → context}/debug-context.d.ts +1 -1
  20. package/context/debug-context.d.ts.map +1 -0
  21. package/{dist-npm/context → context}/debug-context.js +1 -1
  22. package/context/debug-context.js.map +1 -0
  23. package/context/index.d.ts.map +1 -0
  24. package/context/index.js.map +1 -0
  25. package/{dist/extension.d.ts → extension.d.ts} +1 -1
  26. package/extension.d.ts.map +1 -0
  27. package/extension.js.map +1 -0
  28. package/{dist-npm/index.d.ts → index.d.ts} +1 -1
  29. package/index.d.ts.map +1 -0
  30. package/{dist-npm/index.js → index.js} +1 -1
  31. package/index.js.map +1 -0
  32. package/package.json +14 -25
  33. package/{dist/types.d.ts → types.d.ts} +1 -1
  34. package/types.d.ts.map +1 -0
  35. package/types.js.map +1 -0
  36. package/LICENSE +0 -21
  37. package/dist/annotations/context.d.ts.map +0 -1
  38. package/dist/annotations/context.js +0 -42
  39. package/dist/annotations/context.js.map +0 -1
  40. package/dist/annotations/index.d.ts +0 -6
  41. package/dist/annotations/index.d.ts.map +0 -1
  42. package/dist/annotations/index.js +0 -12
  43. package/dist/annotations/index.js.map +0 -1
  44. package/dist/annotations/store.d.ts +0 -11
  45. package/dist/annotations/store.d.ts.map +0 -1
  46. package/dist/annotations/store.js +0 -191
  47. package/dist/annotations/store.js.map +0 -1
  48. package/dist/checkpoints/index.d.ts +0 -3
  49. package/dist/checkpoints/index.d.ts.map +0 -1
  50. package/dist/checkpoints/index.js +0 -12
  51. package/dist/checkpoints/index.js.map +0 -1
  52. package/dist/checkpoints/serializer.d.ts.map +0 -1
  53. package/dist/checkpoints/serializer.js +0 -95
  54. package/dist/checkpoints/serializer.js.map +0 -1
  55. package/dist/checkpoints/store.d.ts +0 -20
  56. package/dist/checkpoints/store.d.ts.map +0 -1
  57. package/dist/checkpoints/store.js +0 -193
  58. package/dist/checkpoints/store.js.map +0 -1
  59. package/dist/commands/index.d.ts +0 -2
  60. package/dist/commands/index.d.ts.map +0 -1
  61. package/dist/commands/index.js +0 -8
  62. package/dist/commands/index.js.map +0 -1
  63. package/dist/commands/registry.d.ts +0 -28
  64. package/dist/commands/registry.d.ts.map +0 -1
  65. package/dist/commands/registry.js +0 -70
  66. package/dist/commands/registry.js.map +0 -1
  67. package/dist/context/debug-context.d.ts +0 -21
  68. package/dist/context/debug-context.d.ts.map +0 -1
  69. package/dist/context/debug-context.js +0 -172
  70. package/dist/context/debug-context.js.map +0 -1
  71. package/dist/context/index.d.ts +0 -2
  72. package/dist/context/index.d.ts.map +0 -1
  73. package/dist/context/index.js +0 -8
  74. package/dist/context/index.js.map +0 -1
  75. package/dist/extension.d.ts.map +0 -1
  76. package/dist/extension.js +0 -938
  77. package/dist/extension.js.map +0 -1
  78. package/dist/index.d.ts +0 -40
  79. package/dist/index.d.ts.map +0 -1
  80. package/dist/index.js +0 -63
  81. package/dist/index.js.map +0 -1
  82. package/dist/types.d.ts.map +0 -1
  83. package/dist/types.js +0 -8
  84. package/dist/types.js.map +0 -1
  85. package/dist-npm/annotations/context.d.ts +0 -16
  86. package/dist-npm/annotations/context.d.ts.map +0 -1
  87. package/dist-npm/annotations/context.js.map +0 -1
  88. package/dist-npm/annotations/index.d.ts.map +0 -1
  89. package/dist-npm/annotations/index.js.map +0 -1
  90. package/dist-npm/annotations/store.d.ts.map +0 -1
  91. package/dist-npm/annotations/store.js.map +0 -1
  92. package/dist-npm/checkpoints/index.d.ts.map +0 -1
  93. package/dist-npm/checkpoints/index.js.map +0 -1
  94. package/dist-npm/checkpoints/serializer.d.ts +0 -21
  95. package/dist-npm/checkpoints/serializer.d.ts.map +0 -1
  96. package/dist-npm/checkpoints/serializer.js.map +0 -1
  97. package/dist-npm/checkpoints/store.d.ts.map +0 -1
  98. package/dist-npm/checkpoints/store.js.map +0 -1
  99. package/dist-npm/commands/index.d.ts.map +0 -1
  100. package/dist-npm/commands/index.js.map +0 -1
  101. package/dist-npm/commands/registry.d.ts.map +0 -1
  102. package/dist-npm/commands/registry.js.map +0 -1
  103. package/dist-npm/context/debug-context.d.ts.map +0 -1
  104. package/dist-npm/context/debug-context.js.map +0 -1
  105. package/dist-npm/context/index.d.ts.map +0 -1
  106. package/dist-npm/context/index.js.map +0 -1
  107. package/dist-npm/extension.d.ts +0 -78
  108. package/dist-npm/extension.d.ts.map +0 -1
  109. package/dist-npm/extension.js.map +0 -1
  110. package/dist-npm/index.d.ts.map +0 -1
  111. package/dist-npm/index.js.map +0 -1
  112. package/dist-npm/types.d.ts +0 -375
  113. package/dist-npm/types.d.ts.map +0 -1
  114. package/dist-npm/types.js.map +0 -1
  115. package/src/annotations/context.ts +0 -47
  116. package/src/annotations/index.ts +0 -6
  117. package/src/annotations/store.ts +0 -219
  118. package/src/checkpoints/index.ts +0 -2
  119. package/src/checkpoints/serializer.ts +0 -121
  120. package/src/checkpoints/store.ts +0 -188
  121. package/src/commands/index.ts +0 -1
  122. package/src/commands/registry.ts +0 -81
  123. package/src/context/debug-context.ts +0 -209
  124. package/src/context/index.ts +0 -1
  125. package/src/extension.ts +0 -1089
  126. package/src/index.ts +0 -69
  127. package/src/types.ts +0 -469
  128. package/tsconfig.json +0 -16
  129. package/tsconfig.tsbuildinfo +0 -1
  130. /package/{dist-npm/annotations → annotations}/context.js +0 -0
  131. /package/{dist-npm/annotations → annotations}/index.d.ts +0 -0
  132. /package/{dist-npm/annotations → annotations}/index.js +0 -0
  133. /package/{dist-npm/annotations → annotations}/store.d.ts +0 -0
  134. /package/{dist-npm/annotations → annotations}/store.js +0 -0
  135. /package/{dist-npm/checkpoints → checkpoints}/index.d.ts +0 -0
  136. /package/{dist-npm/checkpoints → checkpoints}/index.js +0 -0
  137. /package/{dist-npm/checkpoints → checkpoints}/serializer.js +0 -0
  138. /package/{dist-npm/checkpoints → checkpoints}/store.d.ts +0 -0
  139. /package/{dist-npm/checkpoints → checkpoints}/store.js +0 -0
  140. /package/{dist-npm/commands → commands}/index.d.ts +0 -0
  141. /package/{dist-npm/commands → commands}/index.js +0 -0
  142. /package/{dist-npm/commands → commands}/registry.d.ts +0 -0
  143. /package/{dist-npm/commands → commands}/registry.js +0 -0
  144. /package/{dist-npm/context → context}/index.d.ts +0 -0
  145. /package/{dist-npm/context → context}/index.js +0 -0
  146. /package/{dist-npm/extension.js → extension.js} +0 -0
  147. /package/{dist-npm/types.js → types.js} +0 -0
@@ -1,70 +0,0 @@
1
- "use strict";
2
- /**
3
- * Command Registry
4
- *
5
- * Central registry for debug and test commands.
6
- * Commands can be looked up by GDT code or test syntax.
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createCommandRegistry = createCommandRegistry;
10
- exports.parseGdtInput = parseGdtInput;
11
- exports.parseTestInput = parseTestInput;
12
- /**
13
- * Create a new command registry
14
- */
15
- function createCommandRegistry() {
16
- const byCode = new Map();
17
- const byTestSyntax = new Map();
18
- const allCommands = [];
19
- const registry = {
20
- register(command) {
21
- // Register by code (uppercase for case-insensitive lookup)
22
- byCode.set(command.code.toUpperCase(), command);
23
- // Register by test syntax if provided
24
- if (command.testSyntax) {
25
- byTestSyntax.set(command.testSyntax.toLowerCase(), command);
26
- }
27
- allCommands.push(command);
28
- },
29
- getByCode(code) {
30
- return byCode.get(code.toUpperCase());
31
- },
32
- getByTestSyntax(syntax) {
33
- return byTestSyntax.get(syntax.toLowerCase());
34
- },
35
- getAll() {
36
- return [...allCommands];
37
- },
38
- getByCategory(category) {
39
- return allCommands.filter((cmd) => cmd.category === category);
40
- },
41
- };
42
- return registry;
43
- }
44
- /**
45
- * Parse a GDT-style command input
46
- * Format: "CODE arg1 arg2" or just "CODE"
47
- */
48
- function parseGdtInput(input) {
49
- const trimmed = input.trim();
50
- const parts = trimmed.split(/\s+/);
51
- const code = parts[0] || '';
52
- const args = parts.slice(1);
53
- return { code: code.toUpperCase(), args };
54
- }
55
- /**
56
- * Parse a test command input
57
- * Format: "$command arg1 arg2" or just "$command"
58
- */
59
- function parseTestInput(input) {
60
- const trimmed = input.trim();
61
- if (!trimmed.startsWith('$')) {
62
- return undefined;
63
- }
64
- const withoutPrefix = trimmed.slice(1);
65
- const parts = withoutPrefix.split(/\s+/);
66
- const syntax = parts[0] || '';
67
- const args = parts.slice(1);
68
- return { syntax: syntax.toLowerCase(), args };
69
- }
70
- //# sourceMappingURL=registry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/commands/registry.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAOH,sDAoCC;AAMD,sCAOC;AAMD,wCAaC;AAvED;;GAEG;AACH,SAAgB,qBAAqB;IACnC,MAAM,MAAM,GAAG,IAAI,GAAG,EAAwB,CAAC;IAC/C,MAAM,YAAY,GAAG,IAAI,GAAG,EAAwB,CAAC;IACrD,MAAM,WAAW,GAAmB,EAAE,CAAC;IAEvC,MAAM,QAAQ,GAAoB;QAChC,QAAQ,CAAC,OAAqB;YAC5B,2DAA2D;YAC3D,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,E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AAO,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC7B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACvC,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC9B,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC;AAChD,CAAC"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Debug Context Implementation
3
- *
4
- * Provides a unified context for debug and test commands to interact with the game world.
5
- * Generalizes the pattern from Dungeo's GDTContext.
6
- */
7
- import type { WorldModel, IFEntity } from '@sharpee/world-model';
8
- import type { DebugContext } from '../types.js';
9
- /**
10
- * Create a debug context for the given world
11
- */
12
- export declare function createDebugContext(world: WorldModel): DebugContext;
13
- /**
14
- * Format entity for debug display
15
- */
16
- export declare function formatEntity(entity: IFEntity): string;
17
- /**
18
- * Format location chain for an entity
19
- */
20
- export declare function formatLocationChain(entity: IFEntity, world: WorldModel): string;
21
- //# sourceMappingURL=debug-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-context.d.ts","sourceRoot":"","sources":["../../src/context/debug-context.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,YAAY,CAiKlE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,QAAQ,GAAG,MAAM,CAKrD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAkB/E"}
@@ -1,172 +0,0 @@
1
- "use strict";
2
- /**
3
- * Debug Context Implementation
4
- *
5
- * Provides a unified context for debug and test commands to interact with the game world.
6
- * Generalizes the pattern from Dungeo's GDTContext.
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createDebugContext = createDebugContext;
10
- exports.formatEntity = formatEntity;
11
- exports.formatLocationChain = formatLocationChain;
12
- const world_model_1 = require("@sharpee/world-model");
13
- /**
14
- * Create a debug context for the given world
15
- */
16
- function createDebugContext(world) {
17
- // Create AuthorModel for bypassing game rules
18
- const author = new world_model_1.AuthorModel(world.getDataStore(), world);
19
- // Debug flags storage
20
- const flags = new Map();
21
- // Find player entity
22
- const player = world.getPlayer();
23
- if (!player) {
24
- throw new Error('Cannot create debug context: no player entity found');
25
- }
26
- const context = {
27
- world,
28
- author,
29
- player,
30
- flags,
31
- // ========================================================================
32
- // Entity Lookup
33
- // ========================================================================
34
- findEntity(idOrName) {
35
- // Try exact ID match first
36
- const byId = world.getEntity(idOrName);
37
- if (byId)
38
- return byId;
39
- // Normalize search term: lowercase, convert hyphens to spaces
40
- const searchLower = idOrName.toLowerCase();
41
- const searchNormalized = searchLower.replace(/-/g, ' ');
42
- const allEntities = world.getAllEntities();
43
- // Exact name match (with normalized search)
44
- const exactMatch = allEntities.find((e) => e.name?.toLowerCase() === searchNormalized ||
45
- e.name?.toLowerCase() === searchLower);
46
- if (exactMatch)
47
- return exactMatch;
48
- // Partial name match (with normalized search)
49
- const partialMatch = allEntities.find((e) => e.name?.toLowerCase().includes(searchNormalized) ||
50
- e.name?.toLowerCase().includes(searchLower));
51
- if (partialMatch)
52
- return partialMatch;
53
- // ID contains search term
54
- const idMatch = allEntities.find((e) => e.id.toLowerCase().includes(searchLower));
55
- return idMatch;
56
- },
57
- findRoom(idOrName) {
58
- const entity = context.findEntity(idOrName);
59
- if (entity && entity.type === 'room') {
60
- return entity;
61
- }
62
- // Search only rooms
63
- const searchLower = idOrName.toLowerCase();
64
- const rooms = world.getAllEntities().filter((e) => e.type === 'room');
65
- const exactMatch = rooms.find((r) => r.name?.toLowerCase() === searchLower);
66
- if (exactMatch)
67
- return exactMatch;
68
- const partialMatch = rooms.find((r) => r.name?.toLowerCase().includes(searchLower) ||
69
- r.id.toLowerCase().includes(searchLower));
70
- return partialMatch;
71
- },
72
- findEntities(predicate) {
73
- return world.getAllEntities().filter(predicate);
74
- },
75
- // ========================================================================
76
- // Location Queries
77
- // ========================================================================
78
- getPlayerLocation() {
79
- const locationId = world.getLocation(player.id);
80
- if (!locationId)
81
- return undefined;
82
- return world.getEntity(locationId);
83
- },
84
- getInventory() {
85
- return world.getContents(player.id);
86
- },
87
- getContents(locationId) {
88
- return world.getContents(locationId);
89
- },
90
- // ========================================================================
91
- // Mutations (bypass game rules via AuthorModel)
92
- // ========================================================================
93
- teleportPlayer(roomId) {
94
- const room = context.findRoom(roomId);
95
- if (!room)
96
- return false;
97
- author.moveEntity(player.id, room.id);
98
- return true;
99
- },
100
- moveObject(objectId, locationId) {
101
- const object = context.findEntity(objectId);
102
- const location = context.findEntity(locationId);
103
- if (!object || !location)
104
- return false;
105
- author.moveEntity(object.id, location.id);
106
- return true;
107
- },
108
- takeObject(objectId) {
109
- const object = context.findEntity(objectId);
110
- if (!object)
111
- return false;
112
- author.moveEntity(object.id, player.id);
113
- return true;
114
- },
115
- removeObject(objectId) {
116
- const object = context.findEntity(objectId);
117
- if (!object)
118
- return false;
119
- // Move to limbo (null location)
120
- author.moveEntity(object.id, 'limbo');
121
- return true;
122
- },
123
- spawnObject(objectId, locationId) {
124
- const object = context.findEntity(objectId);
125
- const location = context.findEntity(locationId);
126
- if (!object || !location)
127
- return false;
128
- author.moveEntity(object.id, location.id);
129
- return true;
130
- },
131
- // ========================================================================
132
- // Flag Operations
133
- // ========================================================================
134
- setFlag(name, value) {
135
- flags.set(name, value);
136
- },
137
- getFlag(name) {
138
- return flags.get(name) ?? false;
139
- },
140
- };
141
- return context;
142
- }
143
- /**
144
- * Format entity for debug display
145
- */
146
- function formatEntity(entity) {
147
- const traitTypes = entity.traits
148
- ? Array.from(entity.traits.values()).map((t) => t.type.split('.').pop()).join(', ')
149
- : 'none';
150
- return `${entity.id} (${entity.name || 'unnamed'}) [${traitTypes}]`;
151
- }
152
- /**
153
- * Format location chain for an entity
154
- */
155
- function formatLocationChain(entity, world) {
156
- const chain = [entity.id];
157
- let current = entity;
158
- let depth = 0;
159
- while (depth < 10) {
160
- const locationId = world.getLocation(current.id);
161
- if (!locationId)
162
- break;
163
- chain.push(locationId);
164
- const location = world.getEntity(locationId);
165
- if (!location)
166
- break;
167
- current = location;
168
- depth++;
169
- }
170
- return chain.join(' -> ');
171
- }
172
- //# sourceMappingURL=debug-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-context.js","sourceRoot":"","sources":["../../src/context/debug-context.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AASH,gDAiKC;AAKD,oCAKC;AAKD,kDAkBC;AAxMD,sDAAmD;AAGnD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAiB;IAClD,8CAA8C;IAC9C,MAAM,MAAM,GAAG,IAAI,yBAAW,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,CAAC,CAAC;IAE5D,sBAAsB;IACtB,MAAM,KAAK,GAAG,IAAI,GAAG,EAAmB,CAAC;IAEzC,qBAAqB;IACrB,MAAM,MAAM,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IACjC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;IACzE,CAAC;IAED,MAAM,OAAO,GAAiB;QAC5B,KAAK;QACL,MAAM;QACN,MAAM;QACN,KAAK;QAEL,2EAA2E;QAC3E,gBAAgB;QAChB,2EAA2E;QAE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AAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACpC,IAAI,OAAO,GAAG,MAAM,CAAC;IACrB,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,OAAO,KAAK,GAAG,EAAE,EAAE,CAAC;QAClB,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACjD,IAAI,CAAC,UAAU;YAAE,MAAM;QAEvB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACvB,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,QAAQ;YAAE,MAAM;QAErB,OAAO,GAAG,QAAQ,CAAC;QACnB,KAAK,EAAE,CAAC;IACV,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC"}
@@ -1,2 +0,0 @@
1
- export { createDebugContext, formatEntity, formatLocationChain } from './debug-context.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatLocationChain = exports.formatEntity = exports.createDebugContext = void 0;
4
- var debug_context_js_1 = require("./debug-context.js");
5
- Object.defineProperty(exports, "createDebugContext", { enumerable: true, get: function () { return debug_context_js_1.createDebugContext; } });
6
- Object.defineProperty(exports, "formatEntity", { enumerable: true, get: function () { return debug_context_js_1.formatEntity; } });
7
- Object.defineProperty(exports, "formatLocationChain", { enumerable: true, get: function () { return debug_context_js_1.formatLocationChain; } });
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/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