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

qpp-measures-data

Package Overview
Dependencies
Maintainers
1
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qpp-measures-data - npm Package Compare versions

Comparing version 1.8.3 to 1.8.4

benchmarks/2017/benchmarks-schema.yaml

4

index.js

@@ -8,2 +8,3 @@ // Libraries

const benchmarkJsonFileRegEx = /^[0-9]{4}\.json$/;
const Constants = require('./constants.js');

@@ -32,3 +33,4 @@ /**

exports.getBenchmarksSchema = function() {
return YAML.load(path.join(__dirname, 'benchmarks', 'benchmarks-schema.yaml'));
const performanceYear = (process.argv[3] || Constants.currentPerformanceYear).toString();
return YAML.load(path.join(__dirname, 'benchmarks', performanceYear, 'benchmarks-schema.yaml'));
};

@@ -35,0 +37,0 @@

{
"name": "qpp-measures-data",
"version": "1.8.3",
"version": "1.8.4",
"description": "Quality Payment Program Measures Data Repository",

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

@@ -10,3 +10,3 @@ const fs = require('fs');

];
const BENCHMARK_JSON_DIR = '../../../staging/benchmarks/json/';
const BENCHMARK_JSON_DIR = '../../../staging/2018/benchmarks/json/';

@@ -13,0 +13,0 @@ // Returns an alphabetically-ordered list of files in the given pat

const helpers = require('./helpers/merge-benchmark-data-helpers.js');
const BENCHMARK_JSON_DIR = '../../staging/benchmarks/json/';
const BENCHMARK_JSON_DIR = '../../staging/2018/benchmarks/json/';
const BENCHMARK_LAYER_FILES = helpers.getOrderedFileNames(__dirname, BENCHMARK_JSON_DIR);

@@ -5,0 +5,0 @@

@@ -42,4 +42,4 @@ const chai = require('chai');

it('joins correctly two layers', function() {
const baseLayer = '../../../test/benchmarks/files/base_layer.json';
const secondLayer = '../../../test/benchmarks/files/overwrite_001_claims.json';
const baseLayer = '../../../../test/benchmarks/files/base_layer.json';
const secondLayer = '../../../../test/benchmarks/files/overwrite_001_claims.json';

@@ -86,5 +86,5 @@ const layers = [baseLayer, secondLayer];

it('joins a third independent layer', function() {
const baseLayer = '../../../test/benchmarks/files/base_layer.json';
const secondLayer = '../../../test/benchmarks/files/overwrite_001_claims.json';
const thirdLayer = '../../../test/benchmarks/files/independent_layer.json';
const baseLayer = '../../../../test/benchmarks/files/base_layer.json';
const secondLayer = '../../../../test/benchmarks/files/overwrite_001_claims.json';
const thirdLayer = '../../../../test/benchmarks/files/independent_layer.json';

@@ -148,4 +148,4 @@ const layers = [baseLayer, secondLayer, thirdLayer];

it('throws an error when a measure is missing a field ', function() {
const baseLayer = '../../../test/benchmarks/files/base_layer.json';
const secondLayer = '../../../test/benchmarks/files/missing_id_layer.json';
const baseLayer = '../../../../test/benchmarks/files/base_layer.json';
const secondLayer = '../../../../test/benchmarks/files/missing_id_layer.json';

@@ -152,0 +152,0 @@ const layers = [baseLayer, secondLayer];

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