@medplum/fhirpath
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "@medplum/fhirpath", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Medplum FHIRPath Library", | ||
@@ -15,11 +15,17 @@ "author": "Medplum <hello@medplum.com>", | ||
"clean": "rimraf dist", | ||
"build": "npm run clean && tsc", | ||
"build": "npm run clean && tsc && npm run rollup", | ||
"rollup": "rollup --config rollup.config.js", | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"@medplum/definitions": "0.3.0", | ||
"@medplum/fhirtypes": "0.3.0" | ||
"@medplum/definitions": "0.4.0", | ||
"@medplum/fhirtypes": "0.4.0" | ||
}, | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
}, | ||
"types": "dist/types/index.d.ts", | ||
"sideEffects": false, | ||
@@ -26,0 +32,0 @@ "keywords": [ |
@@ -15,3 +15,3 @@ # Medplum FHIRPath Library | ||
import { Patient } from '@medplum/fhirtypes'; | ||
import { parseFhirPath } from '@medplum/fhirpath'; | ||
import { evalFhirPath } from '@medplum/fhirpath'; | ||
@@ -29,3 +29,3 @@ const patient: Patient = { | ||
console.log(parseFhirPath('birthDate').eval(patient)); | ||
console.log(evalFhirPath('birthDate', patient)); | ||
``` | ||
@@ -32,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
763378
6337
18
1