New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

indicative

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indicative - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="3.0.3"></a>
## [3.0.3](https://github.com/poppinss/indicative/compare/v3.0.2...v3.0.3) (2017-10-29)
### Bug Fixes
* **sanitization:** only sanitize fields available in data object ([d910165](https://github.com/poppinss/indicative/commit/d910165)), closes [#150](https://github.com/poppinss/indicative/issues/150)
<a name="3.0.2"></a>

@@ -2,0 +12,0 @@ ## [3.0.2](https://github.com/poppinss/indicative/compare/v3.0.1...v3.0.2) (2017-10-29)

2

package.json
{
"name": "indicative",
"version": "3.0.2",
"version": "3.0.3",
"description": "Intentionally beautiful schema and raw validator for nodejs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -67,3 +67,5 @@ 'use strict'

return _.reduce(transformedRules, (result, rules, field) => {
_.set(result, field, _sanitizeFieldValue(data, rules, field))
if (_.has(clonedSet, field)) {
_.set(result, field, _sanitizeFieldValue(data, rules, field))
}
return result

@@ -70,0 +72,0 @@ }, clonedSet)

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