@nsshunt/ststestrunner 1.1.11 → 1.1.12

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.
@@ -1266,7 +1266,12 @@ function compare(tree1, tree2, invertible) {
1266
1266
  _generate(tree1, tree2, patches, "", invertible);
1267
1267
  return patches;
1268
1268
  }
1269
- Object.assign({}, core_exports, duplex_exports, {
1269
+ //#endregion
1270
+ //#region node_modules/fast-json-patch/index.mjs
1271
+ /**
1272
+ * Default export for backwards compat
1273
+ */
1274
+ var fast_json_patch_default = Object.assign({}, core_exports, duplex_exports, {
1270
1275
  JsonPatchError: PatchError,
1271
1276
  deepClone: _deepClone,
1272
1277
  escapePathComponent,
@@ -1280,9 +1285,9 @@ var TestCaseFhir07 = class extends TestCaseFhirQueryBase {
1280
1285
  const client = await this.GetClient();
1281
1286
  const personRecord = await this.GetPersonRecord(`${this.runner.options.personPrefix}`, this.runner.iteration, "3");
1282
1287
  const resource = (await client.GetResource("Person", personRecord.id)).body;
1283
- const observer = observe(resource);
1288
+ const observer = fast_json_patch_default.observe(resource);
1284
1289
  resource.text.div = `Json Patched record TestCaseFhir07 ${this.runner.iteration}`;
1285
- const patchRecord = generate(observer);
1290
+ const patchRecord = fast_json_patch_default.generate(observer);
1286
1291
  return (await client.PatchResource("Person", personRecord.id, patchRecord, `application/json-patch+json`, `W/"3"`)).body;
1287
1292
  } catch (error) {
1288
1293
  console.error(error);