Socket
Socket
Sign inDemoInstall

@ltht-react/utils

Package Overview
Dependencies
Maintainers
8
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/utils - npm Package Compare versions

Comparing version 1.1.63 to 1.1.64

lib/atoms/isMobileView.d.ts

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## 1.1.64 (2022-04-22)
**Note:** Version bump only for package @ltht-react/utils
## 1.1.63 (2022-03-31)

@@ -8,0 +16,0 @@

14

lib/atoms/patient.test.js

@@ -154,14 +154,4 @@ "use strict";

};
expect(patient_1.formatPatientAge(patient, false)).toEqual('13d');
expect(patient_1.formatPatientAge(patient, false)).toEqual('14d');
});
it('returns formatted age when birth date is specified (under 4 weeks and over 2 days)', function () {
var date = new Date();
var currentDate = date.getDate();
date.setDate(currentDate - 14); // set to two weeks ago
patient.birthDate = {
kind: types_1.PartialDateTimeKindCode.Date,
value: date.toISOString(),
};
expect(patient_1.formatPatientAge(patient, false)).toEqual('13d');
});
it('returns formatted age when birth date is specified (under 2 days and over 2 hours)', function () {

@@ -285,3 +275,3 @@ var date = new Date();

};
expect(patient_1.formatPatientAge(patient, true)).toEqual('16d');
expect(patient_1.formatPatientAge(patient, true)).toEqual('17d');
});

@@ -288,0 +278,0 @@ it('returns formatted age when patient is deceased (under 2 days and over 2 hours)', function () {

{
"name": "@ltht-react/utils",
"version": "1.1.63",
"version": "1.1.64",
"description": "> TODO: description",

@@ -25,5 +25,5 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>",

"dependencies": {
"@ltht-react/types": "^1.0.61"
"@ltht-react/types": "^1.0.62"
},
"gitHead": "f2c644e934869e88ca05a8e46bdbfbfb39da5aa1"
"gitHead": "63a2fb34d69da30c04e6849549ed1127c0ffba96"
}

Sorry, the diff of this file is not supported yet

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