Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hadron-react-bson

Package Overview
Dependencies
Maintainers
38
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-react-bson - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

2

lib/binary-value.js

@@ -55,3 +55,3 @@ 'use strict';

if (type === 6) {
return ['*********', 'Editing documents with encrypted fields is not yet supported'];
return ['*********', 'This field is encrypted'];
}

@@ -58,0 +58,0 @@ var val = 'Binary(\'' + truncate(buffer.toString(BASE_64), 100) + '\')';

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/mongodb-js/hadron-react/packages/hadron-react-bson",
"version": "3.1.1",
"version": "3.1.2",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

@@ -29,3 +29,3 @@ const React = require('react');

if (type === 6) {
return ['*********', 'Editing documents with encrypted fields is not yet supported'];
return ['*********', 'This field is encrypted'];
}

@@ -32,0 +32,0 @@ const val = `Binary('${truncate(buffer.toString(BASE_64), 100)}')`;

@@ -100,3 +100,3 @@ const React = require('react');

it('sets the title', () => {
expect(component.props().title).to.equal('Editing documents with encrypted fields is not yet supported');
expect(component.props().title).to.equal('This field is encrypted');
});

@@ -103,0 +103,0 @@

Sorry, the diff of this file is not supported yet

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