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

react-native-pager-view

Package Overview
Dependencies
Maintainers
3
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-pager-view - npm Package Compare versions

Comparing version 6.3.1 to 6.3.2

common/cpp/react/renderer/components/RNCViewPager/RNCViewPagerComponentDescriptor.h

5

lib/commonjs/PagerView.js

@@ -194,3 +194,8 @@ "use strict";

});
// React.forwardRef does not type returned component properly, thus breaking Ref<MyComponent> typing.
// One way to overcome this is using separate typing for component "interface",
// but that breaks backward compatibility in this case.
// Approach of merging type is hacky, but produces a good typing for both ref attributes and component itself.
exports.PagerView = PagerView;
//# sourceMappingURL=PagerView.js.map

@@ -187,2 +187,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

});
// React.forwardRef does not type returned component properly, thus breaking Ref<MyComponent> typing.
// One way to overcome this is using separate typing for component "interface",
// but that breaks backward compatibility in this case.
// Approach of merging type is hacky, but produces a good typing for both ref attributes and component itself.
//# sourceMappingURL=PagerView.js.map

1

lib/typescript/PagerView.d.ts

@@ -74,2 +74,3 @@ import React from 'react';

} & React.RefAttributes<PagerViewInternal>>;
export type PagerView = PagerViewInternal & typeof PagerView;
export {};

8

package.json
{
"name": "react-native-pager-view",
"version": "6.3.1",
"version": "6.3.2",
"description": "React Native wrapper for Android and iOS ViewPager",

@@ -15,3 +15,3 @@ "main": "lib/commonjs/index",

"ios",
"cpp",
"common",
"react-native-pager-view.podspec",

@@ -59,2 +59,3 @@ "!lib/typescript/example",

"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.11",
"@release-it/conventional-changelog": "^2.0.0",

@@ -77,4 +78,3 @@ "@tsconfig/react-native": "^3.0.0",

"release-it": "^14.2.2",
"typescript": "^4.5.2",
"@react-native/metro-config": "^0.72.11"
"typescript": "^4.5.2"
},

@@ -81,0 +81,0 @@ "resolutions": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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