Socket
Socket
Sign inDemoInstall

react-placeholder

Package Overview
Dependencies
Maintainers
9
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-placeholder - npm Package Compare versions

Comparing version 1.0.10 to 2.0.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Change Log

## [v2.0.0](https://github.com/buildo/react-placeholder/tree/v2.0.0) (2017-12-20)
[Full Changelog](https://github.com/buildo/react-placeholder/compare/v1.0.10...v2.0.0)
#### Breaking:
- Array.apply not support ie8 in TextBlock even if I add the polyfill (again) [#65](https://github.com/buildo/react-placeholder/issues/65)
## [v1.0.10](https://github.com/buildo/react-placeholder/tree/v1.0.10) (2017-12-15)

@@ -7,0 +14,0 @@ [Full Changelog](https://github.com/buildo/react-placeholder/compare/v1.0.9...v1.0.10)

4

lib/placeholders/TextBlock.js

@@ -28,2 +28,4 @@ 'use strict';

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -66,3 +68,3 @@

var range = Array.apply(null, Array(rows)); // eslint-disable-line prefer-spread
var range = [].concat(_toConsumableArray(Array(rows)));
return range.map(function (x, i) {

@@ -69,0 +71,0 @@ return _react2.default.createElement(_TextRow2.default, {

{
"name": "react-placeholder",
"version": "1.0.10",
"version": "2.0.0",
"description": "A React component to easily replicate your page with nice placeholders while the content is loading",

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

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