New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ac-fhir-models

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-fhir-models - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

2

index.js

@@ -634,3 +634,3 @@ 'use strict';

get: data => {
const { latitude, longitude } = data[propName] || {};
const { latitude, longitude } = (data && data[propName]) || {};
if (isValidLat(latitude) && isValidLng(longitude)) {

@@ -637,0 +637,0 @@ return `${latitude},${longitude}`

{
"name": "ac-fhir-models",
"version": "5.2.1",
"version": "5.2.2",
"author": "Henrik Joreteg <henrik@anesthesiacharting.com>",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -443,3 +443,3 @@ // @ts-check

get: data => {
const { latitude, longitude } = data[propName] || {}
const { latitude, longitude } = (data && data[propName]) || {}
if (isValidLat(latitude) && isValidLng(longitude)) {

@@ -446,0 +446,0 @@ return `${latitude},${longitude}`

@@ -29,2 +29,7 @@ import test from 'tape'

t.deepEqual(
locationDefinition.getValues(),
{},
'can tolerate getting nothing passed'
)
t.deepEqual(
locationDefinition.create({ name: 'hi', latLng: '-34,151' }),

@@ -31,0 +36,0 @@ {

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