gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] 02/02: remove unnecessary/broken flatm


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] 02/02: remove unnecessary/broken flatmap
Date: Sat, 03 Jun 2017 21:00:19 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

commit 8c215a19d7fb92b3972d0dc299cfcb56a79f0319
Author: Florian Dold <address@hidden>
AuthorDate: Sat Jun 3 21:00:15 2017 +0200

    remove unnecessary/broken flatmap
---
 node_modules/nyc/node_modules/yargs/package.json | 138 +++++------------------
 src/wallet.ts                                    |   2 -
 2 files changed, 29 insertions(+), 111 deletions(-)

diff --git a/node_modules/nyc/node_modules/yargs/package.json 
b/node_modules/nyc/node_modules/yargs/package.json
index 42fa3bd3..a396ea7b 100644
--- a/node_modules/nyc/node_modules/yargs/package.json
+++ b/node_modules/nyc/node_modules/yargs/package.json
@@ -1,57 +1,16 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "address@hidden",
-        "scope": null,
-        "escapedName": "yargs",
-        "name": "yargs",
-        "rawSpec": "^7.1.0",
-        "spec": ">=7.1.0 <8.0.0",
-        "type": "range"
-      },
-      "/Users/benjamincoe/oss/nyc"
-    ]
-  ],
-  "_from": "yargs@>=7.1.0 <8.0.0",
-  "_id": "address@hidden",
-  "_inCache": true,
-  "_location": "/yargs",
-  "_nodeVersion": "6.9.5",
-  "_npmOperationalInternal": {
-    "host": "packages-12-west.internal.npmjs.com",
-    "tmp": "tmp/yargs-7.1.0.tgz_1492119927787_0.18849953636527061"
-  },
-  "_npmUser": {
-    "name": "bcoe",
-    "email": "address@hidden"
-  },
-  "_npmVersion": "4.5.0",
-  "_phantomChildren": {
-    "string-width": "1.0.2",
-    "strip-ansi": "3.0.1",
-    "wrap-ansi": "2.1.0"
-  },
-  "_requested": {
-    "raw": "address@hidden",
-    "scope": null,
-    "escapedName": "yargs",
-    "name": "yargs",
-    "rawSpec": "^7.1.0",
-    "spec": ">=7.1.0 <8.0.0",
-    "type": "range"
-  },
-  "_requiredBy": [
-    "/"
+  "name": "yargs",
+  "version": "7.1.0",
+  "description": "yargs the modern, pirate-themed, successor to optimist.",
+  "main": "./index.js",
+  "files": [
+    "index.js",
+    "yargs.js",
+    "lib",
+    "locales",
+    "completion.sh.hbs",
+    "LICENSE"
   ],
-  "_resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz";,
-  "_shasum": "6ba318eb16961727f5d284f8ea003e8d6154d0c8",
-  "_shrinkwrap": null,
-  "_spec": "address@hidden",
-  "_where": "/Users/benjamincoe/oss/nyc",
-  "bugs": {
-    "url": "https://github.com/yargs/yargs/issues";
-  },
   "dependencies": {
     "camelcase": "^3.0.0",
     "cliui": "^3.2.0",
@@ -67,7 +26,6 @@
     "y18n": "^3.2.1",
     "yargs-parser": "^5.0.0"
   },
-  "description": "yargs the modern, pirate-themed, successor to optimist.",
   "devDependencies": {
     "chai": "^3.4.1",
     "chalk": "^1.1.3",
@@ -83,31 +41,22 @@
     "standard-version": "^3.0.0",
     "which": "^1.2.9"
   },
-  "directories": {},
-  "dist": {
-    "shasum": "6ba318eb16961727f5d284f8ea003e8d6154d0c8",
-    "tarball": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz";
+  "scripts": {
+    "pretest": "standard",
+    "test": "nyc --cache mocha --require ./test/before.js --timeout=8000 
--check-leaks",
+    "coverage": "nyc report --reporter=text-lcov | coveralls",
+    "release": "standard-version"
   },
-  "engine": {
-    "node": ">=0.10"
+  "repository": {
+    "type": "git",
+    "url": "http://github.com/yargs/yargs.git";
   },
-  "files": [
-    "index.js",
-    "yargs.js",
-    "lib",
-    "locales",
-    "completion.sh.hbs",
-    "LICENSE"
-  ],
-  "gitHead": "e7359d632595c3a5fcfd691994859b66e8943c85",
-  "greenkeeper": {
+  "homepage": "http://yargs.js.org/";,
+  "standard": {
     "ignore": [
-      "string-width",
-      "read-pkg-up",
-      "camelcase"
+      "**/example/**"
     ]
   },
-  "homepage": "http://yargs.js.org/";,
   "keywords": [
     "argument",
     "args",
@@ -118,43 +67,14 @@
     "command"
   ],
   "license": "MIT",
-  "main": "./index.js",
-  "maintainers": [
-    {
-      "name": "bcoe",
-      "email": "address@hidden"
-    },
-    {
-      "name": "chevex",
-      "email": "address@hidden"
-    },
-    {
-      "name": "nexdrew",
-      "email": "address@hidden"
-    },
-    {
-      "name": "nylen",
-      "email": "address@hidden"
-    }
-  ],
-  "name": "yargs",
-  "optionalDependencies": {},
-  "readme": "  yargs\n========\n\nYargs be a node.js library fer hearties 
tryin' ter parse optstrings.\n\nWith yargs, ye be havin' a map that leads 
straight to yer treasure! Treasure of course, being a simple option 
hash.\n\n[![Build Status][travis-image]][travis-url]\n[![Coverage 
Status][coveralls-image]][coveralls-url]\n[![NPM 
version][npm-image]][npm-url]\n[![Windows 
Tests][windows-image]][windows-url]\n[![js-standard-style][standard-image]][standard-url]\n[![Conventional
 Commits][con [...]
-  "readmeFilename": "README.md",
-  "repository": {
-    "type": "git",
-    "url": "git+ssh://address@hidden/yargs/yargs.git"
-  },
-  "scripts": {
-    "coverage": "nyc report --reporter=text-lcov | coveralls",
-    "pretest": "standard",
-    "release": "standard-version",
-    "test": "nyc --cache mocha --require ./test/before.js --timeout=8000 
--check-leaks"
+  "engine": {
+    "node": ">=0.10"
   },
-  "standard": {
+  "greenkeeper": {
     "ignore": [
-      "**/example/**"
+      "string-width",
+      "read-pkg-up",
+      "camelcase"
     ]
-  },
-  "version": "7.1.0"
+  }
 }
diff --git a/src/wallet.ts b/src/wallet.ts
index 5b24f793..ec7eade9 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -2124,14 +2124,12 @@ export class Wallet {
   async getExchanges(): Promise<ExchangeRecord[]> {
     return this.q()
                .iter<ExchangeRecord>(Stores.exchanges)
-               .flatMap((e) => [e])
                .toArray();
   }
 
   async getCurrencies(): Promise<CurrencyRecord[]> {
     return this.q()
                .iter<CurrencyRecord>(Stores.currencies)
-               .flatMap((e) => [e])
                .toArray();
   }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]