UNPKG

mongoose-readwrite

Version:

Remove unauthorized properties from inputs and outputs

53 lines (52 loc) 1.17 kB
{ "name": "mongoose-readwrite", "version": "2.2.0", "description": "Remove unauthorized properties from inputs and outputs", "repository": { "type": "git", "url": "https://github.com/ztrange/mongoose-readwrite" }, "bugs": { "url": "https://github.com/ztrange/mongoose-readwrite/issues" }, "main": "dist/index.js", "scripts": { "test": "jest", "build": "babel src --out-dir dist", "prepublish": "yarn run build" }, "jest": { "testMatch": [ "**/test/**/*.js?(x)" ], "testEnvironment": "node" }, "keywords": [ "mongoose", "permission", "read", "write", "filter", "protect", "obscure", "redact" ], "author": "ztrange", "license": "MIT", "dependencies": { "debug": "^3.0.0", "flatten-obj": "^3.1.1", "jest": "^22.4.3" }, "devDependencies": { "@babel/cli": "^7.0.0-beta.44", "@babel/core": "^7.0.0-beta.44", "@babel/preset-env": "^7.0.0-beta.44", "babel-core": "^7.0.0-0", "babel-jest": "^22.4.3", "eslint": "^4.5.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.7.0", "mongoose": "^5.0.12" } }