diff --git a/.prettierignore b/.prettierignore index 0b44d051ede..756580e1987 100644 --- a/.prettierignore +++ b/.prettierignore @@ -16,8 +16,10 @@ ts/**/*.js ts/protobuf/*.d.ts ts/protobuf/*.js stylesheets/manifest.css +ts/util/lint/exceptions.json # Third-party files +node_modules/** components/** js/Mp3LameEncoder.min.js js/WebAudioRecorderMp3.js diff --git a/.travis.yml b/.travis.yml index 5505ea5acbf..9e6d8d33565 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ install: script: - yarn generate - yarn lint + - yarn lint-deps - yarn test-node - yarn nsp check - yarn prepare-beta-build diff --git a/Gruntfile.js b/Gruntfile.js index 417bac70eb1..77815ff8670 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,6 +7,7 @@ const spectron = require('spectron'); const asar = require('asar'); const fs = require('fs'); const assert = require('assert'); +const sass = require('node-sass'); /* eslint-disable more/no-then, no-console */ @@ -98,6 +99,7 @@ module.exports = grunt => { }, sass: { options: { + implementation: sass, sourceMap: true, importer: importOnce, }, diff --git a/appveyor.yml b/appveyor.yml index 99b82513d6e..07f0a970eed 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,6 +14,7 @@ install: build_script: - yarn generate - yarn lint-windows + - yarn lint-deps - yarn test-node - yarn nsp check - node build\grunt.js diff --git a/package.json b/package.json index b19f021c72b..53899090e24 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "eslint": "eslint .", "lint": "yarn format --list-different && yarn lint-windows", "lint-windows": "yarn eslint && yarn tslint", + "lint-deps": "node ts/util/lint/linter.js", "tslint": "tslint --format stylish --project .", "format": "prettier --write \"*.{css,js,json,md,scss,ts,tsx}\" \"./**/*.{css,js,json,md,scss,ts,tsx}\"", "transpile": "tsc", @@ -73,9 +74,11 @@ "moment": "^2.21.0", "mustache": "^2.3.0", "node-fetch": "https://github.com/scottnonnenberg-signal/node-fetch.git#3e5f51e08c647ee5f20c43b15cf2d352d61c36b4", + "node-gyp": "^3.8.0", + "node-sass": "^4.9.3", "os-locale": "^2.1.0", "pify": "^3.0.0", - "protobufjs": "^6.8.6", + "protobufjs": "~6.8.6", "proxy-agent": "^2.1.0", "react": "^16.2.0", "react-contextmenu": "^2.9.2", @@ -126,7 +129,7 @@ "grunt-contrib-watch": "^1.0.0", "grunt-exec": "^3.0.0", "grunt-gitinfo": "^0.1.7", - "grunt-sass": "^2.0.0", + "grunt-sass": "^3.0.1", "mocha": "^4.1.0", "mocha-testcheck": "^1.0.0-rc.0", "node-sass-import-once": "^1.2.0", diff --git a/ts/util/lint/analyze_exceptions.ts b/ts/util/lint/analyze_exceptions.ts new file mode 100644 index 00000000000..4ee1b73cc60 --- /dev/null +++ b/ts/util/lint/analyze_exceptions.ts @@ -0,0 +1,29 @@ +// tslint:disable no-console + +import { join } from 'path'; + +import { fromPairs, groupBy, map } from 'lodash'; + +import { ExceptionType } from './types'; +import { loadJSON } from './util'; + +const exceptionsPath = join(__dirname, 'exceptions.json'); +const exceptions: Array = loadJSON(exceptionsPath); +const byRule = groupBy(exceptions, 'rule'); + +const byRuleThenByCategory = fromPairs( + map(byRule, (list, ruleName) => { + const byCategory = groupBy(list, 'reasonCategory'); + + return [ + ruleName, + fromPairs( + map(byCategory, (innerList, categoryName) => { + return [categoryName, innerList.length]; + }) + ), + ]; + }) +); + +console.log(JSON.stringify(byRuleThenByCategory, null, ' ')); diff --git a/ts/util/lint/exceptions.json b/ts/util/lint/exceptions.json new file mode 100644 index 00000000000..dd88a0134d8 --- /dev/null +++ b/ts/util/lint/exceptions.json @@ -0,0 +1,6715 @@ +[ + { + "rule": "jQuery-load(", + "path": "app/locale.js", + "line": "function load({ appLocale, logger } = {}) {", + "lineNumber": 27, + "reasonCategory": "falseMatch", + "updated": "2018-09-13T21:20:44.234Z" + }, + { + "rule": "jQuery-before(", + "path": "components/indexeddb-backbonejs-adapter/backbone-indexeddb.js", + "lineNumber": 157, + "reasonCategory": "falseMatch", + "updated": "2018-09-13T21:24:40.667Z" + }, + { + "rule": "jQuery-after(", + "path": "components/indexeddb-backbonejs-adapter/backbone-indexeddb.js", + "lineNumber": 166, + "reasonCategory": "falseMatch", + "updated": "2018-09-13T21:24:40.667Z" + }, + { + "rule": "jQuery-load(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "lineNumber": 72, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:16:19.197Z" + }, + { + "rule": "jQuery-globalEval(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " globalEval(read(f));", + "lineNumber": 73, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Part of system for loading dependencies" + }, + { + "rule": "jQuery-globalEval(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": "function globalEval(x) {", + "lineNumber": 167, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Part of system for loading dependencies" + }, + { + "rule": "jQuery-load(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "lineNumber": 171, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:16:19.197Z" + }, + { + "rule": "jQuery-globalEval(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " globalEval(Module['read'](f));", + "lineNumber": 172, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Part of system for loading dependencies" + }, + { + "rule": "eval", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " func = eval('_' + ident); // explicit lookup", + "lineNumber": 367, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Part of runtime library for C++ transpiled code" + }, + { + "rule": "eval", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " return eval(funcstr);", + "lineNumber": 493, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Part of a set of functions to implement C calls" + }, + { + "rule": "jQuery-append(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " bb.append((new Uint8Array(byteArray)).buffer); // we need to pass a buffer, and must copy the array to get the right data range", + "lineNumber": 4532, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " canvasContainer.parentNode.insertBefore(canvas, canvasContainer);", + "lineNumber": 4734, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-insertBefore(", + "path": "components/mp3lameencoder/lib/Mp3LameEncoder.js", + "line": " canvas.parentNode.insertBefore(canvasContainer, canvas);", + "lineNumber": 4753, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "DOM-innerHTML", + "path": "components/qrcode/qrcode.js", + "line": "\t\t\t_el.innerHTML = aHTML.join('');", + "lineNumber": 254, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Very limited in what HTML can be injected - dark/light options specify colors for the light/dark parts of QRCode" + }, + { + "rule": "DOM-innerHTML", + "path": "components/qrcode/qrcode.js", + "line": "\t\t\tthis._el.innerHTML = '';", + "lineNumber": 270, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Hard-coded string" + }, + { + "rule": "jQuery-$(", + "path": "js/about_start.js", + "line": "$('.version').text(`v${window.getVersion()}`);", + "lineNumber": 4, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/about_start.js", + "line": "$('.environment').text(states.join(' - '));", + "lineNumber": 16, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/about_start.js", + "line": "$(document).on('keyup', e => {", + "lineNumber": 19, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/about_start.js", + "line": "$('.privacy').text(window.i18n('privacyPolicy'));", + "lineNumber": 28, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/background.js", + "line": " if ($('.dark-overlay').length) {", + "lineNumber": 253, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/background.js", + "line": " $(document.body).prepend('
');", + "lineNumber": 256, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prepend(", + "path": "js/background.js", + "line": " $(document.body).prepend('
');", + "lineNumber": 256, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Hard-coded value" + }, + { + "rule": "jQuery-$(", + "path": "js/background.js", + "line": " $('.dark-overlay').on('click', () => $('.dark-overlay').remove());", + "lineNumber": 257, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/background.js", + "line": " removeDarkOverlay: () => $('.dark-overlay').remove(),", + "lineNumber": 259, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/background.js", + "line": " $('body').append(clearDataView.el);", + "lineNumber": 262, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/background.js", + "line": " $('body').append(clearDataView.el);", + "lineNumber": 262, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-load(", + "path": "js/background.js", + "lineNumber": 470, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:16:19.197Z" + }, + { + "rule": "jQuery-$(", + "path": "js/background.js", + "line": " el: $('body'),", + "lineNumber": 524, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-load(", + "path": "js/conversation_controller.js", + "lineNumber": 187, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:16:19.197Z" + }, + { + "rule": "jQuery-load(", + "path": "js/conversation_controller.js", + "lineNumber": 211, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:16:19.197Z" + }, + { + "rule": "jQuery-$(", + "path": "js/debug_log_start.js", + "line": "$(document).on('keyup', e => {", + "lineNumber": 4, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/debug_log_start.js", + "line": "const $body = $(document.body);", + "lineNumber": 12, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/debug_log_start.js", + "line": "window.view.$el.appendTo($body);", + "lineNumber": 19, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-wrap(", + "path": "js/models/conversations.js", + "line": " const identityKey = dcodeIO.ByteBuffer.wrap(", + "lineNumber": 1162, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "js/models/conversations.js", + "line": " const data = dcodeIO.ByteBuffer.wrap(", + "lineNumber": 1224, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "js/models/conversations.js", + "line": " const name = dcodeIO.ByteBuffer.wrap(decrypted).toString('utf8');", + "lineNumber": 1234, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "js/modules/backup.js", + "line": " data: dcodeIO.ByteBuffer.wrap(val).toString('base64'),", + "lineNumber": 51, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "js/modules/backup.js", + "line": " object[key] = dcodeIO.ByteBuffer.wrap(val.data, 'base64').toArrayBuffer();", + "lineNumber": 73, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "js/modules/debuglogs.js", + "line": " form.append('key', fields.key);", + "lineNumber": 48, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "js/modules/debuglogs.js", + "line": " form.append(key, value);", + "lineNumber": 52, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "js/modules/debuglogs.js", + "line": " form.append('Content-Type', contentType);", + "lineNumber": 57, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "js/permissions_popup_start.js", + "line": "$(document).on('keyup', e => {", + "lineNumber": 3, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/permissions_popup_start.js", + "line": "const $body = $(document.body);", + "lineNumber": 11, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/permissions_popup_start.js", + "line": "window.view.$el.appendTo($body);", + "lineNumber": 26, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/settings_start.js", + "line": "$(document).on('keyup', e => {", + "lineNumber": 3, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/settings_start.js", + "line": "const $body = $(document.body);", + "lineNumber": 11, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/settings_start.js", + "line": " window.view.$el.appendTo($body);", + "lineNumber": 40, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-load(", + "path": "js/signal_protocol_store.js", + "line": " await ConversationController.load();", + "lineNumber": 966, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-wrap(", + "path": "js/util_worker_tasks.js", + "line": " return dcodeIO.ByteBuffer.wrap(string, 'base64').toArrayBuffer();", + "lineNumber": 40, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "js/util_worker_tasks.js", + "line": " return dcodeIO.ByteBuffer.wrap(arrayBuffer).toString('base64');", + "lineNumber": 43, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "DOM-innerHTML", + "path": "js/views/app_view.js", + "line": " this.el.innerHTML = '';", + "lineNumber": 43, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Hard-coded string" + }, + { + "rule": "jQuery-append(", + "path": "js/views/app_view.js", + "line": " this.el.append(view.el);", + "lineNumber": 44, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/app_view.js", + "line": " this.debugLogView.$el.appendTo(this.el);", + "lineNumber": 50, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/attachment_view.js", + "line": " const $el = $('');", + "lineNumber": 53, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/attachment_view.js", + "line": " this.$el.append($el);", + "lineNumber": 55, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/attachment_view.js", + "line": " this.view.$el.appendTo(this.$el);", + "lineNumber": 198, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/attachment_view.js", + "line": " this.fileView.$el.appendTo(this.$el.empty());", + "lineNumber": 221, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/confirmation_dialog_view.js", + "line": " this.$('.cancel').focus();", + "lineNumber": 55, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/contact_list_view.js", + "line": " this.$el.append(this.contactView.el);", + "lineNumber": 47, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_list_item_view.js", + "line": " this.$el.append(this.childView.el);", + "lineNumber": 46, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_list_view.js", + "line": " const $el = this.$(`.${conversation.cid}`);", + "lineNumber": 13, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_list_view.js", + "line": " const $allConversations = this.$('.conversation-list-item');", + "lineNumber": 30, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prepend(", + "path": "js/views/conversation_list_view.js", + "line": " this.$el.prepend($el);", + "lineNumber": 46, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_list_view.js", + "line": " this.$el.append($el);", + "lineNumber": 48, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_list_view.js", + "line": " const target = this.$(`.${targetConversation.cid}`);", + "lineNumber": 51, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertAfter(", + "path": "js/views/conversation_list_view.js", + "line": " $el.insertAfter(target);", + "lineNumber": 52, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_list_view.js", + "line": " if ($('.selected').length) {", + "lineNumber": 55, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_list_view.js", + "line": " const $el = this.$(`.${conversation.cid}`);", + "lineNumber": 62, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_search_view.js", + "line": " this.$new_contact = this.$('.new-contact');", + "lineNumber": 42, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_search_view.js", + "line": " this.$el.append(this.typeahead_view.el);", + "lineNumber": 59, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_search_view.js", + "line": " this.new_contact_view.$('.number').text(i18n('invalidNumberError'));", + "lineNumber": 111, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertAfter(", + "path": "js/views/conversation_search_view.js", + "line": " this.hintView.$el.insertAfter(this.$input);", + "lineNumber": 163, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " template: $('#conversation').html(),", + "lineNumber": 70, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-html(", + "path": "js/views/conversation_view.js", + "line": " template: $('#conversation').html(),", + "lineNumber": 70, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Getting the value, not setting it" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.loadingScreen.$el.prependTo(this.$('.discussion-container'));", + "lineNumber": 139, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prependTo(", + "path": "js/views/conversation_view.js", + "line": " this.loadingScreen.$el.prependTo(this.$('.discussion-container'));", + "lineNumber": 139, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " el: this.$('form.send'),", + "lineNumber": 143, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.conversation-header').append(this.titleView.el);", + "lineNumber": 203, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_view.js", + "line": " this.$('.conversation-header').append(this.titleView.el);", + "lineNumber": 203, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.discussion-container').append(this.view.el);", + "lineNumber": 209, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_view.js", + "line": " this.$('.discussion-container').append(this.view.el);", + "lineNumber": 209, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$messageField = this.$('.send-message');", + "lineNumber": 212, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.send-message').focus(this.focusBottomBar.bind(this));", + "lineNumber": 230, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$emojiPanelContainer = this.$('.emoji-panel-container');", + "lineNumber": 233, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " const container = this.$('.discussion-container');", + "lineNumber": 418, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_view.js", + "line": " container.append(this.banner.el);", + "lineNumber": 419, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.send-message').val().length > 0 ||", + "lineNumber": 428, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.capture-audio').hide();", + "lineNumber": 431, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.capture-audio').show();", + "lineNumber": 433, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " if (this.$('.send-message').val().length > 2000) {", + "lineNumber": 437, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.android-length-warning').hide();", + "lineNumber": 440, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " view.$el.appendTo(this.$('.capture-audio'));", + "lineNumber": 460, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/conversation_view.js", + "line": " view.$el.appendTo(this.$('.capture-audio'));", + "lineNumber": 460, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.send-message').attr('disabled', true);", + "lineNumber": 462, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.bottom-bar form').submit();", + "lineNumber": 469, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.send-message').removeAttr('disabled');", + "lineNumber": 472, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.bottom-bar form').removeClass('active');", + "lineNumber": 478, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.bottom-bar form').addClass('active');", + "lineNumber": 481, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " const container = this.$('.discussion-container');", + "lineNumber": 568, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/conversation_view.js", + "line": " container.append(this.scrollDownButton.el);", + "lineNumber": 569, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/conversation_view.js", + "line": " toast.$el.appendTo(this.$el);", + "lineNumber": 596, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/conversation_view.js", + "line": " toast.$el.appendTo(this.$el);", + "lineNumber": 629, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/conversation_view.js", + "line": " toast.$el.appendTo(this.$el);", + "lineNumber": 633, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " const el = this.$(`#${databaseId}`);", + "lineNumber": 640, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/conversation_view.js", + "line": " toast.$el.appendTo(this.$el);", + "lineNumber": 643, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " lastSeenEl.insertBefore(this.$(`#${oldestUnread.get('id')}`));", + "lineNumber": 805, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertBefore(", + "path": "js/views/conversation_view.js", + "line": " lastSeenEl.insertBefore(this.$(`#${oldestUnread.get('id')}`));", + "lineNumber": 805, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.bar-container').show();", + "lineNumber": 860, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.bar-container').hide();", + "lineNumber": 872, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " const el = this.$(`#${message.id}`);", + "lineNumber": 969, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prepend(", + "path": "js/views/conversation_view.js", + "line": " this.$el.prepend(dialog.el);", + "lineNumber": 1042, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-prepend(", + "path": "js/views/conversation_view.js", + "line": " this.$el.prepend(dialog.el);", + "lineNumber": 1086, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " view.$el.insertBefore(this.$('.panel').first());", + "lineNumber": 1182, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertBefore(", + "path": "js/views/conversation_view.js", + "line": " view.$el.insertBefore(this.$('.panel').first());", + "lineNumber": 1182, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-prepend(", + "path": "js/views/conversation_view.js", + "line": " this.$el.prepend(dialog.el);", + "lineNumber": 1260, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.send').prepend(this.quoteView.el);", + "lineNumber": 1429, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prepend(", + "path": "js/views/conversation_view.js", + "line": " this.$('.send').prepend(this.quoteView.el);", + "lineNumber": 1429, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-appendTo(", + "path": "js/views/conversation_view.js", + "line": " toast.$el.appendTo(this.$el);", + "lineNumber": 1452, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.bottom-bar form').submit();", + "lineNumber": 1498, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " const $attachmentPreviews = this.$('.attachment-previews');", + "lineNumber": 1507, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/conversation_view.js", + "line": " this.$('.panel').css('display') === 'none'", + "lineNumber": 1538, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " this.$('textarea').val(i18n('loading'));", + "lineNumber": 27, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " this.$('textarea').val(text);", + "lineNumber": 31, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " const text = this.$('textarea').val();", + "lineNumber": 50, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " this.$('.buttons, textarea').remove();", + "lineNumber": 55, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " el: this.$('.result'),", + "lineNumber": 62, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " this.$('.loading').removeClass('loading');", + "lineNumber": 64, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " this.$('.link')", + "lineNumber": 66, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/debug_log_view.js", + "line": " this.$('.loading').removeClass('loading');", + "lineNumber": 74, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/file_input_view.js", + "line": " this.$input = this.$('input[type=file]');", + "lineNumber": 41, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/file_input_view.js", + "line": " this.$('.avatar').hide();", + "lineNumber": 84, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/file_input_view.js", + "line": " this.$('.attachment-previews').append(this.thumb.render().el);", + "lineNumber": 86, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/file_input_view.js", + "line": " this.$('.attachment-previews').append(this.thumb.render().el);", + "lineNumber": 86, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/file_input_view.js", + "line": " this.thumb.$('img')[0].onload = () => {", + "lineNumber": 94, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/file_input_view.js", + "line": " this.thumb.$('img')[0].onerror = () => {", + "lineNumber": 97, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertAfter(", + "path": "js/views/file_input_view.js", + "line": " toast.$el.insertAfter(this.$el);", + "lineNumber": 104, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-insertAfter(", + "path": "js/views/file_input_view.js", + "line": " toast.$el.insertAfter(this.$el);", + "lineNumber": 264, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/file_input_view.js", + "line": " this.$('.avatar').show();", + "lineNumber": 367, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-wrap(", + "path": "js/views/file_input_view.js", + "line": " .wrap('
')", + "lineNumber": 377, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Hard-coded value" + }, + { + "rule": "jQuery-$(", + "path": "js/views/group_member_list_view.js", + "line": " this.$('.container').append(this.member_list_view.el);", + "lineNumber": 27, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/group_member_list_view.js", + "line": " this.$('.container').append(this.member_list_view.el);", + "lineNumber": 27, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-html(", + "path": "js/views/identicon_svg_view.js", + "line": " const html = this.render().$el.html();", + "lineNumber": 19, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Getting the value, not setting it" + }, + { + "rule": "jQuery-load(", + "path": "js/views/import_view.js", + "line": " return ConversationController.load()", + "lineNumber": 179, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " let $el = this.$(`#${id}`);", + "lineNumber": 24, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prependTo(", + "path": "js/views/inbox_view.js", + "line": " $el.prependTo(this.el);", + "lineNumber": 33, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " this.$('.message').text(message);", + "lineNumber": 77, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " el: this.$('.conversation-stack'),", + "lineNumber": 97, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-prependTo(", + "path": "js/views/inbox_view.js", + "line": " this.appLoadingScreen.$el.prependTo(this.el);", + "lineNumber": 104, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " el: this.$('.inbox'),", + "lineNumber": 118, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " el: this.$('.search-results'),", + "lineNumber": 134, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " input: this.$('input.search'),", + "lineNumber": 135, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/inbox_view.js", + "line": " .append(this.networkStatusView.render().el);", + "lineNumber": 153, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-prependTo(", + "path": "js/views/inbox_view.js", + "line": " banner.$el.prependTo(this.$el);", + "lineNumber": 161, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " if (e && this.$(e.target).closest('.placeholder').length) {", + "lineNumber": 219, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " this.$('#header, .gutter').addClass('inactive');", + "lineNumber": 223, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " this.$('.conversation-stack').addClass('inactive');", + "lineNumber": 227, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " this.$('.conversation:first .menu').trigger('close');", + "lineNumber": 229, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " const input = this.$('input.search');", + "lineNumber": 236, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " if (e && this.$(e.target).closest('.capture-audio').length > 0) {", + "lineNumber": 260, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/inbox_view.js", + "line": " this.$('.conversation:first .recorder').trigger('close');", + "lineNumber": 263, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$('#qr img').remove();", + "lineNumber": 133, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$('#qr .container').show();", + "lineNumber": 135, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " if ($('#qr').length === 0) {", + "lineNumber": 139, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$('#qr .container').hide();", + "lineNumber": 144, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.qr = new QRCode(this.$('#qr')[0]).makeCode(url);", + "lineNumber": 145, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$('#qr').addClass('ready');", + "lineNumber": 147, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$(DEVICE_NAME_SELECTOR).val(deviceName || window.getHostName());", + "lineNumber": 152, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$('#link-phone').submit();", + "lineNumber": 157, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$('#link-phone').submit(e => {", + "lineNumber": 167, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " let name = this.$(DEVICE_NAME_SELECTOR).val();", + "lineNumber": 171, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/install_view.js", + "line": " this.$(DEVICE_NAME_SELECTOR).focus();", + "lineNumber": 174, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/key_verification_view.js", + "line": " new QRCode(this.$('.qr')[0]).makeCode(", + "lineNumber": 36, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-wrap(", + "path": "js/views/key_verification_view.js", + "line": " dcodeIO.ByteBuffer.wrap(this.ourKey).toString('base64')", + "lineNumber": 37, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "js/views/key_verification_view.js", + "line": " dialog.$el.insertBefore(this.el);", + "lineNumber": 72, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/key_verification_view.js", + "line": " this.$('button.verify').attr('disabled', true);", + "lineNumber": 76, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/key_verification_view.js", + "line": " this.$('button.verify').removeAttr('disabled');", + "lineNumber": 107, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/list_view.js", + "line": " this.$el.append(view.render().el);", + "lineNumber": 27, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-html(", + "path": "js/views/list_view.js", + "line": " this.$el.html('');", + "lineNumber": 33, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Hard-coded value" + }, + { + "rule": "jQuery-append(", + "path": "js/views/message_list_view.js", + "line": " this.$el.append(view.el);", + "lineNumber": 81, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-prepend(", + "path": "js/views/message_list_view.js", + "line": " this.$el.prepend(view.el);", + "lineNumber": 84, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/message_list_view.js", + "line": " const next = this.$(`#${this.collection.at(index + 1).id}`);", + "lineNumber": 87, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertBefore(", + "path": "js/views/message_list_view.js", + "line": " view.$el.insertBefore(next);", + "lineNumber": 90, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-insertAfter(", + "path": "js/views/message_list_view.js", + "line": " view.$el.insertAfter(prev);", + "lineNumber": 92, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-insertBefore(", + "path": "js/views/message_list_view.js", + "line": " view.$el.insertBefore(elements[i]);", + "lineNumber": 101, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-append(", + "path": "js/views/message_list_view.js", + "line": " this.$el.append(view.el);", + "lineNumber": 106, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-append(", + "path": "js/views/message_view.js", + "line": " this.$el.append(this.childView.el);", + "lineNumber": 122, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/new_group_update_view.js", + "line": " el: this.$('.group-avatar'),", + "lineNumber": 18, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/new_group_update_view.js", + "line": " this.recipients_view.$el.insertBefore(this.$('.container'));", + "lineNumber": 30, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-insertBefore(", + "path": "js/views/new_group_update_view.js", + "line": " this.recipients_view.$el.insertBefore(this.$('.container'));", + "lineNumber": 30, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/new_group_update_view.js", + "line": " this.$('.scrollable').append(this.member_list_view.el);", + "lineNumber": 37, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/new_group_update_view.js", + "line": " this.$('.scrollable').append(this.member_list_view.el);", + "lineNumber": 37, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/new_group_update_view.js", + "line": " this.$('.results').hide();", + "lineNumber": 46, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/new_group_update_view.js", + "line": " this.$('.results').show();", + "lineNumber": 49, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/new_group_update_view.js", + "line": " name: this.$('.name').val(),", + "lineNumber": 66, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/phone-input-view.js", + "line": " this.$('input.number').intlTelInput();", + "lineNumber": 14, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/phone-input-view.js", + "line": " const input = this.$('input.number');", + "lineNumber": 21, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/phone-input-view.js", + "line": " const regionCode = this.$('li.active')", + "lineNumber": 22, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/phone-input-view.js", + "line": " this.$('.number-container').removeClass('invalid');", + "lineNumber": 29, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/phone-input-view.js", + "line": " this.$('.number-container').removeClass('valid');", + "lineNumber": 32, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/recipients_input_view.js", + "line": " this.$input = this.$('input.search');", + "lineNumber": 67, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/recipients_input_view.js", + "line": " this.$new_contact = this.$('.new-contact');", + "lineNumber": 68, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/recipients_input_view.js", + "line": " el: this.$('.recipients'),", + "lineNumber": 78, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/recipients_input_view.js", + "line": " this.$('.contacts').append(this.typeahead_view.el);", + "lineNumber": 93, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/recipients_input_view.js", + "line": " this.$('.contacts').append(this.typeahead_view.el);", + "lineNumber": 93, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/recorder_view.js", + "line": " this.$('.time').text(`${minutes}:${seconds}`);", + "lineNumber": 31, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('input').prop('checked', !!this.value);", + "lineNumber": 30, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('input').prop('checked', Boolean(this.value));", + "lineNumber": 49, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " const value = this.$(e.target).val();", + "lineNumber": 64, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$(`#${this.name}-${this.value}`).attr('checked', 'checked');", + "lineNumber": 69, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " el: this.$('.notification-settings'),", + "lineNumber": 78, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " el: this.$('.theme-settings'),", + "lineNumber": 84, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " $(document.body)", + "lineNumber": 88, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " el: this.$('.audio-notification-setting'),", + "lineNumber": 97, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " el: this.$('.spell-check-setting'),", + "lineNumber": 104, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " el: this.$('.menu-bar-setting'),", + "lineNumber": 110, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " el: this.$('.media-permissions'),", + "lineNumber": 116, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('.sync-setting').append(syncView.el);", + "lineNumber": 122, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-append(", + "path": "js/views/settings_view.js", + "line": " this.$('.sync-setting').append(syncView.el);", + "lineNumber": 122, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('.sync').text(i18n('syncNow'));", + "lineNumber": 174, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('.sync').attr('disabled', 'disabled');", + "lineNumber": 178, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('.synced_at').hide();", + "lineNumber": 190, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/settings_view.js", + "line": " this.$('.sync_failed').hide();", + "lineNumber": 195, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('input.number').val(number);", + "lineNumber": 21, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " el: this.$('#phone-number-input'),", + "lineNumber": 24, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#error').hide();", + "lineNumber": 26, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " const verificationCode = $('#code')", + "lineNumber": 37, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#status').text(s);", + "lineNumber": 50, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " const verificationCode = $('#code')", + "lineNumber": 53, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#error')", + "lineNumber": 64, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " if (this.$('#number-container').hasClass('valid')) {", + "lineNumber": 71, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#request-sms, #request-voice').prop('disabled', 'disabled');", + "lineNumber": 74, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#code').addClass('invalid');", + "lineNumber": 79, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#code').removeClass('invalid');", + "lineNumber": 81, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#error').hide();", + "lineNumber": 86, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#step2')", + "lineNumber": 92, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#number-container').addClass('invalid');", + "lineNumber": 96, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " $('#error').hide();", + "lineNumber": 101, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#step2')", + "lineNumber": 107, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/standalone_registration_view.js", + "line": " this.$('#number-container').addClass('invalid');", + "lineNumber": 111, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-html(", + "path": "js/views/toast_view.js", + "line": " this.$el.html(", + "lineNumber": 21, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-html(", + "path": "js/views/whisper_view.js", + "line": " this.$el.html(Mustache.render(template, attrs, partials));", + "lineNumber": 51, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Value set came directly from Mustache tempating engine" + }, + { + "rule": "jQuery-append(", + "path": "js/views/whisper_view.js", + "line": " this.$el.append(dialog.el);", + "lineNumber": 62, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Interacting with already-existing DOM nodes" + }, + { + "rule": "jQuery-$(", + "path": "js/views/whisper_view.js", + "line": " $('script[type=\"text/x-tmpl-mustache\"]').each((i, el) => {", + "lineNumber": 70, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-$(", + "path": "js/views/whisper_view.js", + "line": " const $el = $(el);", + "lineNumber": 71, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-html(", + "path": "js/views/whisper_view.js", + "line": " templates[id] = $el.html();", + "lineNumber": 73, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Getting the value, not setting it" + }, + { + "rule": "jQuery-append(", + "path": "libtextsecure/contacts_parser.js", + "line": " this.buffer.append(arrayBuffer);", + "lineNumber": 6, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "libtextsecure/crypto.js", + "line": " const data = dcodeIO.ByteBuffer.wrap(", + "lineNumber": 205, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "libtextsecure/crypto.js", + "line": " return dcodeIO.ByteBuffer.wrap(padded)", + "lineNumber": 219, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "libtextsecure/message_receiver.js", + "line": " Promise.resolve(dcodeIO.ByteBuffer.wrap(string, 'binary').toArrayBuffer());", + "lineNumber": 138, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "libtextsecure/message_receiver.js", + "line": " Promise.resolve(dcodeIO.ByteBuffer.wrap(arrayBuffer).toString('binary'));", + "lineNumber": 140, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "libtextsecure/message_receiver.js", + "line": " const buffer = dcodeIO.ByteBuffer.wrap(ciphertext);", + "lineNumber": 681, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "libtextsecure/message_receiver.js", + "line": " const buffer = dcodeIO.ByteBuffer.wrap(ciphertext);", + "lineNumber": 706, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "eval", + "path": "node_modules/@protobufjs/inquire/index.js", + "line": " var mod = eval(\"quire\".replace(/^/,\"re\"))(moduleName); // eslint-disable-line no-eval", + "lineNumber": 12, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "What's being eval'd is a static string" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@sindresorhus/is/dist/index.js", + "line": " 'innerHTML',", + "lineNumber": 158, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@sindresorhus/is/dist/source/index.js", + "line": " 'innerHTML',", + "lineNumber": 133, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@sinonjs/formatio/lib/formatio.js", + "line": " // SVG elements have undefined innerHTML", + "lineNumber": 204, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/archiver/lib/core.js", + "line": " this._module.append(source, data, function(err) {", + "lineNumber": 179, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/archiver/lib/plugins/tar.js", + "line": " function append(err, sourceBuffer) {", + "lineNumber": 68, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/archiver/lib/plugins/tar.js", + "line": " append(null, source);", + "lineNumber": 80, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/archiver/node_modules/async/dist/async.js", + "line": "function wrap(defer) {", + "lineNumber": 62, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/archiver/node_modules/async/dist/async.js", + "line": "var setImmediate$1 = wrap(_defer);", + "lineNumber": 81, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/archiver/node_modules/async/dist/async.js", + "line": " if (this.head) this.insertBefore(this.head, node);", + "lineNumber": 2151, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertAfter(", + "path": "node_modules/archiver/node_modules/async/dist/async.js", + "line": " if (this.tail) this.insertAfter(this.tail, node);", + "lineNumber": 2156, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/archiver/node_modules/async/dist/async.js", + "line": "var nextTick = wrap(_defer$1);", + "lineNumber": 3823, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/archiver/node_modules/async/dist/async.js", + "line": " q._tasks.insertBefore(nextNode, item);", + "lineNumber": 4107, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/archiver/node_modules/async/dist/async.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-insertAfter(", + "path": "node_modules/archiver/node_modules/async/dist/async.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/archiver/node_modules/async/dist/async.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/archiver/node_modules/async/internal/DoublyLinkedList.js", + "line": " if (this.head) this.insertBefore(this.head, node);else setInitial(this, node);", + "lineNumber": 52, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertAfter(", + "path": "node_modules/archiver/node_modules/async/internal/DoublyLinkedList.js", + "line": " if (this.tail) this.insertAfter(this.tail, node);else setInitial(this, node);", + "lineNumber": 56, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/archiver/node_modules/async/internal/setImmediate.js", + "line": "function wrap(defer) {", + "lineNumber": 23, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/archiver/node_modules/async/internal/setImmediate.js", + "line": "exports.default = wrap(_defer);", + "lineNumber": 42, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/archiver/node_modules/async/priorityQueue.js", + "line": " q._tasks.insertBefore(nextNode, item);", + "lineNumber": 42, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/ast-types/lib/path.js", + "line": " Pp.insertBefore = function insertBefore(node) {", + "lineNumber": 232, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-insertAfter(", + "path": "node_modules/ast-types/lib/path.js", + "line": " Pp.insertAfter = function insertAfter(node) {", + "lineNumber": 242, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/backbone/backbone-min.js", + "lineNumber": 1, + "reasonCategory": "ruleNeeded", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Need a rule for setElement, which contains this" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/backbone/backbone-min.js", + "lineNumber": 1, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Part of backbone's browser history API" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/backbone/backbone.js", + "line": " this.$el = el instanceof Backbone.$ ? el : Backbone.$(el);", + "lineNumber": 1286, + "reasonCategory": "ruleNeeded", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Need a rule for setElement, which contains this" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/backbone/backbone.js", + "line": " // If `this.el` is a string, pass it through `$()`, take the first", + "lineNumber": 1347, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-insertBefore(", + "path": "node_modules/backbone/backbone.js", + "line": " var iWindow = body.insertBefore(this.iframe, body.firstChild).contentWindow;", + "lineNumber": 1707, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "Part of backbone's browser history API" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/bl/bl.js", + "line": " this.append(callback)", + "lineNumber": 29, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/bl/bl.js", + "line": " this.append(buf[i])", + "lineNumber": 58, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/bl/bl.js", + "line": " this.append(buf._bufs[i])", + "lineNumber": 62, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/bl/bl.js", + "line": " copy.append(this._bufs[i])", + "lineNumber": 239, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/blob-util/dist/blob-util.js", + "line": " bb.append(ary[i]);", + "lineNumber": 79, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/blob-util/dist/blob-util.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/blob/index.js", + "line": " bb.append(ary[i]);", + "lineNumber": 77, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/blueimp-canvas-to-blob/js/canvas-to-blob.js", + "line": " bb.append(arrayBuffer)", + "lineNumber": 93, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/blueimp-canvas-to-blob/js/canvas-to-blob.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/boom/lib/index.js", + "line": " error = exports.wrap(data, statusCode, message);", + "lineNumber": 279, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util-runtime/node_modules/debug/src/browser.js", + "line": "function load() {", + "lineNumber": 160, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util-runtime/node_modules/debug/src/browser.js", + "line": "exports.enable(load());", + "lineNumber": 178, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util-runtime/node_modules/debug/src/node.js", + "line": "function load() {", + "lineNumber": 162, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util-runtime/node_modules/debug/src/node.js", + "line": "exports.enable(load());", + "lineNumber": 186, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util/node_modules/debug/src/browser.js", + "line": "function load() {", + "lineNumber": 160, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util/node_modules/debug/src/browser.js", + "line": "exports.enable(load());", + "lineNumber": 178, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util/node_modules/debug/src/node.js", + "line": "function load() {", + "lineNumber": 162, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/builder-util/node_modules/debug/src/node.js", + "line": "exports.enable(load());", + "lineNumber": 186, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/bunyan/node_modules/moment/min/locales.min.js", + "lineNumber": 75, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/bunyan/node_modules/moment/min/moment-with-locales.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/bunyan/node_modules/moment/min/moment.min.js", + "lineNumber": 6, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/caching-transform/index.js", + "line": "function wrap(opts) {", + "lineNumber": 13, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/cliui/index.js", + "line": " if (_this.wrap) wrapped = wrap(col.text, _this._negatePadding(col), {hard: true}).split('\\n')", + "lineNumber": 212, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/config/lib/config.js", + "line": " configObject = Yaml.load(content);", + "lineNumber": 994, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "eval", + "path": "node_modules/config/lib/config.js", + "line": " configObject = VisionmediaYaml.eval(util.stripYamlComments(content));", + "lineNumber": 1000, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/build/index.js", + "line": " if (name.indexOf(ns + \".\") === 0 && !in$(name, experimental)) {", + "lineNumber": 36, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/build/index.js", + "line": " function in$(x, xs){", + "lineNumber": 99, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/core.js", + "line": "\t return wrap(tag);", + "lineNumber": 391, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/core.js", + "line": "\t return wrap(wks(name));", + "lineNumber": 408, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/client/core.js", + "line": "\t if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);", + "lineNumber": 3893, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/core.js", + "line": "\t setTimeout: wrap(global.setTimeout),", + "lineNumber": 7226, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/client/core.min.js", + "lineNumber": 8, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/library.js", + "line": "\t return wrap(tag);", + "lineNumber": 379, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/library.js", + "line": "\t return wrap(wks(name));", + "lineNumber": 396, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/library.js", + "line": "\t setTimeout: wrap(global.setTimeout),", + "lineNumber": 6749, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/client/library.min.js", + "lineNumber": 8, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/shim.js", + "line": "\t return wrap(tag);", + "lineNumber": 377, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/shim.js", + "line": "\t return wrap(wks(name));", + "lineNumber": 394, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/client/shim.js", + "line": "\t if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);", + "lineNumber": 3879, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/client/shim.js", + "line": "\t setTimeout: wrap(global.setTimeout),", + "lineNumber": 7212, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/client/shim.min.js", + "lineNumber": 8, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/library/modules/es6.symbol.js", + "line": " return wrap(tag);", + "lineNumber": 142, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/library/modules/es6.symbol.js", + "line": " return wrap(wks(name));", + "lineNumber": 159, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/library/modules/web.timers.js", + "line": " setTimeout: wrap(global.setTimeout),", + "lineNumber": 18, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/core-js/modules/es6.regexp.split.js", + "line": " if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);", + "lineNumber": 36, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/modules/es6.symbol.js", + "line": " return wrap(tag);", + "lineNumber": 142, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/modules/es6.symbol.js", + "line": " return wrap(wks(name));", + "lineNumber": 159, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/core-js/modules/web.timers.js", + "line": " setTimeout: wrap(global.setTimeout),", + "lineNumber": 18, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-prepend(", + "path": "node_modules/css/node_modules/source-map/lib/source-map/source-node.js", + "line": " this.prepend(aChunk[i]);", + "lineNumber": 199, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/csso/dist/csso-browser.js", + "lineNumber": 2, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-prepend(", + "path": "node_modules/csso/dist/csso-browser.js", + "lineNumber": 3, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-prepend(", + "path": "node_modules/csso/node_modules/source-map/dist/source-map.debug.js", + "line": "\t this.prepend(aChunk[i]);", + "lineNumber": 2836, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-prepend(", + "path": "node_modules/csso/node_modules/source-map/dist/source-map.js", + "line": "\t this.prepend(aChunk[i]);", + "lineNumber": 2836, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-prepend(", + "path": "node_modules/csso/node_modules/source-map/dist/source-map.min.js", + "lineNumber": 1, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-prepend(", + "path": "node_modules/csso/node_modules/source-map/lib/source-node.js", + "line": " this.prepend(aChunk[i]);", + "lineNumber": 194, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/debug/src/browser.js", + "line": "function load() {", + "lineNumber": 150, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/debug/src/browser.js", + "line": "exports.enable(load());", + "lineNumber": 168, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/debug/src/node.js", + "line": "function load() {", + "lineNumber": 154, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/debug/src/node.js", + "line": "exports.enable(load());", + "lineNumber": 246, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/decompress-zip/lib/extractors.js", + "line": " input.wrap(fs.createReadStream(zip.filename, {start: file._offset, end: file._offset + file.uncompressedSize - 1}));", + "lineNumber": 64, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/decompress-zip/lib/extractors.js", + "line": " input.wrap(fs.createReadStream(zip.filename, {start: file._offset}));", + "lineNumber": 92, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/decompress-zip/lib/extractors.js", + "line": " input.wrap(fs.createReadStream(path.resolve(parent, linkTo)));", + "lineNumber": 131, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "eval", + "path": "node_modules/depd/index.js", + "line": " var deprecatedfn = eval('(function (' + args + ') {\\n' +", + "lineNumber": 410, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "What's being eval'd is a static string, with one variable: args. Args is of the form arg1, arg2, generated programmatically." + }, + { + "rule": "jQuery-$(", + "path": "node_modules/dotenv-expand/lib/main.js", + "line": " var matches = env.match(/\\$([a-zA-Z0-9_]+)|\\${([a-zA-Z0-9_]+)}/g) || []", + "lineNumber": 5, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/duplexer3/index.js", + "line": " readable = (new stream.Readable(options)).wrap(readable);", + "lineNumber": 15, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/duplexify/index.js", + "line": " return new (stream.Readable)({objectMode:true, highWaterMark:16}).wrap(rs)", + "lineNumber": 31, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/electron-download-tf/node_modules/debug/src/browser.js", + "line": "function load() {", + "lineNumber": 160, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/electron-download-tf/node_modules/debug/src/browser.js", + "line": "exports.enable(load());", + "lineNumber": 178, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/electron-download-tf/node_modules/debug/src/node.js", + "line": "function load() {", + "lineNumber": 153, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/electron-download-tf/node_modules/debug/src/node.js", + "line": "exports.enable(load());", + "lineNumber": 177, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/electron-download/node_modules/es6-promise/dist/es6-promise.auto.js", + "line": " return resolve$$(entry);", + "lineNumber": 546, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/electron-download/node_modules/es6-promise/dist/es6-promise.auto.js", + "line": " this._willSettleAt(resolve$$(entry), i);", + "lineNumber": 550, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/electron-download/node_modules/es6-promise/dist/es6-promise.js", + "line": " return resolve$$(entry);", + "lineNumber": 546, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/electron-download/node_modules/es6-promise/dist/es6-promise.js", + "line": " this._willSettleAt(resolve$$(entry), i);", + "lineNumber": 550, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "eval", + "path": "node_modules/electron/electron.d.ts", + "line": " eval(code: string): void;", + "lineNumber": 1745, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/electron/electron.d.ts", + "line": " append(menuItem: MenuItem): void;", + "lineNumber": 3128, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/electron/node_modules/@types/node/index.d.ts", + "line": " wrap(oldStream: ReadableStream): this;", + "lineNumber": 437, + "reasonCategory": "falseMatch", + "updated": "2018-09-20T21:02:15.849Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/electron/node_modules/@types/node/index.d.ts", + "line": " static wrap(code: string): string;", + "lineNumber": 792, + "reasonCategory": "falseMatch", + "updated": "2018-09-20T20:45:24.002Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/electron/node_modules/@types/node/index.d.ts", + "line": " append(name: string, value: string): void;", + "lineNumber": 2355, + "reasonCategory": "falseMatch", + "updated": "2018-09-20T21:02:15.849Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/electron/node_modules/@types/node/index.d.ts", + "line": " wrap(oldStream: NodeJS.ReadableStream): this;", + "lineNumber": 5277, + "reasonCategory": "falseMatch", + "updated": "2018-09-20T20:45:24.002Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/emoji-js/lib/jquery.emoji.js", + "line": "\t\t$(this).html(function (i, oldHtml){", + "lineNumber": 5, + "reasonCategory": "usageTrusted", + "updated": "2018-09-19T21:59:32.770Z", + "reasonDetail": "Protected from arbitrary input" + }, + { + "rule": "jQuery-html(", + "path": "node_modules/emoji-js/lib/jquery.emoji.js", + "line": "\t\t$(this).html(function (i, oldHtml){", + "lineNumber": 5, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "It's setting the html of the element to the previous HTML, just with the emoji replaced" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/dist/emoji-panel.js", + "line": "\t el.innerHTML = '';", + "lineNumber": 94, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Hard-coded value" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/dist/emoji-panel.js", + "line": "\t panelEl.innerHTML = _template2.default;", + "lineNumber": 154, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "In this file, _template2.default is a hardcoded string generated from emoji data" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/dist/example.js", + "line": "\t codeEl.innerHTML = codeEl.innerHTML.replace(/dist\\/emoji-panel-.*-.*.min.css/g, newHref);", + "lineNumber": 67, + "reasonCategory": "exampleCode", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/emoji-panel/dist/example.js", + "line": "\t$('#example-4-btn').click(function (e) {", + "lineNumber": 101, + "reasonCategory": "exampleCode", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/emoji-panel/dist/example.js", + "line": "\t $('#example-4').dialog({", + "lineNumber": 102, + "reasonCategory": "exampleCode", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/lib/emoji-panel.js", + "line": "\t el.innerHTML = '';", + "lineNumber": 103, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Hard-coded value" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/lib/emoji-panel.js", + "line": "\t panelEl.innerHTML = _template2.default;", + "lineNumber": 163, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "In this file, _template2.default is a hardcoded string generated from emoji data" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/lib/example.js", + "line": "\t codeEl.innerHTML = codeEl.innerHTML.replace(/dist\\/emoji-panel-.*-.*.min.css/g, newHref);", + "lineNumber": 76, + "reasonCategory": "exampleCode", + "updated": "2018-09-18T19:19:27.699Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/emoji-panel/lib/example.js", + "line": "\t$('#example-4-btn').click(function (e) {", + "lineNumber": 110, + "reasonCategory": "exampleCode", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/emoji-panel/lib/example.js", + "line": "\t $('#example-4').dialog({", + "lineNumber": 111, + "reasonCategory": "exampleCode", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/src/create-panel.js", + "line": " panelEl.innerHTML = panelTemplate;", + "lineNumber": 7, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "In this file, panelTemplate is a hardcoded string generated from emoji data" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/emoji-panel/src/emoji-panel.js", + "line": " el.innerHTML = '';", + "lineNumber": 25, + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Hard-coded value" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/es6-promisify/dist/promisify.js", + "line": " * @param {bool} settings.multiArgs - Should multiple arguments be returned as an array?", + "lineNumber": 34, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:06:35.446Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/es6-promisify/dist/promisify.js", + "line": " var returnMultipleArguments = settings && settings.multiArgs;", + "lineNumber": 44, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:06:35.446Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/expand-range/node_modules/fill-range/index.js", + "line": " return wrap([origA, origB], sep, opts);", + "lineNumber": 178, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/expand-range/node_modules/fill-range/index.js", + "line": " return wrap(arr, sep, opts);", + "lineNumber": 224, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/expand-range/node_modules/fill-range/index.js", + "line": "function wrap(arr, sep, opts) {", + "lineNumber": 235, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/extglob/index.js", + "line": " o[id] = wrap(inner, prefix, opts.escape);", + "lineNumber": 85, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/extglob/index.js", + "line": "function wrap(inner, prefix, esc) {", + "lineNumber": 119, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/fbjs/lib/createNodesFromMarkup.js", + "line": " node.innerHTML = wrap[1] + markup + wrap[2];", + "lineNumber": 58, + "reasonCategory": "ruleNeeded", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Need a rule for createNodesFromMarkup" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/fbjs/lib/createNodesFromMarkup.js", + "line": " node.innerHTML = markup;", + "lineNumber": 65, + "reasonCategory": "ruleNeeded", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Need a rule for createNodesFromMarkup" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/fbjs/lib/getMarkupWrap.js", + "line": " * Some browsers cannot use `innerHTML` to render certain elements standalone,", + "lineNumber": 23, + "reasonCategory": "falseMatch", + "updated": "2018-09-18T19:19:27.699Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/fbjs/lib/getMarkupWrap.js", + "line": " dummyNode.innerHTML = '';", + "lineNumber": 83, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Hard-coded string" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/fbjs/lib/getMarkupWrap.js", + "line": " dummyNode.innerHTML = '<' + nodeName + '>';", + "lineNumber": 85, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "nodeName is limited to set of safe tag names." + }, + { + "rule": "jQuery-$(", + "path": "node_modules/fbjs/node_modules/core-js/build/index.js", + "line": " if (name.indexOf(ns + \".\") === 0 && !in$(name, experimental)) {", + "lineNumber": 43, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/fbjs/node_modules/core-js/build/index.js", + "line": " function in$(x, xs){", + "lineNumber": 93, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/core.js", + "line": "\t return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", + "lineNumber": 1082, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/core.js", + "line": "\t symbolStatics[it] = useNative ? sym : wrap(sym);", + "lineNumber": 1135, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/core.js", + "line": "\t setTimeout: wrap(global.setTimeout),", + "lineNumber": 4496, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/library.js", + "line": "\t return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", + "lineNumber": 1033, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/library.js", + "line": "\t symbolStatics[it] = useNative ? sym : wrap(sym);", + "lineNumber": 1086, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/library.js", + "line": "\t setTimeout: wrap(global.setTimeout),", + "lineNumber": 4136, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z", + "reasonDetail": "" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/shim.js", + "line": "\t return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", + "lineNumber": 1068, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/shim.js", + "line": "\t symbolStatics[it] = useNative ? sym : wrap(sym);", + "lineNumber": 1121, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/client/shim.js", + "line": "\t setTimeout: wrap(global.setTimeout),", + "lineNumber": 4482, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/library/modules/es6.symbol.js", + "line": " return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", + "lineNumber": 142, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/library/modules/es6.symbol.js", + "line": " symbolStatics[it] = useNative ? sym : wrap(sym);", + "lineNumber": 195, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/library/modules/web.timers.js", + "line": " setTimeout: wrap(global.setTimeout),", + "lineNumber": 18, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/modules/es6.symbol.js", + "line": " return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));", + "lineNumber": 142, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/modules/es6.symbol.js", + "line": " symbolStatics[it] = useNative ? sym : wrap(sym);", + "lineNumber": 195, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-wrap(", + "path": "node_modules/fbjs/node_modules/core-js/modules/web.timers.js", + "line": " setTimeout: wrap(global.setTimeout),", + "lineNumber": 18, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/file-entry-cache/cache.js", + "line": " var cache = flatCache.load( cacheId, _path );", + "lineNumber": 13, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/flat-cache/cache.js", + "line": " me.load( fName, dir );", + "lineNumber": 39, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/flat-cache/cache.js", + "line": " obj.load( docId, cacheDir );", + "lineNumber": 167, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/flat-cache/node_modules/pify/index.js", + "line": "\t\t\t\t} else if (opts.multiArgs) {", + "lineNumber": 16, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:06:35.446Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/form-data/lib/form_data.js", + "line": " append(header);", + "lineNumber": 73, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-append(", + "path": "node_modules/form-data/lib/form_data.js", + "line": " append(footer);", + "lineNumber": 75, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:13:29.628Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/get-uri/node_modules/debug/src/browser.js", + "line": "function load() {", + "lineNumber": 150, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/get-uri/node_modules/debug/src/browser.js", + "line": "exports.enable(load());", + "lineNumber": 168, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/get-uri/node_modules/debug/src/node.js", + "line": "function load() {", + "lineNumber": 156, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/get-uri/node_modules/debug/src/node.js", + "line": "exports.enable(load());", + "lineNumber": 248, + "reasonCategory": "falseMatch", + "updated": "2018-09-15T00:38:04.183Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/globby/node_modules/pify/index.js", + "line": "\t\t\t\t} else if (opts.multiArgs) {", + "lineNumber": 16, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T18:06:35.446Z" + }, + { + "rule": "jQuery-load(", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " c ? c.load(a) : goog.logToConsole_(\"Could not load \" + a + \" because there is no debug loader.\");", + "lineNumber": 146, + "reasonCategory": "falseMatch", + "updated": "2018-09-18T19:19:27.699Z" + }, + { + "rule": "eval", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " var a = !eval('\"use strict\";let x = 1; function f() { return typeof x; };f() == \"number\";');", + "lineNumber": 183, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Hard-coded string used for testing capabilities." + }, + { + "rule": "eval", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " eval(a);", + "lineNumber": 218, + "reasonCategory": "notExercisedByOurApp", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Used to load dependencies; parent function loadModuleFromSource_ is used in one place only." + }, + { + "rule": "eval", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " eval(f + \"\\n//# sourceURL=\" + e);", + "lineNumber": 249, + "reasonCategory": "notExercisedByOurApp", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Used for google closure compiler transpilation scenarios" + }, + { + "rule": "eval", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " goog.global.eval(\"var _evalTest_ = 1;\");", + "lineNumber": 395, + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Hardcoded value" + }, + { + "rule": "eval", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " goog.global.eval(a);", + "lineNumber": 409, + "reasonCategory": "notExercisedByOurApp", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "More transpilation logic" + }, + { + "rule": "jQuery-$(", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " b && (a = a.replace(/\\{\\$([^}]+)}/g, function(a, d) {", + "lineNumber": 449, + "reasonCategory": "falseMatch", + "updated": "2018-09-19T21:59:32.770Z" + }, + { + "rule": "eval", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " return !!eval(a);", + "lineNumber": 584, + "reasonCategory": "notExercisedByOurApp", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "More transpilation logic" + }, + { + "rule": "jQuery-globalEval(", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " goog.globalEval(b);", + "lineNumber": 721, + "reasonCategory": "testCode", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "Part of their google closure 'debug loader'" + }, + { + "rule": "DOM-document.write(", + "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", + "line": " goog.global.document.write('