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

react-flexr

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flexr - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

16

dist/utils/index.js

@@ -114,5 +114,15 @@ 'use strict';

function runCallbacks() {
callbacks.values().forEach(function (callback) {
return callback();
});
var values = callbacks.values();
var more = true;
while (more) {
var _values$next = values.next();
var done = _values$next.done;
var callback = _values$next.value;
if (done) {
return more = false;
}
callback();
}
running = false;

@@ -119,0 +129,0 @@ }

@@ -92,3 +92,11 @@ export const canUseDOM = (() => (

function runCallbacks() {
callbacks.values().forEach(callback => callback());
const values = callbacks.values();
let more = true;
while (more) {
const { done, value: callback } = values.next();
if (done) {
return (more = false);
}
callback();
}
running = false;

@@ -95,0 +103,0 @@ }

2

package.json
{
"name": "react-flexr",
"version": "2.1.0",
"version": "2.1.1",
"description": "React flexbox grid made simple.",

@@ -5,0 +5,0 @@ "main": "dist",

@@ -10,7 +10,7 @@ # Flexr [![Build Status](https://travis-ci.org/kodyl/react-flexr.svg)](https://travis-ci.org/kodyl/react-flexr) [![npm version](https://badge.fury.io/js/react-flexr.svg)](http://badge.fury.io/js/react-flexr)

```javascript
import React from 'react';
import React, { Component } from 'react';
import { Grid, Cell } from 'react-flexr';
import 'react-flexr/styles.css'
class Example extends React.component {
class Example extends Component {
render() {

@@ -33,6 +33,6 @@ return (

```javascript
import React from 'react';
import React, { Component } from 'react';
import { Grid, Cell } from 'react-flexr';
class Example extends React.component {
class Example extends Component {
render() {

@@ -133,5 +133,5 @@ return (

import { findMatch } from 'react-flexr';
import React from 'react';
import React, { Component } from 'react';
class App extends React.Component {
class App extends Component {
render() {

@@ -210,6 +210,6 @@ const isPalm = findMatch('palm');

```javascript
import React from 'react';
import React, { Component } from 'react';
import { optimizedResize, findBreakpoints } from 'react-flexr';
class App extends React.Component {
class App extends Component {
componentDidMount() {

@@ -267,2 +267,1 @@ optimizedResize.init( () => {

```
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