Răsfoiți Sursa

upgrade string-width

Yuki Takei 4 ani în urmă
părinte
comite
54cbc017a7
3 a modificat fișierele cu 14 adăugiri și 3 ștergeri
  1. 2 1
      CHANGES.md
  2. 3 2
      package.json
  3. 9 0
      yarn.lock

+ 2 - 1
CHANGES.md

@@ -2,7 +2,8 @@
 
 ## v4.2.19-RC
 
-* 
+* Support: Upgrade libs
+    * string-width
 
 ## v4.2.18
 

+ 3 - 2
package.json

@@ -73,7 +73,8 @@
   "dependencies": {
     "//": [
       "check-node-version: see https://github.com/parshap/check-node-version/issues/35",
-      "openid-client: Node.js 12 or higher is required for openid-client@3 and above."
+      "openid-client: Node.js 12 or higher is required for openid-client@3 and above.",
+      "string-width: 5.0.0 or above uses ESM."
     ],
     "@google-cloud/storage": "^5.8.5",
     "@kobalab/socket.io-session": "^1.0.3",
@@ -152,7 +153,7 @@
     "rimraf": "^3.0.0",
     "socket.io": "^2.3.0",
     "stream-to-promise": "^2.2.0",
-    "string-width": "^4.1.0",
+    "string-width": "=4.2.2",
     "swig-templates": "^2.0.2",
     "uglifycss": "^0.0.29",
     "universal-bunyan": "^0.9.2",

+ 9 - 0
yarn.lock

@@ -14214,6 +14214,15 @@ string-width@^4.2.0:
     is-fullwidth-code-point "^3.0.0"
     strip-ansi "^6.0.0"
 
+string-width@^4.2.2:
+  version "4.2.2"
+  resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5"
+  integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==
+  dependencies:
+    emoji-regex "^8.0.0"
+    is-fullwidth-code-point "^3.0.0"
+    strip-ansi "^6.0.0"
+
 string.prototype.padend@^3.0.0:
   version "3.0.0"
   resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0"