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.0.0-alpha.19 to 1.0.0-alpha.20

scripts/measures/test2.json

12

CONTRIBUTING.md

@@ -71,5 +71,7 @@ # Contribution Guidelines

## Publish
## Versioning, publishing, and creating new releases
To publish a new version, make sure you've bumped the `version` in `package.json`, then:
1. Bump the `version` in `package.json` when making changes to `measures/measures-data.json` or `benchmarks/2017.json`. You can also choose to bump the version when making changes elsewhere.
2. Publish a new version after bumping the version number:
```

@@ -80,2 +82,8 @@ npm login # as cmsgov

3. [Create a release](https://github.com/CMSgov/qpp-measures-data/releases) in Github after the new version is published.
- The tag version should be 'v[version of module just published]', e.g. 'v1.0.0-alpha.1'. (Note the `v` prefix).
- The release title should be a short description of the release contents.
- The release notes should contain appropriate, standardized headers like "Added", "Changed", "Removed", "Fixed", and relevant details.
- Please read [the standards](http://keepachangelog.com/en/0.3.0/) prior to creating release notes.
## Licenses

@@ -82,0 +90,0 @@

2

package.json
{
"name": "qpp-measures-data",
"version": "1.0.0-alpha.19",
"version": "1.0.0-alpha.20",
"description": "Quality Payment Program Measures Data Repository",

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

@@ -49,2 +49,3 @@ # qpp-measures-data

See [CONTRIBUTING.md](CONTRIBUTING.md).
Before creating pull requests, please make sure to review
[CONTRIBUTING.md](CONTRIBUTING.md).

@@ -150,2 +150,4 @@ const parse = require('csv-parse/lib/sync');

const constantFields = config.constant_fields;
const TRUE_CSV = 'Y';
const FALSE_CSV = 'N';

@@ -179,3 +181,3 @@ const newMeasures = records.map(function(record) {

const ratio = _.trim(record[19]);
if (proportion === 'Y' && continuous === 'N' && ratio === 'N') {
if (proportion === TRUE_CSV && continuous === FALSE_CSV && ratio === FALSE_CSV) {
// returns an integer if passed string '3', NaN if passed 'N/A'

@@ -192,2 +194,4 @@ const numPerformanceRates = _.parseInt(_.trim(record[11]));

newMeasure['submissionMethods'] = ['registry'];
return newMeasure;

@@ -194,0 +198,0 @@ });

Sorry, the diff of this file is too big to display

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 too big to display

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