New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-shimmer

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-shimmer - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

.eslintrc

13

index.js
import React, {
Component,
PropTypes,
requireNativeComponent
} from 'react';
import {
requireNativeComponent,
} from 'react-native';

@@ -10,3 +13,3 @@

animating: PropTypes.bool,
direction: PropTypes.oneOf('up', 'down', 'left', 'right'),
direction: PropTypes.oneOf(['up', 'down', 'left', 'right']),
pauseDuration: PropTypes.number,

@@ -18,7 +21,7 @@ animationOpacity: PropTypes.number,

beginFadeDuration: PropTypes.number,
endFadeDuration: PropTypes.number
endFadeDuration: PropTypes.number,
};
static defaultProps = {
animating: true
animating: true,
};

@@ -31,2 +34,2 @@

var RNShimmeringView = requireNativeComponent('RNShimmeringView', Shimmer);
const RNShimmeringView = requireNativeComponent('RNShimmeringView', Shimmer);
{
"name": "react-native-shimmer",
"version": "0.0.0",
"version": "0.1.0",
"description": "Simple shimmering effect for any view in React Native",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "eslint index.js"
},
"keywords": [
"react-native",
"react-component",
"react-native-component",
"react",
"mobile",
"ios",
"ui",
"shimmer",
"activityindicator",
"indeterminate",
"spinner",
"animation"
],
"author": {

@@ -13,3 +27,17 @@ "name": "Joel Arvidsson",

},
"license": "MIT"
"homepage": "https://github.com/oblador/react-native-shimmer",
"bugs": {
"url": "https://github.com/oblador/react-native-shimmer/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/oblador/react-native-shimmer.git"
},
"license": "MIT",
"devDependencies": {
"babel": "^6.5.2",
"babel-eslint": "^6.0.4",
"eslint": "^2.9.0",
"eslint-plugin-react": "^5.0.1"
}
}

@@ -32,3 +32,3 @@ # react-native-shimmer

```js
import Shimmer from `react-native-shimmer`;
import Shimmer from 'react-native-shimmer';

@@ -35,0 +35,0 @@ <Shimmer>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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