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

react-cmf

Package Overview
Dependencies
Maintainers
6
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cmf - npm Package Compare versions

Comparing version 0.105.0 to 0.106.0

lib/flow-typed/index.js

18

lib/deprecated.js

@@ -20,5 +20,4 @@ 'use strict';

/* eslint-disable prefer-rest-params */
function deprecated(fn, msg) {
var log = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : console.warn;
// eslint-disable-line no-console
/* eslint-disable no-console*/
function deprecated(fn, msg, log) {
var called = false;

@@ -32,3 +31,14 @@ return function wrapper() {

}
log('DEPRECATED: ' + message);
message = 'DEPRECATED: ' + message;
if (log) {
log(message);
} else if (console) {
if (console.warn) {
console.warn(message);
} else if (console.log) {
console.log(message);
}
}
}

@@ -35,0 +45,0 @@ return fn.apply(this, arguments);

@@ -105,3 +105,3 @@ {

},
"version": "0.105.0",
"version": "0.106.0",
"dependencies": {

@@ -108,0 +108,0 @@ "hoist-non-react-statics": "^1.2.0"

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