diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml new file mode 100644 index 000000000..3e844d155 --- /dev/null +++ b/.github/workflows/snyk.yml @@ -0,0 +1,26 @@ +name: Snyk + +on: + schedule: + - cron: '0 10,12,14,16,18,20,22 * * *' + +jobs: + snyk: + runs-on: ubuntu-latest + if: github.repository != 'signalapp/Signal-Desktop' + + steps: + - run: lsb_release -a + - run: uname -a + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '12.13.0' + - run: npm install -g yarn@1.22.0 + - run: npm install -g snyk@1.316.1 + + - run: yarn install --frozen-lockfile + - run: snyk auth "$SNYK_TOKEN" + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + - run: snyk test --show-vulnerable-paths=all diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..26c8e3f10 --- /dev/null +++ b/.snyk @@ -0,0 +1,184 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +patch: + 'npm:moment:20170905': + - bunyan > moment: + patched: '2020-04-30T19:26:25.236Z' + 'npm:debug:20170905': + - websocket > debug: + patched: '2020-04-30T19:26:25.236Z' + - ref-array-napi > array-index > debug: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-traverse > debug: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-traverse > debug: + patched: '2020-04-30T19:26:25.236Z' + - zkgroup > ref-array-napi > array-index > debug: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-traverse > debug: + patched: '2020-04-30T19:26:25.236Z' + - array-index > debug: + patched: '2020-04-30T19:26:25.236Z' + SNYK-JS-LODASH-450202: + - babel-template > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-generator > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-generator > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-traverse > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-traverse > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-generator > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-traverse > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-traverse > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-traverse > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - lodash: + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/generator > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/generator > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/generator > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/generator > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-function-name > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/generator > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/generator > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@emotion/core > @emotion/css > babel-plugin-emotion > @babel/helper-module-imports > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - babel-generator > lodash: + patched: '2020-04-30T19:26:25.236Z' + SNYK-JS-LODASH-567746: + - babel-template > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-generator > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-generator > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-traverse > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-traverse > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-generator > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - babel-template > babel-traverse > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-traverse > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-traverse > lodash: + patched: '2020-04-30T19:26:25.236Z' + - istanbul-lib-instrument > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-04-30T19:26:25.236Z' + - lodash: + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/generator > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/generator > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/generator > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/generator > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-function-name > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/generator > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/generator > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@emotion/core > @emotion/css > babel-plugin-emotion > @babel/helper-module-imports > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash': + patched: '2020-04-30T19:26:25.236Z' + - babel-generator > lodash: + patched: '2020-04-30T19:26:25.236Z' diff --git a/package.json b/package.json index aabdb017e..3a9364576 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "main": "main.js", "scripts": { - "postinstall": "patch-package && electron-builder install-app-deps && rimraf node_modules/dtrace-provider", + "postinstall": "snyk protect && patch-package && electron-builder install-app-deps && rimraf node_modules/dtrace-provider", "start": "electron .", "grunt": "grunt", "generate": "yarn grunt", @@ -76,8 +76,6 @@ "copy-text-to-clipboard": "2.1.0", "curve25519-n": "https://github.com/scottnonnenberg-signal/node-curve25519.git#3e94f60bc54b2426476520d8d1a0aa835c25f5cc", "draft-js": "0.10.5", - "electron-mocha": "8.1.1", - "electron-notarize": "0.1.1", "emoji-datasource": "5.0.1", "emoji-datasource-apple": "5.0.1", "emoji-regex": "8.0.0", @@ -93,18 +91,18 @@ "he": "1.2.0", "history": "4.9.0", "intl-tel-input": "12.1.15", - "jquery": "3.4.1", + "jquery": "3.5.0", "js-yaml": "3.13.1", "linkify-it": "2.2.0", - "lodash": "4.17.13", + "lodash": "4.17.15", "memoizee": "0.4.14", - "mkdirp": "0.5.1", + "mkdirp": "0.5.2", "moment": "2.21.0", "mustache": "2.3.0", "node-fetch": "https://github.com/scottnonnenberg-signal/node-fetch.git#3e5f51e08c647ee5f20c43b15cf2d352d61c36b4", "node-gyp": "5.0.3", "normalize-path": "3.0.0", - "os-locale": "2.1.0", + "os-locale": "3.0.1", "p-map": "2.1.0", "p-queue": "6.2.1", "pify": "3.0.0", @@ -207,6 +205,8 @@ "dashdash": "1.14.1", "electron": "8.2.5", "electron-builder": "22.3.6", + "electron-mocha": "8.1.1", + "electron-notarize": "0.1.1", "eslint": "4.18.2", "eslint-config-airbnb-base": "12.1.0", "eslint-config-prettier": "2.9.0", @@ -236,6 +236,7 @@ "react-styleguidist": "7.0.1", "sass-loader": "7.2.0", "sinon": "4.4.2", + "snyk": "1.316.1", "spectron": "5.0.0", "style-loader": "1.0.0", "ts-loader": "4.1.0", diff --git a/patches/os-locale+2.1.0.patch b/patches/os-locale+3.0.1.patch similarity index 84% rename from patches/os-locale+2.1.0.patch rename to patches/os-locale+3.0.1.patch index 1cb2fb12a..4d1e14b7f 100644 --- a/patches/os-locale+2.1.0.patch +++ b/patches/os-locale+3.0.1.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/os-locale/index.js b/node_modules/os-locale/index.js -index 1ada7a4..1304aa1 100644 +index 6995b60..321e903 100644 --- a/node_modules/os-locale/index.js +++ b/node_modules/os-locale/index.js -@@ -25,11 +25,11 @@ function getLocale(str) { +@@ -25,11 +25,11 @@ function getLocale(string) { } function getAppleLocale() { @@ -39,8 +39,8 @@ index 1ada7a4..1304aa1 100644 } function getWinLocaleSync() { -- const stdout = execa.sync('wmic', ['os', 'get', 'locale']).stdout; -+ const stdout = execa.sync('wmic', ['os', 'get', 'locale'], { preferLocal: false }).stdout; +- const {stdout} = execa.sync('wmic', ['os', 'get', 'locale']); ++ const {stdout} = execa.sync('wmic', ['os', 'get', 'locale'], { preferLocal: false }); const lcidCode = parseInt(stdout.replace('Locale', ''), 16); return lcid.from(lcidCode); } diff --git a/ts/build/notarize.ts b/ts/build/notarize.ts index e475bf470..02df9d72d 100644 --- a/ts/build/notarize.ts +++ b/ts/build/notarize.ts @@ -3,6 +3,7 @@ import { readdir as readdirCallback } from 'fs'; import pify from 'pify'; +// tslint:disable-next-line no-implicit-dependencies import { notarize } from 'electron-notarize'; // @ts-ignore diff --git a/ts/util/lint/exceptions.json b/ts/util/lint/exceptions.json index e3c3c1abe..987a823aa 100644 --- a/ts/util/lint/exceptions.json +++ b/ts/util/lint/exceptions.json @@ -1199,46 +1199,6 @@ "reasonCategory": "usageTrusted", "updated": "2020-02-18T22:49:03.644Z" }, - { - "rule": "jQuery-load(", - "path": "node_modules/@electron/get/node_modules/debug/dist/debug.js", - "line": " createDebug.enable(createDebug.load());", - "lineNumber": 721, - "reasonCategory": "falseMatch", - "updated": "2020-02-18T22:49:03.644Z" - }, - { - "rule": "jQuery-load(", - "path": "node_modules/@electron/get/node_modules/debug/dist/debug.js", - "line": " function load() {", - "lineNumber": 855, - "reasonCategory": "falseMatch", - "updated": "2020-02-18T22:49:03.644Z" - }, - { - "rule": "jQuery-load(", - "path": "node_modules/@electron/get/node_modules/debug/src/browser.js", - "line": "function load() {", - "lineNumber": 211, - "reasonCategory": "falseMatch", - "updated": "2020-02-18T22:49:03.644Z" - }, - { - "rule": "jQuery-load(", - "path": "node_modules/@electron/get/node_modules/debug/src/common.js", - "line": "\tcreateDebug.enable(createDebug.load());", - "lineNumber": 261, - "reasonCategory": "falseMatch", - "updated": "2020-02-18T22:49:03.644Z" - }, - { - "rule": "jQuery-load(", - "path": "node_modules/@electron/get/node_modules/debug/src/node.js", - "line": "function load() {", - "lineNumber": 216, - "reasonCategory": "falseMatch", - "updated": "2020-02-18T22:49:03.644Z" - }, { "rule": "eval", "path": "node_modules/@protobufjs/inquire/index.js", @@ -1331,17 +1291,17 @@ "rule": "jQuery-load(", "path": "node_modules/array-index/node_modules/debug/src/node.js", "line": "function load() {", - "lineNumber": 154, + "lineNumber": 156, "reasonCategory": "falseMatch", - "updated": "2020-02-21T22:10:39.074Z" + "updated": "2020-04-30T20:57:04.499Z" }, { "rule": "jQuery-load(", "path": "node_modules/array-index/node_modules/debug/src/node.js", "line": "exports.enable(load());", - "lineNumber": 246, + "lineNumber": 248, "reasonCategory": "falseMatch", - "updated": "2020-02-21T22:10:39.074Z" + "updated": "2020-04-30T20:57:04.499Z" }, { "rule": "jQuery-insertBefore(", @@ -2514,14 +2474,6 @@ "reasonCategory": "falseMatch", "updated": "2018-09-15T00:38:04.183Z" }, - { - "rule": "jQuery-load(", - "path": "node_modules/configstore/node_modules/signal-exit/index.js", - "line": " load()", - "lineNumber": 36, - "reasonCategory": "falseMatch", - "updated": "2020-04-25T01:47:02.583Z" - }, { "rule": "jQuery-append(", "path": "node_modules/copy-text-to-clipboard/index.js", @@ -2530,240 +2482,6 @@ "reasonCategory": "falseMatch", "updated": "2019-12-11T01:10:06.091Z" }, - { - "rule": "jQuery-$(", - "path": "node_modules/create-react-context/node_modules/core-js/build/index.js", - "line": " if (name.indexOf(ns + \".\") === 0 && !in$(name, experimental)) {", - "lineNumber": 43, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-$(", - "path": "node_modules/create-react-context/node_modules/core-js/build/index.js", - "line": " function in$(x, xs){", - "lineNumber": 93, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/core.js", - "line": "\t return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", - "lineNumber": 1082, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/core.js", - "line": "\t symbolStatics[it] = useNative ? sym : wrap(sym);", - "lineNumber": 1135, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/core.js", - "line": "\t setTimeout: wrap(global.setTimeout),", - "lineNumber": 4496, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/library.js", - "line": "\t return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", - "lineNumber": 1033, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/library.js", - "line": "\t symbolStatics[it] = useNative ? sym : wrap(sym);", - "lineNumber": 1086, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/library.js", - "line": "\t setTimeout: wrap(global.setTimeout),", - "lineNumber": 4136, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/shim.js", - "line": "\t return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", - "lineNumber": 1068, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/shim.js", - "line": "\t symbolStatics[it] = useNative ? sym : wrap(sym);", - "lineNumber": 1121, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/client/shim.js", - "line": "\t setTimeout: wrap(global.setTimeout),", - "lineNumber": 4482, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/library/modules/es6.symbol.js", - "line": " return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", - "lineNumber": 142, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/library/modules/es6.symbol.js", - "line": " symbolStatics[it] = useNative ? sym : wrap(sym);", - "lineNumber": 195, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/library/modules/web.timers.js", - "line": " setTimeout: wrap(global.setTimeout),", - "lineNumber": 18, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/modules/es6.symbol.js", - "line": " return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", - "lineNumber": 142, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/modules/es6.symbol.js", - "line": " symbolStatics[it] = useNative ? sym : wrap(sym);", - "lineNumber": 195, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "jQuery-wrap(", - "path": "node_modules/create-react-context/node_modules/core-js/modules/web.timers.js", - "line": " setTimeout: wrap(global.setTimeout),", - "lineNumber": 18, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "fbjs-createNodesFromMarkup", - "path": "node_modules/create-react-context/node_modules/fbjs/lib/createNodesFromMarkup.js", - "line": "function createNodesFromMarkup(markup, handleScript) {", - "lineNumber": 51, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "fbjs-createNodesFromMarkup", - "path": "node_modules/create-react-context/node_modules/fbjs/lib/createNodesFromMarkup.js", - "line": " !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : void 0;", - "lineNumber": 53, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "DOM-innerHTML", - "path": "node_modules/create-react-context/node_modules/fbjs/lib/createNodesFromMarkup.js", - "line": " node.innerHTML = wrap[1] + markup + wrap[2];", - "lineNumber": 58, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "DOM-innerHTML", - "path": "node_modules/create-react-context/node_modules/fbjs/lib/createNodesFromMarkup.js", - "line": " node.innerHTML = markup;", - "lineNumber": 65, - "reasonCategory": "falseMatch", - "updated": "2020-01-06T20:40:04.973Z", - "reasonDetail": "" - }, - { - "rule": "fbjs-createNodesFromMarkup", - "path": "node_modules/create-react-context/node_modules/fbjs/lib/createNodesFromMarkup.js", - "line": " !handleScript ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup(...): Unexpected