Skip to content
Permalink
Browse files

Upgrade: Bump @types/sinon from 7.0.8 to 7.0.9

  • Loading branch information...
dependabot-bot authored and molant committed Mar 6, 2019
1 parent 4a14448 commit 84dfa26365305d3d595b6b4298fd1ec10c53e495
Showing with 53 additions and 54 deletions.
  1. +1 βˆ’1 packages/connector-chrome/package.json
  2. +2 βˆ’2 packages/connector-chrome/tests/collect.ts
  3. +2 βˆ’2 packages/connector-chrome/tests/events.ts
  4. +1 βˆ’1 packages/connector-chrome/tests/request-response.ts
  5. +1 βˆ’1 packages/connector-jsdom/package.json
  6. +2 βˆ’2 packages/connector-jsdom/tests/collect.ts
  7. +1 βˆ’1 packages/connector-jsdom/tests/request-response.ts
  8. +1 βˆ’1 packages/connector-local/package.json
  9. +1 βˆ’1 packages/create-hint/package.json
  10. +1 βˆ’1 packages/create-hintrc/package.json
  11. +1 βˆ’1 packages/create-hintrc/tests/create-hintrc.ts
  12. +1 βˆ’1 packages/create-parser/package.json
  13. +5 βˆ’5 packages/create-parser/tests/new-parser.ts
  14. +1 βˆ’1 packages/extension-browser/package.json
  15. +1 βˆ’1 packages/extension-vscode/package.json
  16. +1 βˆ’1 packages/formatter-codeframe/package.json
  17. +1 βˆ’1 packages/formatter-codeframe/tests/tests.ts
  18. +1 βˆ’1 packages/formatter-excel/package.json
  19. +1 βˆ’1 packages/formatter-excel/tests/tests.ts
  20. +1 βˆ’1 packages/formatter-html/package.json
  21. +1 βˆ’1 packages/formatter-json/package.json
  22. +1 βˆ’1 packages/formatter-json/tests/tests.ts
  23. +1 βˆ’1 packages/formatter-stylish/package.json
  24. +1 βˆ’1 packages/formatter-stylish/tests/tests.ts
  25. +1 βˆ’1 packages/formatter-summary/tests/tests.ts
  26. +1 βˆ’1 packages/hint/package.json
  27. +2 βˆ’2 packages/hint/tests/lib/cli/help.ts
  28. +2 βˆ’2 packages/hint/tests/lib/cli/version.ts
  29. +0 βˆ’1 packages/hint/tests/lib/utils/app-insights.ts
  30. +3 βˆ’3 packages/hint/tests/lib/utils/logging.ts
  31. +1 βˆ’1 packages/parser-babel-config/package.json
  32. +1 βˆ’1 packages/parser-css/package.json
  33. +1 βˆ’1 packages/parser-html/package.json
  34. +1 βˆ’1 packages/parser-javascript/package.json
  35. +1 βˆ’1 packages/parser-manifest/package.json
  36. +1 βˆ’1 packages/parser-package-json/package.json
  37. +1 βˆ’1 packages/parser-package-json/tests/tests.ts
  38. +1 βˆ’1 packages/parser-typescript-config/package.json
  39. +1 βˆ’1 packages/parser-webpack-config/package.json
  40. +4 βˆ’4 yarn.lock
@@ -18,7 +18,7 @@
"@types/is-ci": "^1.1.0",
"@types/lockfile": "^1.0.1",
"@types/lodash": "^4.14.122",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -17,8 +17,8 @@ const name: string = 'chrome';

type CollectContext = {
engine: Engine<Events>;
engineEmitSpy: sinon.SinonSpy;
engineEmitAsyncSpy: sinon.SinonSpy;
engineEmitSpy: sinon.SinonSpy<any, boolean>;
engineEmitAsyncSpy: sinon.SinonSpy<any, any>;
};

const test = anyTest as TestInterface<CollectContext>;
@@ -21,8 +21,8 @@ import ChromeConnector from '../src/connector';
type EventsContext = {
connector?: IConnector;
engine: Engine<Events>;
engineEmitSpy: sinon.SinonSpy;
engineEmitAsyncSpy: sinon.SinonSpy;
engineEmitSpy: sinon.SinonSpy<any, any>;
engineEmitAsyncSpy: sinon.SinonSpy<any, any>;
};

const test = anyTest as TestInterface<EventsContext>;
@@ -20,7 +20,7 @@ import ChromeConnector from '../src/connector';

const name: string = 'chrome';

const findEvent = (func: sinon.SinonSpy, eventName: string) => {
const findEvent = (func: sinon.SinonSpy<any, any>, eventName: string) => {
for (let i = 0; i < func.callCount; i++) {
const args = func.getCall(i).args;

@@ -18,7 +18,7 @@
"@hint/utils-create-server": "^3.0.0",
"@types/jsdom": "^12.2.3",
"@types/lodash": "^4.14.122",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -18,8 +18,8 @@ const name: string = 'jsdom';

type CollectContext = {
engine: Engine<Events>;
engineEmitSpy: sinon.SinonSpy;
engineEmitAsyncSpy: sinon.SinonSpy;
engineEmitSpy: sinon.SinonSpy<any, boolean>;
engineEmitAsyncSpy: sinon.SinonSpy<any, any>;
};

const test = anyTest as TestInterface<CollectContext>;
@@ -20,7 +20,7 @@ import { Engine } from 'hint';

const name: string = 'jsdom';

const findEvent = (func: sinon.SinonSpy, eventName: string) => {
const findEvent = (func: sinon.SinonSpy<any, any>, eventName: string) => {
for (let i = 0; i < func.callCount; i++) {
const args = func.getCall(i).args;

@@ -15,7 +15,7 @@
"@hint/parser-html": "^2.0.2",
"@types/chokidar": "^1.7.5",
"@types/mock-require": "^2.0.0",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -12,7 +12,7 @@
"description": "webhint's hint initializer package",
"devDependencies": {
"@types/node": "11.10.4",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -17,7 +17,7 @@
"devDependencies": {
"@types/inquirer": "^0.0.44",
"@types/node": "11.10.4",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -47,7 +47,7 @@ type StubUtilObject = {

type CreateHintRCContext = {
inquirer: Inquirer;
promisifyObjectPromisifyStub: sinon.SinonStub;
promisifyObjectPromisifyStub: sinon.SinonStub<any, any>;
resourceLoader: ResourceLoader;
sandbox: sinon.SinonSandbox;
stubBrowserslistObject: StubBrowserslistObject;
@@ -13,7 +13,7 @@
"devDependencies": {
"@types/inquirer": "^0.0.44",
"@types/node": "11.10.4",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -40,18 +40,18 @@ type HandlebarsUtils = {
type NewParserContext = {
sandbox: sinon.SinonSandbox;
fsExtra: FsExtra;
fsExtraCopyStub: sinon.SinonStub;
fsExtraCopyStub: sinon.SinonStub<[string, string], void>;
handlebarsUtils: HandlebarsUtils
handlebarsUtilsCompileTemplateStub: sinon.SinonStub;
handlebarsUtilsCompileTemplateStub: sinon.SinonStub<[string, any], Promise<string>>;
inquirer: Inquirer;
isOfficial: IsOfficial;
mkdirp: Mkdirp;
normalizeStringByDelimiter: NormalizeStringByDelimiter;
normalizeStringByDelimiterDefaultStub: sinon.SinonStub;
normalizeStringByDelimiterDefaultStub: sinon.SinonStub<[], string>;
readFileAsync: ReadFileAsync;
readFileAsyncDefaultStub: sinon.SinonStub;
readFileAsyncDefaultStub: sinon.SinonStub<[], Promise<string>>;
writeFileAsync: WriteFileAsync;
writeFileAsyncDefaultStub: sinon.SinonStub;
writeFileAsyncDefaultStub: sinon.SinonStub<[], void>;
};

const test = anyTest as TestInterface<NewParserContext>;
@@ -40,7 +40,7 @@
"@types/highlight.js": "^9.12.3",
"@types/is-ci": "^1.1.0",
"@types/puppeteer": "^1.12.1",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "1.4.2",
"applicationinsights-js": "^1.0.20",
@@ -22,7 +22,7 @@
},
"description": "Run webhint in Visual Studio Code.",
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -14,7 +14,7 @@
},
"devDependencies": {
"@types/log-symbols": "^2.0.0",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -11,7 +11,7 @@ type Logging = {

type CodeframeContext = {
logging: Logging;
loggingLogSpy: sinon.SinonSpy;
loggingLogSpy: sinon.SinonSpy<any, void>;
};

const test = anyTest as TestInterface<CodeframeContext>;
@@ -12,7 +12,7 @@
"lodash": "^4.17.11"
},
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -11,7 +11,7 @@ import ExcelFormatter from '../src/formatter';

type ExcelContext = {
ExcelFormatter: typeof ExcelFormatter;
spy: sinon.SinonSpy;
spy: sinon.SinonSpy<[], void>;
};

const test = anyTest as TestInterface<ExcelContext>;
@@ -18,7 +18,7 @@
"@types/fs-extra": "^5.0.5",
"@types/moment": "^2.13.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -11,7 +11,7 @@
"lodash": "^4.17.11"
},
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -12,7 +12,7 @@ type Logging = {

type JSONContext = {
logging: Logging;
loggingLogSpy: sinon.SinonSpy;
loggingLogSpy: sinon.SinonSpy<any, void>;
};

const test = anyTest as TestInterface<JSONContext>;
@@ -15,7 +15,7 @@
},
"devDependencies": {
"@types/log-symbols": "^2.0.0",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"@types/text-table": "^0.2.0",
"ava": "^1.3.1",
"cpx": "^1.5.0",
@@ -13,7 +13,7 @@ type Logging = {

type StylishContext = {
logging: Logging;
loggingLogSpy: sinon.SinonSpy;
loggingLogSpy: sinon.SinonSpy<any, void>;
};

const test = anyTest as TestInterface<StylishContext>;
@@ -13,7 +13,7 @@ type Logging = {

type SummaryContext = {
logging: Logging;
loggingLogSpy: sinon.SinonSpy;
loggingLogSpy: sinon.SinonSpy<any, void>;
};

const test = anyTest as TestInterface<SummaryContext>;
@@ -50,7 +50,7 @@
"@types/node": "11.10.4",
"@types/request": "^2.48.1",
"@types/semver": "^5.4.0",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"@types/strip-bom": "^3.0.0",
"@types/strip-json-comments": "^0.0.30",
"@types/update-notifier": "^2.5.0",
@@ -11,8 +11,8 @@ type Logger = {

type HelpContext = {
logger: Logger;
loggerLogSpy: sinon.SinonSpy;
loggerErrorSpy: sinon.SinonSpy;
loggerLogSpy: sinon.SinonSpy<[string], void>;
loggerErrorSpy: sinon.SinonSpy<[string], void>;
sandbox: sinon.SinonSandbox;
};

@@ -9,8 +9,8 @@ type Logger = {

type VersionContext = {
logger: Logger;
loggerLogSpy: sinon.SinonSpy;
loggerErrorSpy: sinon.SinonSpy;
loggerLogSpy: sinon.SinonSpy<[string], void>;
loggerErrorSpy: sinon.SinonSpy<[string], void>;
sandbox: sinon.SinonSandbox;
};

@@ -32,7 +32,6 @@ type AppInsightsContext = {
applicationinsights: ApplicationInsightsExtended;
applicationinsightsClient: ApplicationinsightsClient;
configStore: ConfigStore;
miscGetHintPcakgeStub: sinon.SinonStub;
sandbox: sinon.SinonSandbox;
};

@@ -4,9 +4,9 @@ import * as sinon from 'sinon';
import * as logging from '../../../src/lib/utils/logging';

type LoggingContext = {
consoleLogSpy: sinon.SinonSpy;
consoleErrorSpy: sinon.SinonSpy;
consoleWarnSpy: sinon.SinonSpy;
consoleLogSpy: sinon.SinonSpy<[any?, ...any[]], void>
consoleErrorSpy: sinon.SinonSpy<[any?, ...any[]], void>
consoleWarnSpy: sinon.SinonSpy<[any?, ...any[]], void>
};

const test = anyTest as TestInterface<LoggingContext>;
@@ -11,7 +11,7 @@
"lodash": "^4.17.11"
},
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -12,7 +12,7 @@
},
"description": "webhint parser needed to analyze CSS files",
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -12,7 +12,7 @@
"description": "webhint parser needed to analyze HTML files",
"devDependencies": {
"@types/jsdom": "^12.2.3",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -13,7 +13,7 @@
"description": "webhint parser needed to analyze JavaScript files",
"devDependencies": {
"@types/eslint": "^4.16.6",
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint-plugin-import": "^2.16.0",
@@ -8,7 +8,7 @@
},
"description": "webhint parser for web app manifest files",
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ajv": "^6.10.0",
"ava": "^1.3.1",
"cpx": "^1.5.0",
@@ -11,7 +11,7 @@
"lodash": "^4.17.11"
},
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -42,7 +42,7 @@ const mockContext = (sandbox: sinon.SinonSandbox) => {
wildcard: true
}) as Engine<PackageJsonEvents>;

const engineEmitAsyncSpy: sinon.SinonSpy = sandbox.spy(engine, 'emitAsync');
const engineEmitAsyncSpy: sinon.SinonSpy<any, any> = sandbox.spy(engine, 'emitAsync');

return { engine, engineEmitAsyncSpy };
};
@@ -11,7 +11,7 @@
"lodash": "^4.17.11"
},
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"ava": "^1.3.1",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
@@ -8,7 +8,7 @@
},
"description": "webhint parser needed to analyze webpack config files",
"devDependencies": {
"@types/sinon": "^7.0.8",
"@types/sinon": "^7.0.9",
"@types/webpack": "^4.4.25",
"ava": "^1.3.1",
"cpx": "^1.5.0",
@@ -879,10 +879,10 @@
"@types/glob" "*"
"@types/node" "*"

"@types/sinon@^7.0.8":
version "7.0.8"
resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-7.0.8.tgz#7bf01f2967d0d6d2cd84ce63e08696eb076e8dc0"
integrity sha512-v8HKmpYANbS3y0cWji16uk/CV9v2CqpI+wxeW7WVZPU2E8MAcvBYbCBpeukhaWPRHbTO3tu8m6vb2IXWCbEUOQ==
"@types/sinon@^7.0.9":
version "7.0.9"
resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-7.0.9.tgz#981593ea396a4fb1b69e3d8ba04de0a420fd4b16"
integrity sha512-PS102Fj4BAa9B8C0qLp677UiW9sdI+9ZhsD6GdPbcNKNdymyKKRJ1Bsc5Uk5pQV7jTtLozTQdxzgnQx+aH8Pvg==

"@types/strip-bom@^3.0.0":
version "3.0.0"

0 comments on commit 84dfa26

Please sign in to comment.
You can’t perform that action at this time.