Introduce snyk, update dependencies
This commit is contained in:
parent
7b358f1111
commit
721401bbeb
8 changed files with 2219 additions and 1203 deletions
26
.github/workflows/snyk.yml
vendored
Normal file
26
.github/workflows/snyk.yml
vendored
Normal file
|
@ -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
|
184
.snyk
Normal file
184
.snyk
Normal file
|
@ -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'
|
15
package.json
15
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",
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -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
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -79,13 +79,14 @@ const excludedFiles = [
|
|||
'^js/Mp3LameEncoder.min.js',
|
||||
|
||||
// Test files
|
||||
'^libtextsecure/test/*',
|
||||
'^test/*',
|
||||
'^libtextsecure/test/.+',
|
||||
'^test/.+',
|
||||
|
||||
// Modules we trust
|
||||
'^node_modules/core-js-pure/.+',
|
||||
'^node_modules/core-js/.+',
|
||||
'^node_modules/fbjs/.+',
|
||||
'^node_modules/lodash/.+',
|
||||
'^node_modules/react/.+',
|
||||
'^node_modules/react-contextmenu/.+',
|
||||
'^node_modules/react-dom/.+',
|
||||
|
@ -103,161 +104,173 @@ const excludedFiles = [
|
|||
'^node_modules/react-transition-group/.+',
|
||||
'^node_modules/react-virtualized/.+',
|
||||
'^node_modules/reactcss/.+',
|
||||
'^node_modules/snyk/.+',
|
||||
'^node_modules/snyk-resolve-deps/.+',
|
||||
'^node_modules/snyk-try-require/.+',
|
||||
'^node_modules/@snyk/.+',
|
||||
|
||||
// Submodules we trust
|
||||
'^node_modules/react-color/.+/(?:core-js|fbjs|lodash)/.+',
|
||||
|
||||
// Modules used only in test/development scenarios
|
||||
'^node_modules/@babel/*',
|
||||
'^node_modules/@svgr/*',
|
||||
'^node_modules/@types/*',
|
||||
'^node_modules/@webassemblyjs/*',
|
||||
'^node_modules/ajv/*',
|
||||
'^node_modules/amdefine/*',
|
||||
'^node_modules/ansi-colors/*',
|
||||
'^node_modules/anymatch/*',
|
||||
'^node_modules/app-builder-lib/*',
|
||||
'^node_modules/archiver/.+', // Used by spectron
|
||||
'^node_modules/@babel/.+',
|
||||
'^node_modules/@svgr/.+',
|
||||
'^node_modules/@types/.+',
|
||||
'^node_modules/@webassemblyjs/.+',
|
||||
'^node_modules/ajv/.+',
|
||||
'^node_modules/amdefine/.+',
|
||||
'^node_modules/ansi-colors/.+',
|
||||
'^node_modules/anymatch/.+',
|
||||
'^node_modules/app-builder-lib/.+',
|
||||
'^node_modules/archiver-utils/.+', // Used by spectron
|
||||
'^node_modules/asn1\\.js/*',
|
||||
'^node_modules/autoprefixer/*',
|
||||
'^node_modules/babel*',
|
||||
'^node_modules/bluebird/*',
|
||||
'^node_modules/body-parser/*',
|
||||
'^node_modules/bower/*',
|
||||
'^node_modules/buble/*',
|
||||
'^node_modules/builder-util/*',
|
||||
'^node_modules/builder-util-runtime/*',
|
||||
'^node_modules/chai/*',
|
||||
'^node_modules/catharsis/*',
|
||||
'^node_modules/clean-css/*',
|
||||
'^node_modules/cli-table2/*',
|
||||
'^node_modules/codemirror/*',
|
||||
'^node_modules/coffee-script/*',
|
||||
'^node_modules/compression/*',
|
||||
'^node_modules/cross-env/*',
|
||||
'^node_modules/css-loader/*',
|
||||
'^node_modules/css-modules-loader-core/*',
|
||||
'^node_modules/css-selector-tokenizer/*',
|
||||
'^node_modules/css-tree/*',
|
||||
'^node_modules/csso/*',
|
||||
'^node_modules/degenerator/*',
|
||||
'^node_modules/detect-port-alt/*',
|
||||
'^node_modules/electron-builder/*',
|
||||
'^node_modules/archiver/.+', // Used by spectron
|
||||
'^node_modules/asn1\\.js/.+',
|
||||
'^node_modules/autoprefixer/.+',
|
||||
'^node_modules/babel.+',
|
||||
'^node_modules/bluebird/.+',
|
||||
'^node_modules/body-parser/.+',
|
||||
'^node_modules/bower/.+',
|
||||
'^node_modules/buble/.+',
|
||||
'^node_modules/builder-util-runtime/.+',
|
||||
'^node_modules/builder-util/.+',
|
||||
'^node_modules/catharsis/.+',
|
||||
'^node_modules/chai/.+',
|
||||
'^node_modules/clean-css/.+',
|
||||
'^node_modules/cli-table2/.+',
|
||||
'^node_modules/codemirror/.+',
|
||||
'^node_modules/coffee-script/.+',
|
||||
'^node_modules/compression/.+',
|
||||
'^node_modules/cross-env/.+',
|
||||
'^node_modules/css-loader/.+',
|
||||
'^node_modules/css-modules-loader-core/.+',
|
||||
'^node_modules/css-selector-tokenizer/.+',
|
||||
'^node_modules/css-tree/.+',
|
||||
'^node_modules/csso/.+',
|
||||
'^node_modules/degenerator/.+',
|
||||
'^node_modules/detect-port-alt/.+',
|
||||
'^node_modules/electron-builder/.+',
|
||||
'^node_modules/electron-chromedriver/.+',
|
||||
'^node_modules/electron-icon-maker/.+',
|
||||
'^node_modules/electron-mocha/',
|
||||
'^node_modules/electron-icon-maker/*',
|
||||
'^node_modules/electron-osx-sign/*',
|
||||
'^node_modules/electron-publish/*',
|
||||
'^node_modules/emotion/*', // Currently only used in storybook
|
||||
'^node_modules/es-abstract/*',
|
||||
'^node_modules/es5-shim/*', // Currently only used in storybook
|
||||
'^node_modules/es6-shim/*', // Currently only used in storybook
|
||||
'^node_modules/escodegen/*',
|
||||
'^node_modules/eslint*',
|
||||
'^node_modules/esprima/*',
|
||||
'^node_modules/express/*',
|
||||
'^node_modules/file-loader/*',
|
||||
'^node_modules/file-system-cache/*', // Currently only used in storybook
|
||||
'^node_modules/finalhandler/*',
|
||||
'^node_modules/fsevents/*',
|
||||
'^node_modules/globule/*',
|
||||
'^node_modules/grunt/*',
|
||||
'^node_modules/handle-thing/*',
|
||||
'^node_modules/handlebars/*', // Used by nyc#istanbul-reports
|
||||
'^node_modules/har-validator/*',
|
||||
'^node_modules/highlight\\.js/*',
|
||||
'^node_modules/hpack\\.js/*',
|
||||
'^node_modules/http-proxy-middlewar/*',
|
||||
'^node_modules/icss-utils/*',
|
||||
'^node_modules/intl-tel-input/examples/*',
|
||||
'^node_modules/istanbul*',
|
||||
'^node_modules/jimp/*',
|
||||
'^node_modules/jquery/*',
|
||||
'^node_modules/jsdoc/*',
|
||||
'^node_modules/jss/*',
|
||||
'^node_modules/jss-global/*',
|
||||
'^node_modules/livereload-js/*',
|
||||
'^node_modules/lolex/*',
|
||||
'^node_modules/magic-string/*',
|
||||
'^node_modules/markdown-it/*',
|
||||
'^node_modules/mocha/*',
|
||||
'^node_modules/minimatch/*',
|
||||
'^node_modules/nise/*',
|
||||
'^node_modules/npm-run-all/*',
|
||||
'^node_modules/node-sass-import-once/*',
|
||||
'^node_modules/node-sass/*',
|
||||
'^node_modules/nsp/*',
|
||||
'^node_modules/nyc/*',
|
||||
'^node_modules/phantomjs-prebuilt/*',
|
||||
'^node_modules/postcss*',
|
||||
'^node_modules/preserve/*',
|
||||
'^node_modules/prettier/*',
|
||||
'^node_modules/protobufjs/cli/*',
|
||||
'^node_modules/prop-types/*',
|
||||
'^node_modules/ramda/*',
|
||||
'^node_modules/electron-osx-sign/.+',
|
||||
'^node_modules/electron-publish/.+',
|
||||
'^node_modules/emotion/.+', // Currently only used in storybook
|
||||
'^node_modules/es-abstract/.+',
|
||||
'^node_modules/es5-shim/.+', // Currently only used in storybook
|
||||
'^node_modules/es6-shim/.+', // Currently only used in storybook
|
||||
'^node_modules/escodegen/.+',
|
||||
'^node_modules/eslint.+',
|
||||
'^node_modules/esprima/.+',
|
||||
'^node_modules/express/.+',
|
||||
'^node_modules/file-loader/.+',
|
||||
'^node_modules/file-system-cache/.+', // Currently only used in storybook
|
||||
'^node_modules/finalhandler/.+',
|
||||
'^node_modules/fsevents/.+',
|
||||
'^node_modules/globule/.+',
|
||||
'^node_modules/grunt-cli/.+',
|
||||
'^node_modules/grunt-contrib-concat/.+',
|
||||
'^node_modules/grunt-contrib-watch/.+',
|
||||
'^node_modules/grunt-gitinfo/.+',
|
||||
'^node_modules/grunt-legacy-log-utils/.+',
|
||||
'^node_modules/grunt-legacy-log/.+',
|
||||
'^node_modules/grunt-legacy-util/.+',
|
||||
'^node_modules/grunt/.+',
|
||||
'^node_modules/handle-thing/.+',
|
||||
'^node_modules/handlebars/.+', // Used by nyc#istanbul-reports
|
||||
'^node_modules/har-validator/.+',
|
||||
'^node_modules/highlight\\.js/.+',
|
||||
'^node_modules/hpack\\.js/.+',
|
||||
'^node_modules/http-proxy-middlewar/.+',
|
||||
'^node_modules/icss-utils/.+',
|
||||
'^node_modules/intl-tel-input/examples/.+',
|
||||
'^node_modules/istanbul.+',
|
||||
'^node_modules/jimp/.+',
|
||||
'^node_modules/jquery/.+',
|
||||
'^node_modules/jsdoc/.+',
|
||||
'^node_modules/jss-global/.+',
|
||||
'^node_modules/jss/.+',
|
||||
'^node_modules/livereload-js/.+',
|
||||
'^node_modules/lolex/.+',
|
||||
'^node_modules/magic-string/.+',
|
||||
'^node_modules/markdown-it/.+',
|
||||
'^node_modules/minimatch/.+',
|
||||
'^node_modules/mocha/.+',
|
||||
'^node_modules/nise/.+',
|
||||
'^node_modules/node-sass-import-once/.+',
|
||||
'^node_modules/node-sass/.+',
|
||||
'^node_modules/npm-run-all/.+',
|
||||
'^node_modules/nsp/.+',
|
||||
'^node_modules/nyc/.+',
|
||||
'^node_modules/phantomjs-prebuilt/.+',
|
||||
'^node_modules/postcss.+',
|
||||
'^node_modules/preserve/.+',
|
||||
'^node_modules/prettier/.+',
|
||||
'^node_modules/prop-types/.+',
|
||||
'^node_modules/protobufjs/cli/.+',
|
||||
'^node_modules/ramda/.+',
|
||||
'^node_modules/react-dev-utils/.+',
|
||||
'^node_modules/react-docgen/*',
|
||||
'^node_modules/react-error-overlay/*',
|
||||
'^node_modules/read-pkg/*', // Used by npm-run-all
|
||||
'^node_modules/recast/*',
|
||||
'^node_modules/reduce-css-calc/*',
|
||||
'^node_modules/requizzle/*',
|
||||
'^node_modules/resolve/*',
|
||||
'^node_modules/sass-graph/*',
|
||||
'^node_modules/sass-loader/*',
|
||||
'^node_modules/scss-tokenizer/*',
|
||||
'^node_modules/send/*',
|
||||
'^node_modules/serve-index/*',
|
||||
'^node_modules/sinon/*',
|
||||
'^node_modules/snapdragon-util/*',
|
||||
'^node_modules/snapdragon/*',
|
||||
'^node_modules/sockjs-client/*',
|
||||
'^node_modules/spectron/*',
|
||||
'^node_modules/style-loader/*',
|
||||
'^node_modules/svgo/*',
|
||||
'^node_modules/terser/*',
|
||||
'^node_modules/testcheck/*',
|
||||
'^node_modules/text-encoding/*',
|
||||
'^node_modules/tiny-lr/*', // Used by grunt-contrib-watch
|
||||
'^node_modules/tinycolor2/*',
|
||||
'^node_modules/to-ast/*',
|
||||
'^node_modules/trough/*',
|
||||
'^node_modules/ts-loader/*',
|
||||
'^node_modules/ts-node/*',
|
||||
'^node_modules/tslint*',
|
||||
'^node_modules/tweetnacl/*',
|
||||
'^node_modules/typescript/*',
|
||||
'^node_modules/typed-scss-modules/*',
|
||||
'^node_modules/uglify-es/*',
|
||||
'^node_modules/uglify-js/*',
|
||||
'^node_modules/url-loader/*',
|
||||
'^node_modules/use/*',
|
||||
'^node_modules/vary/*',
|
||||
'^node_modules/vm-browserify/*',
|
||||
'^node_modules/webdriverio/*',
|
||||
'^node_modules/webpack/*',
|
||||
'^node_modules/xmlbuilder/*',
|
||||
'^node_modules/xmldom/*',
|
||||
'^node_modules/xml-parse-from-string/*',
|
||||
'^node_modules/react-docgen/.+',
|
||||
'^node_modules/react-error-overlay/.+',
|
||||
'^node_modules/read-pkg/.+', // Used by npm-run-all
|
||||
'^node_modules/recast/.+',
|
||||
'^node_modules/reduce-css-calc/.+',
|
||||
'^node_modules/requizzle/.+',
|
||||
'^node_modules/resolve/.+',
|
||||
'^node_modules/sass-graph/.+',
|
||||
'^node_modules/sass-loader/.+',
|
||||
'^node_modules/scss-tokenizer/.+',
|
||||
'^node_modules/send/.+',
|
||||
'^node_modules/serve-index/.+',
|
||||
'^node_modules/sinon/.+',
|
||||
'^node_modules/snapdragon-util/.+',
|
||||
'^node_modules/snapdragon/.+',
|
||||
'^node_modules/sockjs-client/.+',
|
||||
'^node_modules/spectron/.+',
|
||||
'^node_modules/style-loader/.+',
|
||||
'^node_modules/svgo/.+',
|
||||
'^node_modules/terser/.+',
|
||||
'^node_modules/testcheck/.+',
|
||||
'^node_modules/text-encoding/.+',
|
||||
'^node_modules/tiny-lr/.+', // Used by grunt-contrib-watch
|
||||
'^node_modules/tinycolor2/.+',
|
||||
'^node_modules/to-ast/.+',
|
||||
'^node_modules/trough/.+',
|
||||
'^node_modules/ts-loader/.+',
|
||||
'^node_modules/ts-node/.+',
|
||||
'^node_modules/tslint.+',
|
||||
'^node_modules/tweetnacl/.+',
|
||||
'^node_modules/typed-scss-modules/.+',
|
||||
'^node_modules/typescript/.+',
|
||||
'^node_modules/uglify-es/.+',
|
||||
'^node_modules/uglify-js/.+',
|
||||
'^node_modules/url-loader/.+',
|
||||
'^node_modules/use/.+',
|
||||
'^node_modules/vary/.+',
|
||||
'^node_modules/vm-browserify/.+',
|
||||
'^node_modules/webdriverio/.+',
|
||||
'^node_modules/webpack/.+',
|
||||
'^node_modules/xml-parse-from-string/.+',
|
||||
'^node_modules/xmlbuilder/.+',
|
||||
'^node_modules/xmldom/.+',
|
||||
'^node_modules/yargs-unparser/',
|
||||
'^node_modules/yargs/*',
|
||||
'^node_modules/yargs/.+',
|
||||
|
||||
// Used by Storybook
|
||||
'^node_modules/@emotion/*',
|
||||
'^node_modules/@storybook/*',
|
||||
'^node_modules/cosmiconfig/*',
|
||||
'^node_modules/create-emotion/*',
|
||||
'^node_modules/markdown-to-jsx/*',
|
||||
'^node_modules/mini-css-extract-plugin/*',
|
||||
'^node_modules/polished*',
|
||||
'^node_modules/prismjs/*',
|
||||
'^node_modules/@emotion/.+',
|
||||
'^node_modules/@storybook/.+',
|
||||
'^node_modules/cosmiconfig/.+',
|
||||
'^node_modules/create-emotion/.+',
|
||||
'^node_modules/markdown-to-jsx/.+',
|
||||
'^node_modules/mini-css-extract-plugin/.+',
|
||||
'^node_modules/polished.+',
|
||||
'^node_modules/prismjs/.+',
|
||||
'^node_modules/react-draggable/.+',
|
||||
'^node_modules/refractor/*',
|
||||
'^node_modules/regexpu-core/*',
|
||||
'^node_modules/shelljs/*',
|
||||
'^node_modules/simplebar/*',
|
||||
'^node_modules/store2/*',
|
||||
'^node_modules/telejson/*',
|
||||
'^node_modules/refractor/.+',
|
||||
'^node_modules/regexpu-core/.+',
|
||||
'^node_modules/shelljs/.+',
|
||||
'^node_modules/simplebar/.+',
|
||||
'^node_modules/store2/.+',
|
||||
'^node_modules/telejson/.+',
|
||||
|
||||
// Used by Styleguidist
|
||||
'^node_modules/cssnano/.+',
|
||||
|
@ -265,6 +278,7 @@ const excludedFiles = [
|
|||
'^node_modules/portfinder/.+',
|
||||
'^node_modules/react-group/.+',
|
||||
'^node_modules/react-styleguidist/.+',
|
||||
'^node_modules/react-docgen-displayname-handler/.+',
|
||||
|
||||
// Used by Webpack
|
||||
'^node_modules/css-select/.+', // Used by html-webpack-plugin
|
||||
|
|
Loading…
Reference in a new issue