jsencrypt icon indicating copy to clipboard operation
jsencrypt copied to clipboard

YUI does not exist, this comment will cause false positives for vulnerability sweeps

Open WeijianXu opened this issue 6 months ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js b/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js
index aa0d9aa..e148e5c 100644
--- a/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js
+++ b/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js
@@ -1,8 +1,6 @@
 /*!
 Copyright (c) 2011, Yahoo! Inc. All rights reserved.
 Code licensed under the BSD License:
-http://developer.yahoo.com/yui/license.html
-version: 2.9.0
 */
 export var YAHOO = {};
 YAHOO.lang = {

This issue body was partially generated by patch-package.

WeijianXu avatar Aug 22 '24 03:08 WeijianXu