Ver código fonte

Upgrade development tools

karma, jasmine, sass-lint, tslint, etc...
Danilo Bargen 5 anos atrás
pai
commit
d8afb4e15b
3 arquivos alterados com 404 adições e 292 exclusões
  1. 388 276
      package-lock.json
  2. 15 15
      package.json
  3. 1 1
      src/helpers/emoji.ts

Diferenças do arquivo suprimidas por serem muito extensas
+ 388 - 276
package-lock.json


+ 15 - 15
package.json

@@ -84,25 +84,25 @@
     "webrtc-adapter": "^7.2.4"
   },
   "devDependencies": {
-    "@types/chai": "^4.1.7",
-    "@types/jasmine": "^3.3.13",
+    "@types/chai": "^4.2.9",
+    "@types/jasmine": "^3.5.4",
     "@types/selenium-webdriver": "^4.0.0",
     "angular-mocks": "^1.7.9",
     "chai": "^4.2.0",
-    "concurrently": "~4.1.0",
-    "geckodriver": "^1.16.2",
-    "jasmine": "^3.4.0",
-    "jasmine-core": "^3.4.0",
-    "karma": "^4.1.0",
-    "karma-chrome-launcher": "^2.2.0",
-    "karma-firefox-launcher": "^1.1.0",
-    "karma-jasmine": "^2.0.1",
-    "sass-lint": "^1.13.1",
-    "sass-lint-auto-fix": "^0.17",
-    "selenium-webdriver": "^4.0.0-alpha.4",
+    "concurrently": "~5.1.0",
+    "geckodriver": "~1.19.1",
+    "jasmine": "~3.5.0",
+    "jasmine-core": "~3.5.0",
+    "karma": "~4.4.1",
+    "karma-chrome-launcher": "~3.1.0",
+    "karma-firefox-launcher": "~1.3.0",
+    "karma-jasmine": "~3.1.1",
+    "sass-lint": "~1.13.1",
+    "sass-lint-auto-fix": "~0.21.0",
+    "selenium-webdriver": "^4.0.0-alpha.5",
     "term-color": "^1.0.1",
-    "ts-node": "^8",
-    "tslint": "^5.18.0",
+    "ts-node": "~8.6.2",
+    "tslint": "~6.0.0",
     "webpack-dev-server": "^3.10.3"
   }
 }

+ 1 - 1
src/helpers/emoji.ts

@@ -3099,7 +3099,7 @@ export function emojify(text: string): string {
 /**
  * Convert emoji unicode characters to structured EmojiInfo objects.
  */
-export function parseEmoji(text: string): Array<threema.EmojiInfo | string> {
+export function parseEmoji(text: string): (threema.EmojiInfo | string)[] {
     // Create a global RegExp, which stores state
     const regex = new RegExp(EMOJI_REGEX, 'g');
     const result = [];

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff