Comparing version 3.4.0 to 3.4.1
@@ -41,2 +41,3 @@ 'use strict'; | ||
logger.warn(stripIndent(_templateObject, logSymbols.warning, files.join(' '))); | ||
logger.log(); | ||
@@ -43,0 +44,0 @@ }; |
'use strict'; | ||
var _templateObject = _taggedTemplateLiteral(['\n Search for an existing issue or open a GitHub issue at\n\n ', '\n '], ['\n Search for an existing issue or open a GitHub issue at\n\n ', '\n ']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n \nPlease reinstall Cypress by running: ', '\n '], ['\n \\nPlease reinstall Cypress by running: ', '\n ']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n\n Reasons this may happen:\n\n - node was installed as \'root\' or with \'sudo\'\n - the cypress npm package as \'root\' or with \'sudo\'\n\n Please check that you have the appropriate user permissions.\n '], ['\\n\n Reasons this may happen:\n\n - node was installed as \'root\' or with \'sudo\'\n - the cypress npm package as \'root\' or with \'sudo\'\n\n Please check that you have the appropriate user permissions.\n ']), | ||
_templateObject4 = _taggedTemplateLiteral(['\n\n We expected the binary to be installed here: ', '\n\n Reasons it may be missing:\n\n - You\'re caching \'node_modules\' but are not caching this path: ', '\n - You ran \'npm install\' at an earlier build step but did not persist: ', '\n\n Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.\n\n Alternatively, you can run \'cypress install\' to download the binary again.\n\n ', '\n '], ['\\n\n We expected the binary to be installed here: ', '\n\n Reasons it may be missing:\n\n - You\'re caching \'node_modules\' but are not caching this path: ', '\n - You ran \'npm install\' at an earlier build step but did not persist: ', '\n\n Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.\n\n Alternatively, you can run \'cypress install\' to download the binary again.\n\n ', '\n ']), | ||
_templateObject5 = _taggedTemplateLiteral(['\n There was a problem spawning Xvfb.\n\n This is likely a problem with your system, permissions, or installation of Xvfb.\n '], ['\n There was a problem spawning Xvfb.\n\n This is likely a problem with your system, permissions, or installation of Xvfb.\n ']), | ||
_templateObject6 = _taggedTemplateLiteral(['\n Install Xvfb and run Cypress again.\n\n Read our documentation on dependencies for more information:\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n '], ['\n Install Xvfb and run Cypress again.\n\n Read our documentation on dependencies for more information:\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n ']), | ||
_templateObject7 = _taggedTemplateLiteral(['\n This command failed with the following output:\n\n ', '\n\n '], ['\n This command failed with the following output:\n\n ', '\n\n ']), | ||
_templateObject8 = _taggedTemplateLiteral(['\n Cypress failed to start after spawning a new Xvfb server.\n\n The error logs we received were:\n\n ', '\n\n ', '\n\n ', '\n\n This is usually caused by a missing library or dependency.\n\n The error above should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n '], ['\n Cypress failed to start after spawning a new Xvfb server.\n\n The error logs we received were:\n\n ', '\n\n ', '\n\n ', '\n\n This is usually caused by a missing library or dependency.\n\n The error above should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n ']), | ||
_templateObject9 = _taggedTemplateLiteral(['\n This is usually caused by a missing library or dependency.\n\n The error below should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n '], ['\n This is usually caused by a missing library or dependency.\n\n The error below should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n ']), | ||
_templateObject10 = _taggedTemplateLiteral(['\n See discussion and possible solutions at\n ', '\n '], ['\n See discussion and possible solutions at\n ', '\n ']), | ||
_templateObject11 = _taggedTemplateLiteral(['\n Please search Cypress documentation for possible solutions:\n\n ', '\n\n Check if there is a GitHub issue describing this crash:\n\n ', '\n\n Consider opening a new issue.\n '], ['\n Please search Cypress documentation for possible solutions:\n\n ', '\n\n Check if there is a GitHub issue describing this crash:\n\n ', '\n\n Consider opening a new issue.\n ']), | ||
_templateObject12 = _taggedTemplateLiteral(['\n The environment variable CYPRESS_BINARY_VERSION has been renamed to CYPRESS_INSTALL_BINARY as of version ', '\n '], ['\n The environment variable CYPRESS_BINARY_VERSION has been renamed to CYPRESS_INSTALL_BINARY as of version ', '\n ']), | ||
_templateObject13 = _taggedTemplateLiteral(['\n You should set CYPRESS_INSTALL_BINARY instead.\n '], ['\n You should set CYPRESS_INSTALL_BINARY instead.\n ']), | ||
_templateObject14 = _taggedTemplateLiteral(['\n The environment variable CYPRESS_SKIP_BINARY_INSTALL has been removed as of version ', '\n '], ['\n The environment variable CYPRESS_SKIP_BINARY_INSTALL has been removed as of version ', '\n ']), | ||
_templateObject15 = _taggedTemplateLiteral(['\n To skip the binary install, set CYPRESS_INSTALL_BINARY=0\n '], ['\n To skip the binary install, set CYPRESS_INSTALL_BINARY=0\n ']), | ||
_templateObject16 = _taggedTemplateLiteral(['\n Platform: ', ' (', ')\n Cypress Version: ', '\n '], ['\n Platform: ', ' (', ')\n Cypress Version: ', '\n ']); | ||
var _templateObject = _taggedTemplateLiteral(['\n Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration\n\n Otherwise, please check network connectivity and try again:'], ['\n Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration\n\n Otherwise, please check network connectivity and try again:']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n Search for an existing issue or open a GitHub issue at\n\n ', '\n '], ['\n Search for an existing issue or open a GitHub issue at\n\n ', '\n ']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n \nPlease reinstall Cypress by running: ', '\n '], ['\n \\nPlease reinstall Cypress by running: ', '\n ']), | ||
_templateObject4 = _taggedTemplateLiteral(['\n\n Reasons this may happen:\n\n - node was installed as \'root\' or with \'sudo\'\n - the cypress npm package as \'root\' or with \'sudo\'\n\n Please check that you have the appropriate user permissions.\n '], ['\\n\n Reasons this may happen:\n\n - node was installed as \'root\' or with \'sudo\'\n - the cypress npm package as \'root\' or with \'sudo\'\n\n Please check that you have the appropriate user permissions.\n ']), | ||
_templateObject5 = _taggedTemplateLiteral(['\n\n We expected the binary to be installed here: ', '\n\n Reasons it may be missing:\n\n - You\'re caching \'node_modules\' but are not caching this path: ', '\n - You ran \'npm install\' at an earlier build step but did not persist: ', '\n\n Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.\n\n Alternatively, you can run \'cypress install\' to download the binary again.\n\n ', '\n '], ['\\n\n We expected the binary to be installed here: ', '\n\n Reasons it may be missing:\n\n - You\'re caching \'node_modules\' but are not caching this path: ', '\n - You ran \'npm install\' at an earlier build step but did not persist: ', '\n\n Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.\n\n Alternatively, you can run \'cypress install\' to download the binary again.\n\n ', '\n ']), | ||
_templateObject6 = _taggedTemplateLiteral(['\n There was a problem spawning Xvfb.\n\n This is likely a problem with your system, permissions, or installation of Xvfb.\n '], ['\n There was a problem spawning Xvfb.\n\n This is likely a problem with your system, permissions, or installation of Xvfb.\n ']), | ||
_templateObject7 = _taggedTemplateLiteral(['\n Install Xvfb and run Cypress again.\n\n Read our documentation on dependencies for more information:\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n '], ['\n Install Xvfb and run Cypress again.\n\n Read our documentation on dependencies for more information:\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n ']), | ||
_templateObject8 = _taggedTemplateLiteral(['\n This command failed with the following output:\n\n ', '\n\n '], ['\n This command failed with the following output:\n\n ', '\n\n ']), | ||
_templateObject9 = _taggedTemplateLiteral(['\n Cypress failed to start after spawning a new Xvfb server.\n\n The error logs we received were:\n\n ', '\n\n ', '\n\n ', '\n\n This is usually caused by a missing library or dependency.\n\n The error above should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n '], ['\n Cypress failed to start after spawning a new Xvfb server.\n\n The error logs we received were:\n\n ', '\n\n ', '\n\n ', '\n\n This is usually caused by a missing library or dependency.\n\n The error above should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n ']), | ||
_templateObject10 = _taggedTemplateLiteral(['\n This is usually caused by a missing library or dependency.\n\n The error below should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n '], ['\n This is usually caused by a missing library or dependency.\n\n The error below should indicate which dependency is missing.\n\n ', '\n\n If you are using Docker, we provide containers with all required dependencies installed.\n ']), | ||
_templateObject11 = _taggedTemplateLiteral(['\n See discussion and possible solutions at\n ', '\n '], ['\n See discussion and possible solutions at\n ', '\n ']), | ||
_templateObject12 = _taggedTemplateLiteral(['\n Please search Cypress documentation for possible solutions:\n\n ', '\n\n Check if there is a GitHub issue describing this crash:\n\n ', '\n\n Consider opening a new issue.\n '], ['\n Please search Cypress documentation for possible solutions:\n\n ', '\n\n Check if there is a GitHub issue describing this crash:\n\n ', '\n\n Consider opening a new issue.\n ']), | ||
_templateObject13 = _taggedTemplateLiteral(['\n The environment variable CYPRESS_BINARY_VERSION has been renamed to CYPRESS_INSTALL_BINARY as of version ', '\n '], ['\n The environment variable CYPRESS_BINARY_VERSION has been renamed to CYPRESS_INSTALL_BINARY as of version ', '\n ']), | ||
_templateObject14 = _taggedTemplateLiteral(['\n You should set CYPRESS_INSTALL_BINARY instead.\n '], ['\n You should set CYPRESS_INSTALL_BINARY instead.\n ']), | ||
_templateObject15 = _taggedTemplateLiteral(['\n The environment variable CYPRESS_SKIP_BINARY_INSTALL has been removed as of version ', '\n '], ['\n The environment variable CYPRESS_SKIP_BINARY_INSTALL has been removed as of version ', '\n ']), | ||
_templateObject16 = _taggedTemplateLiteral(['\n To skip the binary install, set CYPRESS_INSTALL_BINARY=0\n '], ['\n To skip the binary install, set CYPRESS_INSTALL_BINARY=0\n ']), | ||
_templateObject17 = _taggedTemplateLiteral(['\n Platform: ', ' (', ')\n Cypress Version: ', '\n '], ['\n Platform: ', ' (', ')\n Cypress Version: ', '\n ']); | ||
@@ -49,3 +50,3 @@ function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } | ||
description: 'The Cypress App could not be downloaded.', | ||
solution: 'Please check network connectivity and try again:' | ||
solution: stripIndent(_templateObject) | ||
}; | ||
@@ -55,3 +56,3 @@ | ||
description: 'The Cypress App could not be unzipped.', | ||
solution: stripIndent(_templateObject, chalk.blue(util.issuesUrl)) | ||
solution: stripIndent(_templateObject2, chalk.blue(util.issuesUrl)) | ||
}; | ||
@@ -62,3 +63,3 @@ | ||
description: 'No version of Cypress is installed in: ' + chalk.cyan(binaryDir), | ||
solution: stripIndent(_templateObject2, chalk.cyan('cypress install')) | ||
solution: stripIndent(_templateObject3, chalk.cyan('cypress install')) | ||
}; | ||
@@ -70,3 +71,3 @@ }; | ||
description: 'Cypress cannot run because this binary file does not have executable permissions here:\n\n' + executable, | ||
solution: stripIndent(_templateObject3) | ||
solution: stripIndent(_templateObject4) | ||
}; | ||
@@ -78,3 +79,3 @@ }; | ||
description: 'The cypress npm package is installed, but the Cypress binary is missing.', | ||
solution: stripIndent(_templateObject4, chalk.cyan(executable), util.getCacheDir(), util.getCacheDir(), chalk.blue('https://on.cypress.io/not-installed-ci-error')) | ||
solution: stripIndent(_templateObject5, chalk.cyan(executable), util.getCacheDir(), util.getCacheDir(), chalk.blue('https://on.cypress.io/not-installed-ci-error')) | ||
}; | ||
@@ -85,3 +86,3 @@ }; | ||
description: 'Xvfb exited with a non zero exit code.', | ||
solution: stripIndent(_templateObject5) | ||
solution: stripIndent(_templateObject6) | ||
}; | ||
@@ -91,3 +92,3 @@ | ||
description: 'Your system is missing the dependency: Xvfb', | ||
solution: stripIndent(_templateObject6, chalk.blue(requiredDependenciesUrl)) | ||
solution: stripIndent(_templateObject7, chalk.blue(requiredDependenciesUrl)) | ||
}; | ||
@@ -98,3 +99,3 @@ | ||
description: 'Cypress verification ' + (timedOut ? 'timed out' : 'failed') + '.', | ||
solution: stripIndent(_templateObject7, smokeTestCommand) | ||
solution: stripIndent(_templateObject8, smokeTestCommand) | ||
}; | ||
@@ -107,3 +108,3 @@ }; | ||
solution: function solution(msg) { | ||
return stripIndent(_templateObject8, hr, msg, hr, chalk.blue(requiredDependenciesUrl)); | ||
return stripIndent(_templateObject9, hr, msg, hr, chalk.blue(requiredDependenciesUrl)); | ||
} | ||
@@ -115,3 +116,3 @@ }; | ||
// this message is too Linux specific | ||
solution: stripIndent(_templateObject9, chalk.blue(requiredDependenciesUrl)) | ||
solution: stripIndent(_templateObject10, chalk.blue(requiredDependenciesUrl)) | ||
}; | ||
@@ -121,3 +122,3 @@ | ||
description: 'Cypress cannot write to the cache directory due to file permissions', | ||
solution: stripIndent(_templateObject10, chalk.blue(util.getGitHubIssueUrl(1281))) | ||
solution: stripIndent(_templateObject11, chalk.blue(util.getGitHubIssueUrl(1281))) | ||
}; | ||
@@ -132,3 +133,3 @@ | ||
description: 'An unexpected error occurred while verifying the Cypress executable.', | ||
solution: stripIndent(_templateObject11, chalk.blue(docsUrl), chalk.blue(util.issuesUrl)) | ||
solution: stripIndent(_templateObject12, chalk.blue(docsUrl), chalk.blue(util.issuesUrl)) | ||
}; | ||
@@ -138,8 +139,8 @@ | ||
CYPRESS_BINARY_VERSION: { | ||
description: stripIndent(_templateObject12, chalk.green('3.0.0')), | ||
solution: stripIndent(_templateObject13) | ||
description: stripIndent(_templateObject13, chalk.green('3.0.0')), | ||
solution: stripIndent(_templateObject14) | ||
}, | ||
CYPRESS_SKIP_BINARY_INSTALL: { | ||
description: stripIndent(_templateObject14, chalk.green('3.0.0')), | ||
solution: stripIndent(_templateObject15) | ||
description: stripIndent(_templateObject15, chalk.green('3.0.0')), | ||
solution: stripIndent(_templateObject16) | ||
} | ||
@@ -161,3 +162,3 @@ }; | ||
return util.getOsVersionAsync().then(function (version) { | ||
return stripIndent(_templateObject16, os.platform(), version, util.pkgVersion()); | ||
return stripIndent(_templateObject17, os.platform(), version, util.pkgVersion()); | ||
}); | ||
@@ -164,0 +165,0 @@ } |
@@ -77,2 +77,4 @@ 'use strict'; | ||
// always push cwd into the args | ||
// which additionally acts as a signal to the | ||
// binary that it was invoked through the NPM module | ||
args = [].concat(args, '--cwd', process.cwd()); | ||
@@ -79,0 +81,0 @@ |
'use strict'; | ||
var _arguments = arguments; | ||
var _templateObject = _taggedTemplateLiteral(['\n URL: ', '\n ', '\n '], ['\n URL: ', '\n ', '\n ']), | ||
@@ -36,2 +34,6 @@ _templateObject2 = _taggedTemplateLiteral(['\n Corrupted download\n\n Expected downloaded file to have checksum: ', '\n Computed checksum: ', '\n\n Expected downloaded file to have size: ', '\n Computed size: ', '\n '], ['\n Corrupted download\n\n Expected downloaded file to have checksum: ', '\n Computed checksum: ', '\n\n Expected downloaded file to have size: ', '\n Computed size: ', '\n ']), | ||
var getProxyUrl = function getProxyUrl() { | ||
return process.env.HTTPS_PROXY || process.env.https_proxy || process.env.npm_config_https_proxy || process.env.HTTP_PROXY || process.env.http_proxy || process.env.npm_config_proxy || null; | ||
}; | ||
var getRealOsArch = function getRealOsArch() { | ||
@@ -169,5 +171,10 @@ // os.arch() returns the arch for which this node was compiled | ||
return new Promise(function (resolve, reject) { | ||
debug('Downloading from', url); | ||
debug('Saving file to', downloadDestination); | ||
var proxy = getProxyUrl(); | ||
debug('Downloading package', { | ||
url: url, | ||
proxy: proxy, | ||
downloadDestination: downloadDestination | ||
}); | ||
var redirectVersion = void 0; | ||
@@ -177,2 +184,3 @@ | ||
url: url, | ||
proxy: proxy, | ||
followRedirect: function followRedirect(response) { | ||
@@ -207,2 +215,3 @@ var version = response.headers['x-version']; | ||
expectedSize = response.headers['x-amz-meta-size'] || response.headers['content-length']; | ||
expectedChecksum = response.headers['x-amz-meta-checksum']; | ||
@@ -261,9 +270,10 @@ | ||
*/ | ||
var start = function start(_ref2) { | ||
var version = _ref2.version, | ||
downloadDestination = _ref2.downloadDestination, | ||
progress = _ref2.progress; | ||
var start = function start(opts) { | ||
var version = opts.version, | ||
downloadDestination = opts.downloadDestination, | ||
progress = opts.progress; | ||
if (!downloadDestination) { | ||
la(is.unemptyString(downloadDestination), 'missing download dir', _arguments); | ||
la(is.unemptyString(downloadDestination), 'missing download dir', opts); | ||
} | ||
@@ -295,3 +305,4 @@ | ||
start: start, | ||
getUrl: getUrl | ||
getUrl: getUrl, | ||
getProxyUrl: getProxyUrl | ||
}; |
@@ -157,2 +157,3 @@ 'use strict'; | ||
logger.log(stripIndent(_templateObject3, chalk.yellow('Note:'))); | ||
logger.log(); | ||
@@ -176,2 +177,3 @@ | ||
logger.log(stripIndent(_templateObject4, chalk.yellow('Note:'), chalk.cyan(envCache))); | ||
logger.log(); | ||
@@ -200,2 +202,3 @@ } | ||
logger.log(stripIndent(_templateObject6, chalk.green(binaryVersion), chalk.cyan(installDir))); | ||
logger.log(); | ||
@@ -227,2 +230,3 @@ | ||
logger.log(chalk.yellow(stripIndent(_templateObject7, logSymbols.warning, chalk.green(pkgVersion), chalk.green(needVersion)))); | ||
logger.log(); | ||
@@ -229,0 +233,0 @@ } |
@@ -33,2 +33,4 @@ 'use strict'; | ||
var VERIFY_TEST_RUNNER_TIMEOUT_MS = 30000; | ||
var checkExecutable = function checkExecutable(binaryDir) { | ||
@@ -102,2 +104,3 @@ var executable = state.getPathToExecutable(binaryDir); | ||
debug('smoke test command:', smokeTestCommand); | ||
debug('smoke test timeout %d ms', options.smokeTestTimeout); | ||
@@ -229,3 +232,3 @@ var env = _.extend({}, process.env, { | ||
welcomeMessage: true, | ||
smokeTestTimeout: 10000 | ||
smokeTestTimeout: VERIFY_TEST_RUNNER_TIMEOUT_MS | ||
}); | ||
@@ -242,2 +245,3 @@ | ||
logger.log(stripIndent(_templateObject3, chalk.yellow('Note:'), chalk.white('CYPRESS_RUN_BINARY='), chalk.cyan(envBinaryPath))); | ||
logger.log(); | ||
@@ -307,3 +311,4 @@ | ||
module.exports = { | ||
start: start | ||
start: start, | ||
VERIFY_TEST_RUNNER_TIMEOUT_MS: VERIFY_TEST_RUNNER_TIMEOUT_MS | ||
}; |
@@ -112,2 +112,3 @@ 'use strict'; | ||
logger.warn(stripIndent(_templateObject, logSymbols.warning, process.env.DISPLAY)); | ||
logger.warn(); | ||
@@ -114,0 +115,0 @@ }; |
{ | ||
"name": "cypress", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"main": "index.js", | ||
"bin": { | ||
"cypress": "bin/cypress" | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
"scripts": { | ||
@@ -15,3 +9,2 @@ "postinstall": "node index.js --exec install", | ||
}, | ||
"types": "types", | ||
"dependencies": { | ||
@@ -33,3 +26,2 @@ "@cypress/listr-verbose-renderer": "0.4.1", | ||
"getos": "3.1.1", | ||
"glob": "7.1.3", | ||
"is-ci": "1.2.1", | ||
@@ -39,3 +31,3 @@ "is-installed-globally": "0.1.0", | ||
"listr": "0.12.0", | ||
"lodash": "4.17.11", | ||
"lodash": "4.17.15", | ||
"log-symbols": "2.2.0", | ||
@@ -58,2 +50,9 @@ "minimist": "1.2.0", | ||
], | ||
"bin": { | ||
"cypress": "bin/cypress" | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
"types": "types", | ||
"description": "Cypress.io end to end testing tool", | ||
@@ -71,16 +70,16 @@ "author": "Brian Mann", | ||
"keywords": [ | ||
"automation", | ||
"browser", | ||
"cypress", | ||
"cypress.io", | ||
"automation", | ||
"e2e", | ||
"end-to-end", | ||
"e2e", | ||
"integration", | ||
"mocks", | ||
"test", | ||
"testing", | ||
"runner", | ||
"spies", | ||
"stubs" | ||
"stubs", | ||
"test", | ||
"testing" | ||
] | ||
} |
// Shim definition to export a namespace. Cypress is actually a global module | ||
// so import/export isn't allowed there. We import here and define a global module | ||
/// <reference path="./chai/index.d.ts" /> | ||
export = Chai | ||
export as namespace Chai | ||
declare namespace Chai { | ||
type ChaiStatic = typeof chai | ||
type ExpectStatic = typeof chai.expect | ||
type AssertStatic = typeof chai.assert | ||
interface Include { | ||
html(html: string): Assertion | ||
text(text: string): Assertion | ||
value(text: string): Assertion | ||
} | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for mocha (http://mochajs.org/). | ||
This package contains type definitions for mocha ( https://mochajs.org ). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha | ||
Additional Details | ||
* Last updated: Thu, 26 Oct 2017 18:02:22 GMT | ||
* Last updated: Thu, 30 May 2019 18:05:34 GMT | ||
* Dependencies: none | ||
* Global values: Mocha, after, afterEach, before, beforeEach, context, describe, it, mocha, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, test, xdescribe, xit | ||
* Global values: Mocha, after, afterEach, before, beforeEach, context, describe, it, mocha, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, test, xcontext, xdescribe, xit, xspecify | ||
# Credits | ||
These definitions were written by Kazi Manzur Rashid <https://github.com/kazimanzurrashid>, otiai10 <https://github.com/otiai10>, jt000 <https://github.com/jt000>, Vadim Macagon <https://github.com/enlight>. | ||
These definitions were written by Kazi Manzur Rashid <https://github.com/kazimanzurrashid>, otiai10 <https://github.com/otiai10>, jt000 <https://github.com/jt000>, Vadim Macagon <https://github.com/enlight>, Andrew Bradley <https://github.com/cspotcode>, Dmitrii Sorin <https://github.com/1999>. |
Sorry, the diff of this file is too big to display
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances 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
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
2185731
30
766
48345
2
25
+ Addedglob@7.2.3(transitive)
+ Addedlodash@4.17.15(transitive)
- Removedglob@7.1.3
- Removedglob@7.1.3(transitive)
- Removedlodash@4.17.11(transitive)
Updatedlodash@4.17.15