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

re-resizable

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

re-resizable - npm Package Compare versions

Comparing version 6.5.0 to 6.5.1

7

CHANGELOG.md

@@ -24,2 +24,9 @@ # Changelog

## [6.5.0 (2020-06-17)](https://github.com/bokuweb/re-resizable/compare/v6.4.0...v6.5.0)
### :bug: Bug Fix
- Fix ES Module Output #634
## [6.4.0 (2020-05-14)](https://github.com/bokuweb/re-resizable/compare/v6.3.2...v6.4.0)

@@ -26,0 +33,0 @@

2

lib/index.d.ts

@@ -55,3 +55,3 @@ import * as React from 'react';

export interface ResizableProps {
as: string | React.ComponentType<any>;
as?: string | React.ComponentType<any>;
style?: React.CSSProperties;

@@ -58,0 +58,0 @@ className?: string;

@@ -791,2 +791,3 @@ 'use strict';

var _this = this;
var _a;
var extendsProps = Object.keys(this.props).reduce(function (acc, key) {

@@ -803,3 +804,3 @@ if (definedProps.indexOf(key) !== -1) {

}
var Wrapper = this.props.as;
var Wrapper = (_a = this.props.as) !== null && _a !== void 0 ? _a : 'div';
return (React.createElement(Wrapper, __assign({ ref: this.ref, style: style, className: this.props.className }, extendsProps),

@@ -806,0 +807,0 @@ this.state.isResizing && React.createElement("div", { style: this.state.backgroundStyle }),

@@ -689,2 +689,3 @@ var __extends = (this && this.__extends) || (function () {

var _this = this;
var _a;
var extendsProps = Object.keys(this.props).reduce(function (acc, key) {

@@ -701,3 +702,3 @@ if (definedProps.indexOf(key) !== -1) {

}
var Wrapper = this.props.as;
var Wrapper = (_a = this.props.as) !== null && _a !== void 0 ? _a : 'div';
return (React.createElement(Wrapper, __assign({ ref: this.ref, style: style, className: this.props.className }, extendsProps),

@@ -704,0 +705,0 @@ this.state.isResizing && React.createElement("div", { style: this.state.backgroundStyle }),

{
"name": "re-resizable",
"version": "6.5.0",
"version": "6.5.1",
"description": "Resizable component for React.",

@@ -22,3 +22,3 @@ "title": "re-resizable",

"start": "npm-run-all --parallel storybook",
"test": "cross-env NODE_ENV='test' tsc && avaron lib/index.test.js --renderer",
"test": "cross-env NODE_ENV='test' tsc -p tsconfig.test.json && avaron lib/index.test.js --renderer",
"test:ci": "npm run flow && npm run build",

@@ -25,0 +25,0 @@ "prepublish": "npm run build",

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