Merge pull request #11720 from Snuffleupagus/eslint-no-unsanitized

Update the `eslint-plugin-no-unsanitized` package to the latest version
This commit is contained in:
Tim van der Meij 2020-03-20 21:04:24 +01:00 committed by GitHub
commit 6ecc9fae1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

6
package-lock.json generated
View File

@ -3729,9 +3729,9 @@
}
},
"eslint-plugin-no-unsanitized": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-no-unsanitized/-/eslint-plugin-no-unsanitized-3.0.2.tgz",
"integrity": "sha512-JnwpoH8Sv4QOjrTDutENBHzSnyYtspdjtglYtqUtAHe6f6LLKqykJle+UwFPg23GGwt5hI3amS9CRDezW8GAww==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-no-unsanitized/-/eslint-plugin-no-unsanitized-3.1.0.tgz",
"integrity": "sha512-4gOd6Genbs1iN2rk+Duw/AZHglBvl6htbZZyDPUX7YdjWSu1D/iOGq7EtomDZ6VjzHKRo32042JciX+PPDrZgQ==",
"dev": true
},
"eslint-plugin-prettier": {

View File

@ -19,7 +19,7 @@
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-mozilla": "^2.3.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-no-unsanitized": "^3.1.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-unicorn": "^10.0.0",
"fancy-log": "^1.3.3",

View File

@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint-disable no-unsanitized/method */
import { assert, ImageKind, OPS } from "../shared/util.js";

View File

@ -80,6 +80,7 @@ function initializePDFJS(callback) {
"pdfjs-test/unit/unicode_spec.js",
"pdfjs-test/unit/util_spec.js",
].map(function(moduleName) {
// eslint-disable-next-line no-unsanitized/method
return SystemJS.import(moduleName);
})
).then(function(modules) {