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

react-loading-skeleton-placeholders

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-loading-skeleton-placeholders - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

lib/package.json

@@ -8,3 +8,3 @@ {

},
"version": "1.0.0",
"version": "1.1.0",
"main": "./index.js",

@@ -11,0 +11,0 @@ "keywords": [

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _templateObject = _taggedTemplateLiteral(["\n > div {\n &:nth-child(n+", ") {\n width: 75% !important;\n }\n }\n "], ["\n > div {\n &:nth-child(n+", ") {\n width: 75% !important;\n }\n }\n "]);
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -11,2 +15,3 @@

import PropTypes from "prop-types";
import styled from "styled-components";

@@ -53,2 +58,3 @@ import Bone from "../Bone";

value: function render() {
var Bones = styled.div(_templateObject, this.props.amount > 1 ? this.props.amount : null);
var _props = this.props,

@@ -76,3 +82,3 @@ skull = _props.skull,

React.createElement(
"div",
Bones,
{ style: direction === 'row' ? boneFlexRowStyle : null },

@@ -79,0 +85,0 @@ bones

{
"name": "react-loading-skeleton-placeholders",
"version": "1.0.0",
"version": "1.1.0",
"main": "./lib/index.js",

@@ -136,2 +136,3 @@ "engines": {

"style-loader": "0.19.0",
"styled-components": "^1.4.5",
"sw-precache-webpack-plugin": "0.11.4",

@@ -138,0 +139,0 @@ "url-loader": "0.6.2",

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