@amazon-sumerian-hosts/core
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@amazon-sumerian-hosts/core", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "", | ||
@@ -23,3 +23,6 @@ "license": "MIT", | ||
"docs": "jsdoc -c jsdoc.conf.json" | ||
}, | ||
"dependencies": { | ||
"compare-versions": "^6.0.0-rc.1" | ||
} | ||
} |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: MIT-0 | ||
import {compareVersions} from 'compare-versions'; | ||
import AbstractHostFeature from '../AbstractHostFeature'; | ||
@@ -281,3 +282,3 @@ import AnimationUtils from '../animpack/AnimationUtils'; | ||
voice.SupportedEngines.includes('standard') || | ||
version >= minNeuralSdk | ||
compareVersions(version, minNeuralSdk) >= 0 | ||
) { | ||
@@ -374,3 +375,6 @@ availableVoices.push(voice); | ||
engine === undefined || | ||
this.constructor.AWS_VERSION < this.constructor.POLLY_MIN_NEURAL_VERSION | ||
compareVersions( | ||
this.constructor.AWS_VERSION, | ||
this.constructor.POLLY_MIN_NEURAL_VERSION | ||
) < 0 | ||
) { | ||
@@ -377,0 +381,0 @@ engine = this.constructor.POLLY_DEFAULTS.Engine; |
@@ -6,3 +6,3 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// This line gets replaced by Github actions to the SHA of the git commit | ||
const HOSTS_VERSION = 'v2.0.4'; | ||
const HOSTS_VERSION = 'v2.0.5'; | ||
@@ -9,0 +9,0 @@ /** |
Sorry, the diff of this file is too big to display
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
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
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
486707
11668
1
1
+ Addedcompare-versions@^6.0.0-rc.1
+ Addedcompare-versions@6.1.1(transitive)