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

react-big-calendar

Package Overview
Dependencies
Maintainers
3
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-big-calendar - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.13.1](https://github.com/jquense/react-big-calendar/compare/v1.13.0...v1.13.1) (2024-07-12)
### Bug Fixes
* warning defaultProps in Agenda ([#2620](https://github.com/jquense/react-big-calendar/issues/2620)) ([d1c31c2](https://github.com/jquense/react-big-calendar/commit/d1c31c2d55e5a4a74043261a4e1f5de80396e071))
# [1.13.0](https://github.com/jquense/react-big-calendar/compare/v1.12.2...v1.13.0) (2024-06-11)

@@ -2,0 +9,0 @@

13

lib/Agenda.js

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

var _selection = require("./utils/selection");
var DEFAULT_LENGTH = 30;
function Agenda(_ref) {

@@ -24,3 +25,4 @@ var accessors = _ref.accessors,

getters = _ref.getters,
length = _ref.length,
_ref$length = _ref.length,
length = _ref$length === void 0 ? DEFAULT_LENGTH : _ref$length,
localizer = _ref.localizer,

@@ -162,8 +164,5 @@ onDoubleClickEvent = _ref.onDoubleClickEvent,

}
Agenda.defaultProps = {
length: 30
};
Agenda.range = function (start, _ref2) {
var _ref2$length = _ref2.length,
length = _ref2$length === void 0 ? Agenda.defaultProps.length : _ref2$length,
length = _ref2$length === void 0 ? DEFAULT_LENGTH : _ref2$length,
localizer = _ref2.localizer;

@@ -178,3 +177,3 @@ var end = localizer.add(start, length, 'day');

var _ref3$length = _ref3.length,
length = _ref3$length === void 0 ? Agenda.defaultProps.length : _ref3$length,
length = _ref3$length === void 0 ? DEFAULT_LENGTH : _ref3$length,
localizer = _ref3.localizer;

@@ -192,3 +191,3 @@ switch (action) {

var _ref4$length = _ref4.length,
length = _ref4$length === void 0 ? Agenda.defaultProps.length : _ref4$length,
length = _ref4$length === void 0 ? DEFAULT_LENGTH : _ref4$length,
localizer = _ref4.localizer;

@@ -195,0 +194,0 @@ var end = localizer.add(start, length, 'day');

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

exports.default = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireDefault(require("react"));

@@ -15,7 +14,2 @@ var ResourceHeader = function ResourceHeader(_ref) {

};
ResourceHeader.propTypes = process.env.NODE_ENV !== "production" ? {
label: _propTypes.default.node,
index: _propTypes.default.number,
resource: _propTypes.default.object
} : {};
var _default = exports.default = ResourceHeader;
{
"name": "react-big-calendar",
"version": "1.13.0",
"version": "1.13.1",
"description": "Calendar! with events",

@@ -5,0 +5,0 @@ "author": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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