Ver Fonte

add json3 for replace to work?

Artur Paikin há 7 anos atrás
pai
commit
2d34df061b
2 ficheiros alterados com 44 adições e 2 exclusões
  1. 42 1
      package-lock.json
  2. 2 1
      package.json

+ 42 - 1
package-lock.json

@@ -4523,7 +4523,10 @@
         "object.getownpropertydescriptors": "2.0.3",
         "object.getownpropertydescriptors": "2.0.3",
         "object.values": "1.0.4",
         "object.values": "1.0.4",
         "string-at": "1.0.1",
         "string-at": "1.0.1",
-        "string.prototype.padend": "3.0.0"
+        "string.prototype.padend": "3.0.0",
+        "string.prototype.padstart": "3.0.0",
+        "string.prototype.trimleft": "2.0.0",
+        "string.prototype.trimright": "2.0.0"
       }
       }
     },
     },
     "escape-html": {
     "escape-html": {
@@ -10168,6 +10171,12 @@
       "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
       "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
       "dev": true
       "dev": true
     },
     },
+    "json3": {
+      "version": "3.3.2",
+      "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz",
+      "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=",
+      "dev": true
+    },
     "jsonfile": {
     "jsonfile": {
       "version": "2.4.0",
       "version": "2.4.0",
       "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
       "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
@@ -14256,6 +14265,7 @@
         "es6-shim": "0.35.3",
         "es6-shim": "0.35.3",
         "es7-shim": "6.0.0",
         "es7-shim": "6.0.0",
         "is-regex": "1.0.4",
         "is-regex": "1.0.4",
+        "json3": "3.3.2",
         "lodash.isnull": "3.0.0",
         "lodash.isnull": "3.0.0",
         "minimatch": "3.0.4",
         "minimatch": "3.0.4",
         "nomnom": "1.8.1",
         "nomnom": "1.8.1",
@@ -15181,6 +15191,37 @@
         "function-bind": "1.1.0"
         "function-bind": "1.1.0"
       }
       }
     },
     },
+    "string.prototype.padstart": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmjs.org/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz",
+      "integrity": "sha1-W8+tOfRkm7LQMSkuGbzwtRDUskI=",
+      "dev": true,
+      "requires": {
+        "define-properties": "1.1.2",
+        "es-abstract": "1.7.0",
+        "function-bind": "1.1.0"
+      }
+    },
+    "string.prototype.trimleft": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.0.0.tgz",
+      "integrity": "sha1-aLaqjhYsaoDnbjqKDC50cYbicf8=",
+      "dev": true,
+      "requires": {
+        "define-properties": "1.1.2",
+        "function-bind": "1.1.0"
+      }
+    },
+    "string.prototype.trimright": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.0.0.tgz",
+      "integrity": "sha1-q0pW2AKgH75yk+EehPJNyBZGYd0=",
+      "dev": true,
+      "requires": {
+        "define-properties": "1.1.2",
+        "function-bind": "1.1.0"
+      }
+    },
     "string_decoder": {
     "string_decoder": {
       "version": "1.0.2",
       "version": "1.0.2",
       "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz",
       "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.2.tgz",

+ 2 - 1
package.json

@@ -97,7 +97,8 @@
     "wdio-mocha-framework": "^0.5.12",
     "wdio-mocha-framework": "^0.5.12",
     "wdio-sauce-service": "^0.4.6",
     "wdio-sauce-service": "^0.4.6",
     "wdio-static-server-service": "^1.0.1",
     "wdio-static-server-service": "^1.0.1",
-    "webdriverio": "^4.10.1"
+    "webdriverio": "^4.10.1",
+    "json3": "^3.3.2"
   },
   },
   "dependencies": {
   "dependencies": {
     "classnames": "^2.2.5",
     "classnames": "^2.2.5",