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

react-moment-proptypes-browser-build

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-moment-proptypes-browser-build - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

lib/react-moment-proptypes.js

@@ -99,3 +99,2 @@ (function webpackUniversalModuleDefinition(root, factory) {

function(obj) {
console.log('momentObj:typeValidator', JSON.stringify(arguments));
return typeof obj === 'object';

@@ -123,10 +122,6 @@ },

function(obj) {
var resultOut = typeof obj === 'object';
console.log('momentDurationObj:typeValidator', resultOut, JSON.stringify(arguments[0]), typeof arguments[0]);
return resultOut;
return typeof obj === 'object';
},
function isValid(value) {
var resultOut = moment.isDuration(value);
console.log('momentDurationObj:validator', resultOut, JSON.stringify(arguments[0]), typeof arguments[0]);
return resultOut;
return moment.isDuration(value);
},

@@ -133,0 +128,0 @@ 'Duration'

{
"name": "react-moment-proptypes-browser-build",
"version": "0.1.0",
"version": "0.1.1",
"description": "Direct browser importable version of react-moment-proptypes",
"main": "lib/react-moment-proptypes.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "./node_modules/.bin/webpack"
},

@@ -9,0 +10,0 @@ "author": "Caleb Morris",

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