Socket
Socket
Sign inDemoInstall

react-progressive-image-loading

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

18

build/index.js

@@ -14,3 +14,3 @@ "use strict";

var React = require("react");
var ProgressiveImage = /** @class */ (function (_super) {
var ProgressiveImage = (function (_super) {
__extends(ProgressiveImage, _super);

@@ -24,6 +24,4 @@ function ProgressiveImage() {

var initialBlur = this.props.initialBlur;
this.setState({ src: "", blur: initialBlur });
this.fetch(preview)
.then(function (previewDataURI) { return _this.setState({ src: previewDataURI, blur: initialBlur }); })
.then(function () { return _this.fetch(src); })
this.setState({ src: preview, blur: initialBlur });
this.fetch(src)
.then(function (srcDataURI) { return _this.setState({ src: srcDataURI, blur: 0 }); });

@@ -51,11 +49,11 @@ };

};
ProgressiveImage.defaultProps = {
transitionTime: 500,
timingFunction: "ease",
initialBlur: 10
};
return ProgressiveImage;
}(React.Component));
ProgressiveImage.defaultProps = {
transitionTime: 500,
timingFunction: "ease",
initialBlur: 10
};
exports.ProgressiveImage = ProgressiveImage;
exports.default = ProgressiveImage;
//# sourceMappingURL=index.js.map
{
"name": "react-progressive-image-loading",
"version": "3.0.2",
"version": "3.0.3",
"description": "Progressively load images using a blur effect. Edit",

@@ -11,4 +11,3 @@ "main": "build/index.js",

"watch": "tsc --watch --pretty",
"test": "npm run lint && npm run build",
"release": "semantic-release pre && npm publish && semantic-release post"
"test": "npm run lint && npm run build"
},

@@ -38,4 +37,2 @@ "files": [

"@types/react": "^15.0.23",
"condition-circle": "^1.5.0",
"semantic-release": "^6.3.2",
"ts-npm-lint": "^0.1.0",

@@ -45,6 +42,4 @@ "tslint": "^5.1.0",

},
"release": {
"verifyConditions": "condition-circle"
},
"dependencies": {}
}
"dependencies": {
}
}

Sorry, the diff of this file is not supported yet

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