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

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.8 to 1.0.9

8

CHANGELOG.md

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

## [v1.0.9](https://github.com/buildo/react-placeholder/tree/v1.0.9) (2017-11-28)
[Full Changelog](https://github.com/buildo/react-placeholder/compare/v1.0.8...v1.0.9)
#### New features:
- install question [#58](https://github.com/buildo/react-placeholder/issues/58)
- Bug with delay when the component is already mounted [#54](https://github.com/buildo/react-placeholder/issues/54)
## [v1.0.8](https://github.com/buildo/react-placeholder/tree/v1.0.8) (2017-10-25)

@@ -7,0 +15,0 @@ [Full Changelog](https://github.com/buildo/react-placeholder/compare/v1.0.7...v1.0.8)

6

lib/index.d.ts

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

import { ComponentClass, ReactChild, ReactNode, ReactElement } from 'react';
import { ComponentClass, ReactNode, ReactElement } from 'react';
interface ReactPlaceholderProps {
// FIXME: children is marked as optional because of https://github.com/Microsoft/TypeScript/issues/8588
children?: ReactChild,
children?: ReactNode,
ready: boolean,
delay: number,
delay?: number,
firstLaunchOnly?: boolean,

@@ -9,0 +9,0 @@ type?: 'text' | 'media' | 'textRow' | 'rect' | 'round',

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

@@ -42,3 +42,3 @@ "main": "lib",

"dependencies": {
"prop-types": "^15.5.8"
"prop-types": "^15.6.0"
},

@@ -52,11 +52,13 @@ "devDependencies": {

"css-loader": "^0.28.3",
"enzyme": "^2.7.1",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.0.2",
"eslint-loader": "^1.7.0",
"extract-text-webpack-plugin": "^1.0.1",
"html-webpack-plugin": "^2.28.0",
"jest": "^19.0.2",
"jest": "^21.2.1",
"node-sass": "4.5.2",
"react": "^15",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15",
"raf": "^3.4.0",
"react": "^16",
"react-dom": "^16",
"react-test-renderer": "^16.0.0",
"sass-loader": "^4.1.1",

@@ -72,3 +74,8 @@ "scriptoni": "^0.4.4",

"react-dom": "^0.14 || ^15 || ^16"
},
"jest": {
"setupFiles": [
"raf/polyfill"
]
}
}

@@ -80,3 +80,3 @@ # React Placeholder

Note that this delay will __not__ affect the initial render, only subsequent "ready" state changes. Setting the `firsLaunchOnly` prop to `true` will also disable this feature.
Note that this delay will __not__ affect the initial render, only subsequent "ready" state changes. Setting the `firstLaunchOnly` prop to `true` will also disable this feature.

@@ -83,0 +83,0 @@ ### Animation

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