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

@4c/layout

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4c/layout - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

CHANGELOG.md

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

## [1.0.1](https://github.com/4Catalyzer/layout/compare/v1.0.0...v1.0.1) (2020-01-09)
### Bug Fixes
* Fix typing for flex prop ([#18](https://github.com/4Catalyzer/layout/issues/18)) ([5afc8b4](https://github.com/4Catalyzer/layout/commit/5afc8b4db044f2cee85103d49fd6466e9ad69770))
# [1.0.0](https://github.com/4Catalyzer/layout/compare/v0.2.3...v1.0.0) (2019-08-21)

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

2

es/PropTypes.js

@@ -11,3 +11,3 @@ import PropTypes from 'prop-types';

inline: PropTypes.bool,
flex: PropTypes.any,
flex: PropTypes.oneOfType([PropTypes.bool, PropTypes.number, PropTypes.string]),
align: align.isRequired,

@@ -14,0 +14,0 @@ alignSelf: align,

@@ -14,5 +14,5 @@ // TypeScript Version: 3.2

: Tag extends React.ComponentClass<infer Props2>
? (Tag extends new (...args: any[]) => infer Instance
? Props2 & React.ClassAttributes<Instance>
: never)
? Tag extends new (...args: any[]) => infer Instance
? Props2 & React.ClassAttributes<Instance>
: never
: never;

@@ -58,3 +58,3 @@

inline?: boolean;
flex?: boolean | number;
flex?: boolean | number | string;
/** default to 'stretch' */

@@ -61,0 +61,0 @@ alignSelf?: Align;

@@ -21,3 +21,3 @@ "use strict";

inline: _propTypes["default"].bool,
flex: _propTypes["default"].any,
flex: _propTypes["default"].oneOfType([_propTypes["default"].bool, _propTypes["default"].number, _propTypes["default"].string]),
align: align.isRequired,

@@ -24,0 +24,0 @@ alignSelf: align,

{
"name": "@4c/layout",
"version": "1.0.0",
"version": "1.0.1",
"files": [

@@ -66,21 +66,22 @@ "lib",

"devDependencies": {
"@4c/babel-preset": "^5.1.0",
"@4c/semantic-release-config": "^1.0.5",
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"babel-eslint": "^10.0.1",
"dtslint": "^0.6.0",
"eslint": "^5.16.0",
"eslint-config-4catalyzer-react": "^0.9.3",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"react": "^16.8.6",
"semantic-release": "^15.13.3"
"@4c/babel-preset": "^7.2.4",
"@4c/semantic-release-config": "^2.0.3",
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"babel-eslint": "^10.0.3",
"dtslint": "^2.0.3",
"eslint": "^6.8.0",
"eslint-config-4catalyzer-react": "^1.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^4.0.0",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"react": "^16.12.0",
"semantic-release": "^15.14.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