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

ecqm-bundler

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecqm-bundler - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

dist/helpers/elm.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getValueSetInfo = exports.findELMByIdentifier = exports.getDependencyInfo = void 0;
exports.getValueSetInfo = exports.findELMByIdentifier = exports.getDependencyInfo = exports.getAllDependencyInfo = void 0;
function getAllDependencyInfo(elm) {
return [...new Set(elm.map(getDependencyInfo).flat())];
}
exports.getAllDependencyInfo = getAllDependencyInfo;
function getDependencyInfo(elm) {

@@ -5,0 +9,0 @@ var _a;

3

dist/index.js

@@ -153,3 +153,4 @@ #!/usr/bin/env node

];
const remainingDeps = elm.filter(e => e.library.identifier.id !== mainLibraryId);
const allUsedDependencies = [...new Set((0, elm_1.getAllDependencyInfo)(elm).map(e => e.id))];
const remainingDeps = elm.filter(e => allUsedDependencies.includes(e.library.identifier.id));
const depLibraries = remainingDeps.map(d => (Object.assign(Object.assign({}, (0, fhir_1.generateLibraryResource)(`library-${d.library.identifier.id}`, d, opts.canonicalBase)), { relatedArtifact: [

@@ -156,0 +157,0 @@ ...(0, elm_1.getDependencyInfo)(d).map(dep => (0, fhir_1.generateLibraryRelatedArtifact)(dep, remainingDeps, opts.canonicalBase)),

{
"name": "ecqm-bundler",
"version": "0.0.4",
"version": "0.0.5",
"description": "CLI for bundling FHIR-based eCQMs",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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