simpletts
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "simpletts", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "A basic TTS manager", | ||
"main": "main.js", | ||
"main": "lib/main.js", | ||
"scripts": { | ||
"start": "node main.js", | ||
"test": "mocha tests/tests.js" | ||
"start": "node lib/main.js", | ||
"test": "gulp" | ||
}, | ||
@@ -23,4 +23,11 @@ "repository": { | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"homepage": "https://github.com/Psychopoulet/simpletts#readme" | ||
"devDependencies": { | ||
"gulp": "^3.9.0", | ||
"gulp-eslint": "^2.0.0", | ||
"gulp-exclude-gitignore": "^1.0.0", | ||
"gulp-mocha": "^2.0.0", | ||
"gulp-plumber": "^1.0.0" | ||
}, | ||
"homepage": "https://github.com/Psychopoulet/simpletts#readme", | ||
"engines" : { "node" : ">=4.0.0" } | ||
} |
@@ -6,11 +6,11 @@ | ||
const assert = require('assert'), | ||
SimpleTTS = require(require('path').join(__dirname, '..', 'main.js')); | ||
const assert = require("assert"), | ||
SimpleTTS = require(require("path").join(__dirname, "..", "lib", "main.js")); | ||
// tests | ||
describe('get system type', function() { | ||
describe("get system type", function() { | ||
it('should return a string', function() { | ||
assert.strictEqual('string', typeof SimpleTTS.getTTSSystem(), "TTS system not returned as a string"); | ||
it("should return a string", function() { | ||
assert.strictEqual("string", typeof SimpleTTS.getTTSSystem(), "TTS system not returned as a string"); | ||
}); | ||
@@ -20,5 +20,5 @@ | ||
describe('get voices', function() { | ||
describe("get voices", function() { | ||
it('should return a voices array', function(done) { | ||
it("should return a voices array", function(done) { | ||
@@ -34,5 +34,5 @@ SimpleTTS.getVoices().then(function(voices) { | ||
describe('read', function() { | ||
describe("read", function() { | ||
it('should play a text with options', function(done) { | ||
it("should play a text with options", function(done) { | ||
@@ -45,3 +45,3 @@ SimpleTTS.getVoices().then(function(voices) { | ||
it('should play a text without options', function(done) { | ||
it("should play a text without options", function(done) { | ||
SimpleTTS.read("ceci est un test").then(done).catch(done); | ||
@@ -48,0 +48,0 @@ }).timeout(4000); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
13534
9
220
5
2