Socket
Socket
Sign inDemoInstall

express-mongo-sanitize

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

.github/workflows/nodejs.yml

9

CHANGELOG.md

@@ -5,2 +5,10 @@ # Change Log

## [2.0.1] - 2020-12-02
### Updated
- Update dependencies and test against node 14.
### Changed
- Use ESLint instead of JSHint for code linting.
- Use GitHub Actions for CI instead of Travis.
## [2.0.0] - 2020-03-25

@@ -40,2 +48,3 @@ ### Added / Breaking

[2.0.1]: https://github.com/fiznool/express-mongo-sanitize/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/fiznool/express-mongo-sanitize/compare/v1.3.2...v2.0.0

@@ -42,0 +51,0 @@ [1.3.2]: https://github.com/fiznool/express-mongo-sanitize/compare/v1.3.1...v1.3.2

13

package.json
{
"name": "express-mongo-sanitize",
"version": "2.0.0",
"version": "2.0.1",
"description": "Sanitize your express payload to prevent MongoDB operator injection.",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha test.js"
"lint": "eslint \"**/*.js\" --fix",
"test": "mocha test.js"
},

@@ -33,6 +34,8 @@ "engines": {

"chai": "^4.2.0",
"eslint": "^7.14.0",
"express": "^4.17.1",
"mocha": "^7.1.1",
"supertest": "^4.0.2"
}
"mocha": "^8.2.1",
"supertest": "^6.0.1"
},
"dependencies": {}
}

@@ -5,4 +5,5 @@ # Express Mongoose Sanitize

[![Build Status](https://travis-ci.org/fiznool/express-mongo-sanitize.svg?branch=master)](https://travis-ci.org/fiznool/express-mongo-sanitize)
[![npm version](https://badge.fury.io/js/express-mongo-sanitize.svg)](http://badge.fury.io/js/express-mongo-sanitize)
[![Build Status](https://github.com/fiznool/express-mongo-sanitize/workflows/Node.js%20CI/badge.svg)](https://github.com/fiznool/express-mongo-sanitize/workflows/Node.js%20CI/badge.svg)
[![npm version](https://img.shields.io/npm/v/express-mongo-sanitize)](https://img.shields.io/npm/v/express-mongo-sanitize)
[![npm downloads per week](https://img.shields.io/npm/dw/express-mongo-sanitize?color=blue)](https://img.shields.io/npm/dw/express-mongo-sanitize?color=blue)
[![Dependency Status](https://david-dm.org/fiznool/express-mongo-sanitize.svg)](https://david-dm.org/fiznool/express-mongo-sanitize)

@@ -9,0 +10,0 @@ [![devDependency Status](https://david-dm.org/fiznool/express-mongo-sanitize/dev-status.svg)](https://david-dm.org/fiznool/express-mongo-sanitize#info=devDependencies)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc