diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8cb541f --- /dev/null +++ b/.snyk @@ -0,0 +1,4 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +patch: {} diff --git a/README.md b/README.md index 4be8558..8898269 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Node Boilerplate +# fs [![Build Status](https://travis-ci.org/acttoreact/fs.svg?branch=master)](https://travis-ci.org/acttoreact/fs) [![Coverage Status](https://coveralls.io/repos/github/acttoreact/fs/badge.svg?branch=master)](https://coveralls.io/github/acttoreact/fs) [![npm](https://img.shields.io/npm/v/@a2r/fs)](https://www.npmjs.com/package/@a2r/fs) [![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/acttoreact/fs)](https://snyk.io/test/github/acttoreact/fs) [![node-current](https://img.shields.io/node/v/@a2r/fs)](https://www.npmjs.com/package/@a2r/fs) [![GitHub](https://img.shields.io/github/license/acttoreact/fs)](https://github.com/acttoreact/fs/blob/develop/license.md) [![Documentation](https://img.shields.io/badge/documentation-ready-green)](https://htmlpreview.github.io/?https://github.com/acttoreact/fs/blob/develop/docs/jsdocs/index.html#readDir) -Node Boilerplate for A2r TypeScript Projects +File System library for the a2r ecosystem diff --git a/package-lock.json b/package-lock.json index 1489316..bda65f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "fs", - "version": "0.1.0", + "name": "@a2r/fs", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -8740,9 +8740,9 @@ } }, "snyk": { - "version": "1.328.0", - "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.328.0.tgz", - "integrity": "sha512-wdbyIA5dTZD6nGxO2z3r/V4XSBLOuW08Vu87u93tbdihhanxe8sC37/ChzysGNvee/IcW98/hxwZf+pmVka0bA==", + "version": "1.329.0", + "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.329.0.tgz", + "integrity": "sha512-eDHfnLYgxVSuAzIJPBBhPqRN+6c5eWsQA+ff67OR9Qn4JUgI3MSuyxPJ3o6JPoyE/qYZfKhdFnyqBBz1eUu3oQ==", "dev": true, "requires": { "@snyk/cli-interface": "2.6.0", @@ -8943,6 +8943,15 @@ "tslib": "^1.10.0" }, "dependencies": { + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, "tmp": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz", @@ -8950,17 +8959,6 @@ "dev": true, "requires": { "rimraf": "^2.6.3" - }, - "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } } } } @@ -9099,6 +9097,15 @@ "tslib": "^1.9.3" } }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, "tmp": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz", @@ -9106,17 +9113,6 @@ "dev": true, "requires": { "rimraf": "^2.6.3" - }, - "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } } } } @@ -9354,6 +9350,15 @@ "tslib": "^1.10.0" }, "dependencies": { + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, "tmp": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz", @@ -9361,17 +9366,6 @@ "dev": true, "requires": { "rimraf": "^2.6.3" - }, - "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } } } } diff --git a/package.json b/package.json index 99a5a1b..fd37f0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@a2r/fs", - "version": "1.0.0", + "version": "1.1.0", "description": "A2R file system library", "main": "./index.js", "types": "./index.d.ts", @@ -20,7 +20,9 @@ "test-coverage-dev": "NODE_ENV=development jest --coverage --watchAll", "coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls", "test-full": "npm run test-clear;npm run build;npm run test;npm run test-coverage;npm run lint;npm audit;npm run docs", - "docs": "jsdoc -c jsdoc.json" + "docs": "jsdoc -c jsdoc.json", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "repository": { "type": "git", @@ -56,10 +58,11 @@ "eslint-plugin-react": "^7.20.0", "jest": "^26.0.1", "jsdoc": "^3.6.3", - "snyk": "^1.328.0", + "snyk": "^1.329.0", "ts-jest": "^26.0.0", "ts-node-dev": "^1.0.0-pre.40", "typescript": "^3.9.3", "wait-for-expect": "^3.0.2" - } + }, + "snyk": true }