@capacitor-community/text-to-speech
Advanced tools
Comparing version 1.1.2 to 1.1.3-dev.690a781.1659193180
@@ -8,2 +8,5 @@ import { WebPlugin } from '@capacitor/core'; | ||
this.speechSynthesis = window.speechSynthesis; | ||
window.addEventListener('beforeunload', () => { | ||
this.stop(); | ||
}); | ||
} | ||
@@ -10,0 +13,0 @@ } |
@@ -17,2 +17,5 @@ 'use strict'; | ||
this.speechSynthesis = window.speechSynthesis; | ||
window.addEventListener('beforeunload', () => { | ||
this.stop(); | ||
}); | ||
} | ||
@@ -19,0 +22,0 @@ } |
@@ -14,2 +14,5 @@ var capacitorTextToSpeech = (function (exports, core) { | ||
this.speechSynthesis = window.speechSynthesis; | ||
window.addEventListener('beforeunload', () => { | ||
this.stop(); | ||
}); | ||
} | ||
@@ -108,3 +111,3 @@ } | ||
}({}, capacitorExports)); | ||
})({}, capacitorExports); | ||
//# sourceMappingURL=plugin.js.map |
{ | ||
"name": "@capacitor-community/text-to-speech", | ||
"version": "1.1.2", | ||
"version": "1.1.3-dev.690a781.1659193180", | ||
"description": "Capacitor plugin for synthesizing speech from text.", | ||
@@ -11,3 +11,3 @@ "main": "dist/plugin.cjs.js", | ||
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web", | ||
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..", | ||
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..", | ||
"verify:android": "cd android && ./gradlew clean build test && cd ..", | ||
@@ -30,21 +30,21 @@ "verify:web": "npm run build", | ||
"devDependencies": { | ||
"@capacitor/android": "3.4.0", | ||
"@capacitor/cli": "3.4.0", | ||
"@capacitor/core": "3.4.0", | ||
"@capacitor/docgen": "0.0.18", | ||
"@capacitor/ios": "3.4.0", | ||
"@capacitor/android": "4.0.1", | ||
"@capacitor/cli": "4.0.1", | ||
"@capacitor/core": "4.0.1", | ||
"@capacitor/docgen": "0.2.0", | ||
"@capacitor/ios": "4.0.1", | ||
"@ionic/eslint-config": "0.3.0", | ||
"@ionic/prettier-config": "1.0.1", | ||
"@ionic/swiftlint-config": "1.1.2", | ||
"eslint": "7.11.0", | ||
"prettier": "2.2.0", | ||
"prettier-plugin-java": "1.0.0", | ||
"eslint": "7.32.0", | ||
"prettier": "2.3.2", | ||
"prettier-plugin-java": "1.0.2", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.32.0", | ||
"standard-version": "9.1.0", | ||
"rollup": "2.77.2", | ||
"standard-version": "9.5.0", | ||
"swiftlint": "1.0.1", | ||
"typescript": "4.0.3" | ||
"typescript": "4.1.5" | ||
}, | ||
"peerDependencies": { | ||
"@capacitor/core": "^3.0.0" | ||
"@capacitor/core": "^4.0.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "files": [ |
@@ -63,3 +63,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> | ||
text: 'This is a sample text.', | ||
lang: 'en_US', | ||
lang: 'en-US', | ||
rate: 1.0, | ||
@@ -66,0 +66,0 @@ pitch: 1.0, |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77457
642
2