Socket
Socket
Sign inDemoInstall

react-placeholder

Package Overview
Dependencies
4
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.3 to 4.1.0

11

CHANGELOG.md

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

## [v4.1.0](https://github.com/buildo/react-placeholder/tree/v4.1.0) (2021-02-05)
[Full Changelog](https://github.com/buildo/react-placeholder/compare/v4.0.3...v4.1.0)
#### New features:
- Problem with React 17 and npm version 7.5.1 on mac osx [#95](https://github.com/buildo/react-placeholder/issues/95)
- [Question] CSS Import [#94](https://github.com/buildo/react-placeholder/issues/94)
- type CustomPlaceholderProps showLoadingAnimation is undefined instead of boolean [#90](https://github.com/buildo/react-placeholder/issues/90)
- v3.0.2 TypeScript error about missing properties [#82](https://github.com/buildo/react-placeholder/issues/82)
- Do `children` and `ready` really have to be required props? [#79](https://github.com/buildo/react-placeholder/issues/79)
## [v4.0.3](https://github.com/buildo/react-placeholder/tree/v4.0.3) (2020-06-11)

@@ -7,0 +18,0 @@ [Full Changelog](https://github.com/buildo/react-placeholder/compare/v4.0.2...v4.0.3)

10

lib/placeholders/index.d.ts

@@ -8,6 +8,6 @@ /// <reference types="react" />

export { TextRow, RoundShape, RectShape, TextBlock, MediaBlock };
export declare const textRow: import("react").FunctionComponent<import("./TextRow").Props>;
export declare const round: import("react").FunctionComponent<import("./RoundShape").Props>;
export declare const rect: import("react").FunctionComponent<import("./RectShape").Props>;
export declare const text: import("react").FunctionComponent<import("./TextBlock").Props>;
export declare const media: import("react").FunctionComponent<import("./MediaBlock").Props>;
export declare const textRow: import("react").FC<import("./TextRow").Props>;
export declare const round: import("react").FC<import("./RoundShape").Props>;
export declare const rect: import("react").FC<import("./RectShape").Props>;
export declare const text: import("react").FC<import("./TextBlock").Props>;
export declare const media: import("react").FC<import("./MediaBlock").Props>;
"use strict";
exports.__esModule = true;
exports.media = exports.text = exports.rect = exports.round = exports.textRow = exports.MediaBlock = exports.TextBlock = exports.RectShape = exports.RoundShape = exports.TextRow = void 0;
var TextRow_1 = require("./TextRow");

@@ -4,0 +5,0 @@ exports.TextRow = TextRow_1["default"];

"use strict";
exports.__esModule = true;
exports.joinClassNames = void 0;
exports.joinClassNames = function () {

@@ -4,0 +5,0 @@ var classNames = [];

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

@@ -39,9 +39,9 @@ "main": "lib",

"devDependencies": {
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.4.0",
"@types/enzyme": "^3.10.4",
"@types/jest": "^24.0.23",
"@types/lodash": "^4.14.149",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@types/node": "12.12.17",
"@types/react": "^16.9.16",
"@types/react": "^16.9.56",
"babel-core": "^6.26.3",

@@ -51,8 +51,8 @@ "babel-loader": "^7.1.5",

"css-loader": "^0.28.11",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"file-loader": "^1.1.11",
"jest": "^24.9.0",
"lodash": "^4.17.15",
"node-sass": "^4.13.0",
"jest": "^26.6.3",
"lodash": "^4.17.20",
"node-sass": "^4.14.1",
"progress-bar-webpack-plugin": "^1.12.1",

@@ -68,10 +68,9 @@ "raf": "^3.4.1",

"smooth-release": "^8.0.9",
"ts-jest": "^24.2.0",
"ts-jest": "^26.5.0",
"ts-loader": "^3.5.0",
"typescript": "~3.6.4",
"typescript": "~3.9.7",
"webpack": "3.5.5"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
"react": "^16.8.0 || ^17"
},

@@ -78,0 +77,0 @@ "jest": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc