diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..14c3f10 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:ms:20170412': + - cloudant > debug > ms: + patched: '2017-05-23T08:18:03.546Z' + - compression > debug > ms: + patched: '2017-05-23T08:18:03.546Z' diff --git a/package.json b/package.json index 269e9db..1129ac6 100644 --- a/package.json +++ b/package.json @@ -1,33 +1,45 @@ { - "name": "cloudant-fieldwork", - "version": "1.0.0", - "description": "A web application that supports offline editing and mapping of geospatial data. It downloads and saves geospatial data locally for offline use using Cloudant Geo or Lucene Geo query, has a UI that supports editing of points, lines and polygons, and syncs locally edited data back to an IBM Cloudant database", - "main": "app.js", - "scripts": { - "install": "./admin.js track && ./admin.js db put && ./admin.js ddoc put", - "start": "node app.js", - "test": "echo no tests yet" - }, - "repository": { - "type": "git", - "url": "https://github.com/ibm-cds-labs/fieldwork.git" - }, - "keywords": ["PouchDB", "Node.js", "Bootstrap", "Cloudant", "HTML5", "JavaScript", "geospatial"], - "author": "Raj Singh (https://cloudant.com/)", - "license": "Apache 2.0", - "bugs": { - "url": "https://github.com/ibm-cds-labs/fieldwork/issues" - }, - "homepage": "https://github.com/ibm-cds-labs/fieldwork", - "dependencies": { - "body-parser": "^1.11.0", - "cf-deployment-tracker-client": "^0.x", - "cloudant": "^1.0.0-beta3", - "commander": "^2.6.0", - "cookie-parser": "^1.3.4", - "compression": "^1.6.2", - "dotenv": "^0.5.1", - "express": "^4.11.1", - "http-post": "^0.1.1" - } + "name": "cloudant-fieldwork", + "version": "1.0.0", + "description": "A web application that supports offline editing and mapping of geospatial data. It downloads and saves geospatial data locally for offline use using Cloudant Geo or Lucene Geo query, has a UI that supports editing of points, lines and polygons, and syncs locally edited data back to an IBM Cloudant database", + "main": "app.js", + "scripts": { + "install": "./admin.js track && ./admin.js db put && ./admin.js ddoc put", + "start": "node app.js", + "test": "echo no tests yet", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "repository": { + "type": "git", + "url": "https://github.com/ibm-cds-labs/fieldwork.git" + }, + "keywords": [ + "PouchDB", + "Node.js", + "Bootstrap", + "Cloudant", + "HTML5", + "JavaScript", + "geospatial" + ], + "author": "Raj Singh (https://cloudant.com/)", + "license": "Apache 2.0", + "bugs": { + "url": "https://github.com/ibm-cds-labs/fieldwork/issues" + }, + "homepage": "https://github.com/ibm-cds-labs/fieldwork", + "dependencies": { + "body-parser": "^1.11.0", + "cf-deployment-tracker-client": "^0.x", + "cloudant": "^1.0.0-beta3", + "commander": "^2.6.0", + "cookie-parser": "^1.3.4", + "compression": "^1.6.2", + "dotenv": "^0.5.1", + "express": "^4.11.1", + "http-post": "^0.1.1", + "snyk": "^1.30.1" + }, + "snyk": true } \ No newline at end of file