Socket
Socket
Sign inDemoInstall

qpp-measures-data

Package Overview
Dependencies
Maintainers
45
Versions
256
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 7.7.0-beta.5 to 7.7.0-beta.6

2

dist/scripts/validate-data.js

@@ -32,3 +32,3 @@ "use strict";

}
const schema = yaml_1.default.parse(fs_1.default.readFileSync(path_1.default.join(__dirname, '../', optionalPath || schemaType, performanceYear, schemaType + '-schema.yaml'), 'utf8'));
const schema = yaml_1.default.parse(fs_1.default.readFileSync(path_1.default.join(app_root_path_1.default + '', optionalPath || schemaType, performanceYear, schemaType + '-schema.yaml'), 'utf8'));
validate(schema, jsonToValidate);

@@ -15,5 +15,4 @@ export interface BenchmarksData {

};
deciles?: number[];
averagePerformanceRate?: number;
}[];
}
{
"name": "qpp-measures-data",
"version": "7.7.0-beta.5",
"version": "v7.7.0-beta.6",
"description": "Quality Payment Program Measures Data Repository",

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

@@ -20,3 +20,3 @@ /**

// command to use this file:
// node dist/benchmarks/csv-json-converter.js staging/2023/benchmarks/[fileName].csv 2023 [fileName]
// node dist/scripts/benchmarks/csv-json-converter.js staging/2023/benchmarks/[fileName].csv 2023 [fileName]
export function convertCsvToJson(csvPath: string, performanceYear: number, jsonFileName: string) {

@@ -23,0 +23,0 @@ const csv = fetchCSV(csvPath);

@@ -11,3 +11,3 @@ import fs from 'fs';

// command to use this file:
// node ./dist/benchmarks/merge-benchmark-files.js ./util/2023/benchmarks/json/ > ./benchmarks/2023.json
// node ./dist/scripts/benchmarks/merge-benchmark-files.js ./util/2023/benchmarks/json/ > ./benchmarks/2023.json
export function mergeBenchmarkFiles(benchmarksPath: string, performanceYear: number) {

@@ -14,0 +14,0 @@ const mergedBenchmarks = new Map();

@@ -47,3 +47,3 @@ /**

// Load the schema file
const schema = YAML.parse(fs.readFileSync(path.join(__dirname, '../', optionalPath || schemaType, performanceYear, schemaType + '-schema.yaml'), 'utf8'));
const schema = YAML.parse(fs.readFileSync(path.join(appRoot + '', optionalPath || schemaType, performanceYear, schemaType + '-schema.yaml'), 'utf8'));

@@ -50,0 +50,0 @@ // Validate the json against the schema

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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