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

react-grid-system

Package Overview
Dependencies
Maintainers
2
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-grid-system - npm Package Compare versions

Comparing version 7.2.0 to 7.3.0

4

build/utils.js

@@ -72,3 +72,5 @@ "use strict";

var _useState = (0, _react.useState)(getScreenClass()),
var _useState = (0, _react.useState)(function () {
return getScreenClass();
}),
_useState2 = _slicedToArray(_useState, 2),

@@ -75,0 +77,0 @@ screenClass = _useState2[0],

@@ -67,3 +67,3 @@ declare module 'react-grid-system' {

export function setConfiguration(configuration: Configuration): void
export function useScreenClass(elementRef?: React.MutableRefObject<any>): string
export function useScreenClass(elementRef?: React.MutableRefObject<any>): ScreenClass

@@ -70,0 +70,0 @@ export class Col extends React.Component<ColProps, any> { }

{
"name": "react-grid-system",
"version": "7.2.0",
"version": "7.3.0",
"description": "A powerful Bootstrap-like responsive grid system for React.",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

@@ -46,3 +46,3 @@ /* global window */

const [screenClass, setScreenClass] = useState(getScreenClass());
const [screenClass, setScreenClass] = useState(() => getScreenClass());

@@ -49,0 +49,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