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

react-datetime-picker

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datetime-picker - npm Package Compare versions

Comparing version 5.5.1 to 5.5.2

4

dist/cjs/DateTimePicker.js

@@ -374,3 +374,2 @@ "use strict";

openWidgetsOnFocus: prop_types_1.default.bool,
portalContainer: isBrowser ? prop_types_1.default.instanceOf(HTMLElement) : undefined,
required: prop_types_1.default.bool,

@@ -384,2 +383,5 @@ secondAriaLabel: prop_types_1.default.string,

};
if (isBrowser) {
DateTimePicker.propTypes.portalContainer = prop_types_1.default.instanceOf(HTMLElement);
}
exports.default = DateTimePicker;

@@ -346,3 +346,2 @@ 'use client';

openWidgetsOnFocus: PropTypes.bool,
portalContainer: isBrowser ? PropTypes.instanceOf(HTMLElement) : undefined,
required: PropTypes.bool,

@@ -356,2 +355,5 @@ secondAriaLabel: PropTypes.string,

};
if (isBrowser) {
DateTimePicker.propTypes.portalContainer = PropTypes.instanceOf(HTMLElement);
}
export default DateTimePicker;
{
"name": "react-datetime-picker",
"version": "5.5.1",
"version": "5.5.2",
"description": "A date range picker for your React app.",

@@ -38,3 +38,3 @@ "type": "module",

"build-js-cjs-package": "echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"build-js-cjs-replace": "yarn replace-in-files --string='/dist/esm/' --replacement='/dist/cjs/' dist/cjs/**/*",
"build-js-cjs-replace": "replace-in-files --string='/dist/esm/' --replacement='/dist/cjs/' dist/cjs/**/*",
"clean": "rimraf dist",

@@ -48,3 +48,3 @@ "copy-styles": "cpy 'src/**/*.css' dist",

"unit": "vitest",
"watch": "yarn build-js-esm --watch & yarn build-js-cjs --watch & yarn build-js-cjs-package & nodemon --watch src --ext css --exec \"yarn copy-styles\""
"watch": "yarn build-js-esm --watch & yarn build-js-cjs --watch & nodemon --watch src --ext css --exec \"yarn copy-styles\""
},

@@ -88,7 +88,5 @@ "keywords": [

"eslint-config-wojtekmaj": "^0.9.0",
"husky": "^8.0.0",
"jsdom": "^21.1.0",
"nodemon": "^3.0.0",
"prettier": "^2.7.0",
"pretty-quick": "^3.1.0",
"prettier": "^3.0.0",
"react": "^18.2.0",

@@ -99,3 +97,3 @@ "react-dom": "^18.2.0",

"typescript": "^5.0.0",
"vitest": "^0.30.1",
"vitest": "^0.34.0",
"vitest-canvas-mock": "^0.2.2"

@@ -123,6 +121,6 @@ },

"type": "git",
"url": "https://github.com/wojtekmaj/react-datetime-picker.git"
"url": "https://github.com/wojtekmaj/react-datetime-picker.git",
"directory": "packages/react-datetime-picker"
},
"funding": "https://github.com/wojtekmaj/react-datetime-picker?sponsor=1",
"packageManager": "yarn@3.1.0"
"funding": "https://github.com/wojtekmaj/react-datetime-picker?sponsor=1"
}

Sorry, the diff of this file is not supported yet

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