@capacitor-community/in-app-review
Advanced tools
Comparing version 6.0.0 to 7.0.0
import { registerPlugin } from '@capacitor/core'; | ||
const InAppReview = registerPlugin('InAppReview', { | ||
web: () => import('./web').then(m => new m.InAppReviewWeb()), | ||
web: () => import('./web').then((m) => new m.InAppReviewWeb()), | ||
}); | ||
@@ -5,0 +5,0 @@ export * from './definitions'; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var core = require('@capacitor/core'); | ||
const InAppReview = core.registerPlugin('InAppReview', { | ||
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.InAppReviewWeb()), | ||
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.InAppReviewWeb()), | ||
}); | ||
@@ -10,0 +8,0 @@ |
@@ -5,3 +5,3 @@ var capacitorInAppReview = (function (exports, core) { | ||
const InAppReview = core.registerPlugin('InAppReview', { | ||
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.InAppReviewWeb()), | ||
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.InAppReviewWeb()), | ||
}); | ||
@@ -22,4 +22,2 @@ | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
return exports; | ||
@@ -26,0 +24,0 @@ |
{ | ||
"name": "@capacitor-community/in-app-review", | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"description": "Lets you prompt users to submit app store ratings and reviews without leaving your app - using platform native dialogs.", | ||
@@ -38,28 +38,31 @@ "main": "dist/plugin.cjs.js", | ||
"eslint": "eslint . --ext ts", | ||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"", | ||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java", | ||
"swiftlint": "node-swiftlint", | ||
"docgen": "docgen --api InAppReviewPlugin --output-readme README.md --output-json dist/docs.json", | ||
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js", | ||
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs", | ||
"clean": "rimraf ./dist", | ||
"watch": "tsc --watch", | ||
"prepublishOnly": "npm run build" | ||
"prepublishOnly": "npm run build", | ||
"release": "standard-version" | ||
}, | ||
"devDependencies": { | ||
"@capacitor/android": "^6.0.0", | ||
"@capacitor/core": "^6.0.0", | ||
"@capacitor/docgen": "^0.2.2", | ||
"@capacitor/ios": "^6.0.0", | ||
"@ionic/eslint-config": "^0.3.0", | ||
"@ionic/prettier-config": "^1.0.1", | ||
"@ionic/swiftlint-config": "^1.1.2", | ||
"eslint": "^7.11.0", | ||
"prettier": "~2.3.0", | ||
"prettier-plugin-java": "~1.0.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.32.0", | ||
"swiftlint": "^1.0.1", | ||
"typescript": "~4.1.5" | ||
"@capacitor/android": "^7.0.0", | ||
"@capacitor/cli": "^7.0.0", | ||
"@capacitor/core": "^7.0.0", | ||
"@capacitor/docgen": "^0.3.0", | ||
"@capacitor/ios": "^7.0.0", | ||
"@ionic/eslint-config": "^0.4.0", | ||
"@ionic/prettier-config": "^4.0.0", | ||
"@ionic/swiftlint-config": "^2.0.0", | ||
"eslint": "^8.57.0", | ||
"prettier": "^3.4.2", | ||
"prettier-plugin-java": "^2.6.6", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.30.1", | ||
"standard-version": "9.5.0", | ||
"swiftlint": "^2.0.0", | ||
"typescript": "4.1.5" | ||
}, | ||
"peerDependencies": { | ||
"@capacitor/core": "^6.0.0" | ||
"@capacitor/core": ">=7.0.0" | ||
}, | ||
@@ -66,0 +69,0 @@ "prettier": "@ionic/prettier-config", |
@@ -19,3 +19,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
> | ||
> Please migrate for continued support and updates. | ||
> Please [migrate](https://github.com/capacitor-community/in-app-review/releases/tag/v6.0.0) for continued support and updates. | ||
@@ -82,2 +82,2 @@ ## Introduction | ||
</docgen-api> | ||
</docgen-api> |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
22397
82
16
171
1