@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.
@@ -1289,7 +1289,12 @@ function compare(tree1, tree2, invertible) {
1289
1289
  _generate(tree1, tree2, patches, "", invertible);
1290
1290
  return patches;
1291
1291
  }
1292
- Object.assign({}, core_exports, duplex_exports, {
1292
+ //#endregion
1293
+ //#region node_modules/fast-json-patch/index.mjs
1294
+ /**
1295
+ * Default export for backwards compat
1296
+ */
1297
+ var fast_json_patch_default = Object.assign({}, core_exports, duplex_exports, {
1293
1298
  JsonPatchError: PatchError,
1294
1299
  deepClone: _deepClone,
1295
1300
  escapePathComponent,
@@ -1303,9 +1308,9 @@ var TestCaseFhir07 = class extends TestCaseFhirQueryBase {
1303
1308
  const client = await this.GetClient();
1304
1309
  const personRecord = await this.GetPersonRecord(`${this.runner.options.personPrefix}`, this.runner.iteration, "3");
1305
1310
  const resource = (await client.GetResource("Person", personRecord.id)).body;
1306
- const observer = observe(resource);
1311
+ const observer = fast_json_patch_default.observe(resource);
1307
1312
  resource.text.div = `Json Patched record TestCaseFhir07 ${this.runner.iteration}`;
1308
- const patchRecord = generate(observer);
1313
+ const patchRecord = fast_json_patch_default.generate(observer);
1309
1314
  return (await client.PatchResource("Person", personRecord.id, patchRecord, `application/json-patch+json`, `W/"3"`)).body;
1310
1315
  } catch (error) {
1311
1316
  console.error(error);