Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arkhn/fhir.ts

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arkhn/fhir.ts - npm Package Compare versions

Comparing version 3.4.4 to 3.4.5

1

lib/attribute.js

@@ -158,3 +158,2 @@ "use strict";

});
serialized.items.forEach(function () { return attr.addItem(); });
return attr;

@@ -161,0 +160,0 @@ };

2

package.json
{
"name": "@arkhn/fhir.ts",
"private": false,
"version": "3.4.4",
"version": "3.4.5",
"description": "Open source typescript library providing FHIR utilities",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -213,9 +213,20 @@ import { Attribute } from 'attribute'

child3.addSlice(slice)
child3.addItem()
child3.addItem()
const copied = Attribute.from(parent)
expect(JSON.stringify(copied) === JSON.stringify(parent))
expect(JSON.stringify(copied)).toEqual(JSON.stringify(parent))
})
it('do not copy items', () => {
const attr = new Attribute(observationIdentifierDefinition)
attr.addItem()
attr.addItem()
expect(attr.items.length).toEqual(2)
const copied = Attribute.from(attr)
expect(copied.items.length).toEqual(0)
})
it('specify the parent', () => {

@@ -222,0 +233,0 @@ const parent = new Attribute(observationCodeDefinition)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc