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

cordova-plugin-apprate

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-apprate - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

- Nothing yet
- 1.7.2
- [PR #302](https://github.com/pushandplay/cordova-plugin-apprate/pull/301) - Fix bug in setPreferences
- [PR #301](https://github.com/pushandplay/cordova-plugin-apprate/pull/301) - Typescript fixes
- [PR #300](https://github.com/pushandplay/cordova-plugin-apprate/pull/300) - Fix iPad device recognition on iOS 13+

@@ -7,0 +12,0 @@ - 1.7.1

2

package.json
{
"name": "cordova-plugin-apprate",
"version": "1.7.1",
"version": "1.7.2",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -319,3 +319,3 @@ # Cordova-Plugin-Apprate

### List of Translations
https://github.com/pushandplay/cordova-plugin-apprate/blob/master/www/locales.js
- [./www/locales.js](./www/locales.js)

@@ -322,0 +322,0 @@ # Credits

declare module 'cordova-plugin-apprate' {
type ReviewTypeAppStore = 'AppStoreReview';
type ReviewTypeInApp = 'InAppReview';
type ReviewTypeBrowser = 'InAppBrowser';
type PromptType = 'AppRatingPrompt' | 'StoreRatingPrompt' | 'FeedbackPrompt';

@@ -33,3 +33,3 @@ interface AppRatePreferences {

interface CallbackPreferences {
onButtonClicked?: (buttonIndex: number) => void;
onButtonClicked?: (buttonIndex: number, buttonLabel: string, promptType: PromptType) => void;
onRateDialogShow?: (rateCallback: (buttonIndex: number) => void) => void;

@@ -63,5 +63,4 @@ handleNegativeFeedback?: () => void;

interface LocaleOptions extends CustomLocale {
language: string
language: string;
}
}

@@ -43,3 +43,3 @@ /*

var IS_IOS = /(iPhone|iPod|iPad)/i.test(navigator.userAgent.toLowerCase());
var IS_IOS = /(iPhone|iPod|iPad)/i.test(navigator.userAgent.toLowerCase()) || (/Macintosh/.test(navigator.userAgent) && window.matchMedia('(any-pointer:coarse)').matches);
var IS_ANDROID = /Android/i.test(navigator.userAgent.toLowerCase());

@@ -227,3 +227,3 @@ var FLAG_NATIVE_CODE_SUPPORTED = IS_IOS || IS_ANDROID;

if (pref && typeof pref === 'object') {
for (let key in pref) {
for (var key in pref) {
if (pref.hasOwnProperty(key) && prefObj.hasOwnProperty(key)) {

@@ -230,0 +230,0 @@ if (typeof pref[key] === 'object' && key !== 'customLocale') {

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