Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update babel monorepo to ~7.20.0 #3810

Merged
merged 3 commits into from
Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
380 changes: 190 additions & 190 deletions e2e/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"type": "module",
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.19.6",
"@babel/core": "7.20.2",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-pipeline-operator": "7.18.9",
"@babel/preset-env": "7.19.4",
"@babel/preset-env": "7.20.2",
"@babel/preset-flow": "7.18.6",
"@cucumber/cucumber": "8.7.0",
"@types/chai-jest-snapshot": "1.3.6",
Expand Down
312 changes: 156 additions & 156 deletions packages/instrumenter/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/instrumenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
},
"homepage": "https://stryker-mutator.io",
"dependencies": {
"@babel/core": "~7.19.0",
"@babel/generator": "~7.19.0",
"@babel/parser": "~7.19.0",
"@babel/core": "~7.20.0",
"@babel/generator": "~7.20.0",
"@babel/parser": "~7.20.0",
"@babel/plugin-proposal-class-properties": "~7.18.0",
"@babel/plugin-proposal-decorators": "~7.19.0",
"@babel/plugin-proposal-decorators": "~7.20.0",
"@babel/plugin-proposal-private-methods": "~7.18.0",
"@babel/preset-typescript": "~7.18.0",
"@stryker-mutator/api": "6.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1823,17 +1823,17 @@ export class AppComponent {
"identifierName": undefined,
"start": Position {
"column": 0,
"index": 161,
"line": 8,
"index": 44,
"line": 3,
},
},
"range": Array [
161,
44,
215,
],
"source": null,
"specifiers": Array [],
"start": 161,
"start": 44,
"type": "ExportNamedDeclaration",
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,49 @@ exports[`instrumenter integration should be able to instrument an angular compon
"function stryNS_9fa48() {
var g = new Function(\\"return this\\")();
var ns = g.__stryker__ || (g.__stryker__ = {});

if (ns.activeMutant === undefined && g.process && g.process.env && g.process.env.__STRYKER_ACTIVE_MUTANT__) {
ns.activeMutant = g.process.env.__STRYKER_ACTIVE_MUTANT__;
}

function retrieveNS() {
return ns;
}

stryNS_9fa48 = retrieveNS;
return retrieveNS();
}

stryNS_9fa48();

function stryCov_9fa48() {
var ns = stryNS_9fa48();
var cov = ns.mutantCoverage || (ns.mutantCoverage = {
static: {},
perTest: {}
});

function cover() {
var c = cov.static;

if (ns.currentTestId) {
c = cov.perTest[ns.currentTestId] = cov.perTest[ns.currentTestId] || {};
}

var a = arguments;

for (var i = 0; i < a.length; i++) {
c[a[i]] = (c[a[i]] || 0) + 1;
}
}

stryCov_9fa48 = cover;
cover.apply(null, arguments);
}

function stryMutAct_9fa48(id) {
var ns = stryNS_9fa48();

function isActive(id) {
if (ns.activeMutant === id) {
if (ns.hitCount !== void 0 && ++ns.hitCount > ns.hitLimit) {
throw new Error('Stryker: Hit count limit reached (' + ns.hitCount + ')');
}

return true;
}

return false;
}

stryMutAct_9fa48 = isActive;
return isActive(id);
}

import { Component } from '@angular/core';
@Component({
selector: 'app-root',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,49 @@ exports[`instrumenter integration should not place disabled mutants 1`] = `
"function stryNS_9fa48() {
var g = new Function(\\"return this\\")();
var ns = g.__stryker__ || (g.__stryker__ = {});

if (ns.activeMutant === undefined && g.process && g.process.env && g.process.env.__STRYKER_ACTIVE_MUTANT__) {
ns.activeMutant = g.process.env.__STRYKER_ACTIVE_MUTANT__;
}

function retrieveNS() {
return ns;
}

stryNS_9fa48 = retrieveNS;
return retrieveNS();
}

stryNS_9fa48();

function stryCov_9fa48() {
var ns = stryNS_9fa48();
var cov = ns.mutantCoverage || (ns.mutantCoverage = {
static: {},
perTest: {}
});

function cover() {
var c = cov.static;

if (ns.currentTestId) {
c = cov.perTest[ns.currentTestId] = cov.perTest[ns.currentTestId] || {};
}

var a = arguments;

for (var i = 0; i < a.length; i++) {
c[a[i]] = (c[a[i]] || 0) + 1;
}
}

stryCov_9fa48 = cover;
cover.apply(null, arguments);
}

function stryMutAct_9fa48(id) {
var ns = stryNS_9fa48();

function isActive(id) {
if (ns.activeMutant === id) {
if (ns.hitCount !== void 0 && ++ns.hitCount > ns.hitLimit) {
throw new Error('Stryker: Hit count limit reached (' + ns.hitCount + ')');
}

return true;
}

return false;
}

stryMutAct_9fa48 = isActive;
return isActive(id);
}

function factorial(num) {
if (stryMutAct_9fa48(\\"0\\")) {
{}
Expand All @@ -71,16 +55,15 @@ function factorial(num) {
if (stryMutAct_9fa48(\\"3\\") ? typeof num === 'number' : stryMutAct_9fa48(\\"2\\") ? false : stryMutAct_9fa48(\\"1\\") ? true : (stryCov_9fa48(\\"1\\", \\"2\\", \\"3\\"), typeof num !== (stryMutAct_9fa48(\\"4\\") ? \\"\\" : (stryCov_9fa48(\\"4\\"), 'number')))) throw new Error(stryMutAct_9fa48(\\"5\\") ? \\"\\" : (stryCov_9fa48(\\"5\\"), \\"Input must be a number.\\"));
if (stryMutAct_9fa48(\\"9\\") ? num >= 0 : stryMutAct_9fa48(\\"8\\") ? num <= 0 : stryMutAct_9fa48(\\"7\\") ? false : stryMutAct_9fa48(\\"6\\") ? true : (stryCov_9fa48(\\"6\\", \\"7\\", \\"8\\", \\"9\\"), num < 0)) throw new Error(stryMutAct_9fa48(\\"10\\") ? \\"\\" : (stryCov_9fa48(\\"10\\"), \\"Input must not be negative.\\"));
var i = 2,
o = 1; // Stryker disable next-line BlockStatement: Infinite loop
o = 1;

// Stryker disable next-line BlockStatement: Infinite loop
while (stryMutAct_9fa48(\\"13\\") ? i > num : stryMutAct_9fa48(\\"12\\") ? i < num : stryMutAct_9fa48(\\"11\\") ? false : (stryCov_9fa48(\\"11\\", \\"12\\", \\"13\\"), i <= num)) {
// Stryker disable next-line UpdateOperator: Infinite loop
stryMutAct_9fa48(\\"15\\") ? o /= i++ : (stryCov_9fa48(\\"15\\"), o *= i++);
}

return o;
}
}

;"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,49 @@ exports[`instrumenter integration should not place excluded mutations 1`] = `
"function stryNS_9fa48() {
var g = new Function(\\"return this\\")();
var ns = g.__stryker__ || (g.__stryker__ = {});

if (ns.activeMutant === undefined && g.process && g.process.env && g.process.env.__STRYKER_ACTIVE_MUTANT__) {
ns.activeMutant = g.process.env.__STRYKER_ACTIVE_MUTANT__;
}

function retrieveNS() {
return ns;
}

stryNS_9fa48 = retrieveNS;
return retrieveNS();
}

stryNS_9fa48();

function stryCov_9fa48() {
var ns = stryNS_9fa48();
var cov = ns.mutantCoverage || (ns.mutantCoverage = {
static: {},
perTest: {}
});

function cover() {
var c = cov.static;

if (ns.currentTestId) {
c = cov.perTest[ns.currentTestId] = cov.perTest[ns.currentTestId] || {};
}

var a = arguments;

for (var i = 0; i < a.length; i++) {
c[a[i]] = (c[a[i]] || 0) + 1;
}
}

stryCov_9fa48 = cover;
cover.apply(null, arguments);
}

function stryMutAct_9fa48(id) {
var ns = stryNS_9fa48();

function isActive(id) {
if (ns.activeMutant === id) {
if (ns.hitCount !== void 0 && ++ns.hitCount > ns.hitLimit) {
throw new Error('Stryker: Hit count limit reached (' + ns.hitCount + ')');
}

return true;
}

return false;
}

stryMutAct_9fa48 = isActive;
return isActive(id);
}

function add(a, b) {
if (stryMutAct_9fa48(\\"0\\")) {
{}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`instrumenter integration type declarations should not produce mutants for flow-types 1`] = `
"declare module 'react-test-renderer' {// eslint-disable-next-line no-inner-declarations
"declare module 'react-test-renderer' {
// eslint-disable-next-line no-inner-declarations
}
declare type ReactTestRenderer = {
toJSON(): null | ReactTestRendererJSON,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,49 @@ exports[`instrumenter integration should be able to instrument functional chains
"function stryNS_9fa48() {
var g = new Function(\\"return this\\")();
var ns = g.__stryker__ || (g.__stryker__ = {});

if (ns.activeMutant === undefined && g.process && g.process.env && g.process.env.__STRYKER_ACTIVE_MUTANT__) {
ns.activeMutant = g.process.env.__STRYKER_ACTIVE_MUTANT__;
}

function retrieveNS() {
return ns;
}

stryNS_9fa48 = retrieveNS;
return retrieveNS();
}

stryNS_9fa48();

function stryCov_9fa48() {
var ns = stryNS_9fa48();
var cov = ns.mutantCoverage || (ns.mutantCoverage = {
static: {},
perTest: {}
});

function cover() {
var c = cov.static;

if (ns.currentTestId) {
c = cov.perTest[ns.currentTestId] = cov.perTest[ns.currentTestId] || {};
}

var a = arguments;

for (var i = 0; i < a.length; i++) {
c[a[i]] = (c[a[i]] || 0) + 1;
}
}

stryCov_9fa48 = cover;
cover.apply(null, arguments);
}

function stryMutAct_9fa48(id) {
var ns = stryNS_9fa48();

function isActive(id) {
if (ns.activeMutant === id) {
if (ns.hitCount !== void 0 && ++ns.hitCount > ns.hitLimit) {
throw new Error('Stryker: Hit count limit reached (' + ns.hitCount + ')');
}

return true;
}

return false;
}

stryMutAct_9fa48 = isActive;
return isActive(id);
}

stryMutAct_9fa48(\\"3\\") ? foo.bar?.trim?.() : stryMutAct_9fa48(\\"2\\") ? foo?.bar.trim?.() : stryMutAct_9fa48(\\"1\\") ? foo?.bar?.trim() : stryMutAct_9fa48(\\"0\\") ? foo?.bar : (stryCov_9fa48(\\"0\\", \\"1\\", \\"2\\", \\"3\\"), foo?.bar?.trim?.());
stryMutAct_9fa48(\\"5\\") ? baz.trim() : stryMutAct_9fa48(\\"4\\") ? baz : (stryCov_9fa48(\\"4\\", \\"5\\"), baz?.trim());
stryMutAct_9fa48(\\"7\\") ? qux.substring(3) : stryMutAct_9fa48(\\"6\\") ? qux.trim() : (stryCov_9fa48(\\"6\\", \\"7\\"), qux.trim().substring(3));
Expand Down
Loading