Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
refactor(all): replace node-uuid with uuid
Browse files Browse the repository at this point in the history
Replace the deprecated node-uuid module with uuid.

Closes #108
  • Loading branch information
chrisbodhi committed Jul 15, 2017
1 parent 895b473 commit 194d3de
Show file tree
Hide file tree
Showing 122 changed files with 424 additions and 344 deletions.
2 changes: 1 addition & 1 deletion broid-alexa/lib/core/Adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const utils_1 = require("@broid/utils");
const Promise = require("bluebird");
const events_1 = require("events");
const express_1 = require("express");
const uuid = require("node-uuid");
const uuid = require("uuid");
const R = require("ramda");
const Rx_1 = require("rxjs/Rx");
const Parser_1 = require("./Parser");
Expand Down
6 changes: 3 additions & 3 deletions broid-alexa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@types/bluebird-global": "^3.5.1",
"@types/moment": "^2.13.0",
"@types/node": "^7.0.12",
"@types/node-uuid": "^0.0.28",
"@types/ramda": "^0.0.5",
"@types/uuid": "^3.0.0",
"ava": "^0.18.1",
"concurrently": "^3.1.0",
"copyfiles": "^1.2.0",
Expand All @@ -65,9 +65,9 @@
"bluebird": "^3.4.7",
"body-parser": "^1.16.0",
"express": "^4.14.0",
"node-uuid": "^1.4.7",
"ramda": "^0.23.0",
"rxjs": "^5.0.2"
"rxjs": "^5.0.2",
"uuid": "^3.1.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion broid-alexa/src/core/Adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { Logger } from '@broid/utils';
import * as Promise from 'bluebird';
import { EventEmitter } from 'events';
import { Router } from 'express';
import * as uuid from 'node-uuid';
import * as R from 'ramda';
import { Observable } from 'rxjs/Rx';
import * as uuid from 'uuid';

import { IAdapter, IAdapterOptions } from './interfaces';
import { Parser } from './Parser';
Expand Down
24 changes: 14 additions & 10 deletions broid-alexa/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,24 @@
dependencies:
moment "*"

"@types/node-uuid@^0.0.28":
version "0.0.28"
resolved "https://registry.yarnpkg.com/@types/node-uuid/-/node-uuid-0.0.28.tgz#41655b5ce63b2f3374c4e826b4dd21e729058e3d"
dependencies:
"@types/node" "*"
"@types/node@*":
version "8.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.12.tgz#0560c3e8c9e3da0aa07d0b86e0b0a02b5fd29480"

"@types/node@*", "@types/node@^7.0.12":
"@types/node@^7.0.12":
version "7.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.12.tgz#ae5f67a19c15f752148004db07cbbb372e69efc9"

"@types/ramda@^0.0.5":
version "0.0.5"
resolved "https://registry.yarnpkg.com/@types/ramda/-/ramda-0.0.5.tgz#8b381e3363de9db3cb89d3b62f23b73cfb56bc0b"

"@types/uuid@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.0.0.tgz#be93b14bcf97f59c079a9e58754960b5efd946c3"
dependencies:
"@types/node" "*"

abbrev@1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f"
Expand Down Expand Up @@ -2413,10 +2417,6 @@ node-status-codes@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f"

node-uuid@^1.4.7:
version "1.4.8"
resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907"

nodesecurity-npm-utils@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/nodesecurity-npm-utils/-/nodesecurity-npm-utils-5.0.0.tgz#05aa30de30ca8c845c4048e94fd78e5e08b55ed9"
Expand Down Expand Up @@ -3626,6 +3626,10 @@ uuid@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"

uuid@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"

valid-url@^1.0.9:
version "1.0.9"
resolved "https://registry.yarnpkg.com/valid-url/-/valid-url-1.0.9.tgz#1c14479b40f1397a75782f115e4086447433a200"
Expand Down
2 changes: 1 addition & 1 deletion broid-callr/lib/core/Adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Promise = require("bluebird");
const Callr = require("callr");
const EventEmitter = require("events");
const express_1 = require("express");
const uuid = require("node-uuid");
const uuid = require("uuid");
const R = require("ramda");
const Rx_1 = require("rxjs/Rx");
const Parser_1 = require("./Parser");
Expand Down
2 changes: 1 addition & 1 deletion broid-callr/lib/core/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
const schemas_1 = require("@broid/schemas");
const utils_1 = require("@broid/utils");
const Promise = require("bluebird");
const uuid = require("node-uuid");
const uuid = require("uuid");
const R = require("ramda");
class Parser {
constructor(serviceName, serviceID, logLevel) {
Expand Down
6 changes: 3 additions & 3 deletions broid-callr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
"body-parser": "^1.15.2",
"callr": "^1.0.0",
"express": "^4.14.0",
"node-uuid": "^1.4.7",
"ramda": "^0.23.0",
"rxjs": "^5.0.2",
"sinon": "^2.1.0"
"sinon": "^2.1.0",
"uuid": "^3.1.0"
},
"devDependencies": {
"@types/node": "^7.0.12",
"@types/node-uuid": "^0.0.28",
"@types/ramda": "^0.0.5",
"@types/uuid": "^3.0.0",
"ava": "^0.17.0",
"concurrently": "^3.1.0",
"copyfiles": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion broid-callr/src/core/Adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import * as Promise from 'bluebird';
import * as Callr from 'callr';
import * as EventEmitter from 'events';
import { Router } from 'express';
import * as uuid from 'node-uuid';
import * as R from 'ramda';
import { Observable } from 'rxjs/Rx';
import * as uuid from 'uuid';

import { IAdapterOptions, ICallrWebHookEvent } from './interfaces';
import { Parser } from './Parser';
Expand Down
2 changes: 1 addition & 1 deletion broid-callr/src/core/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
import { cleanNulls, fileInfo, isUrl, Logger } from '@broid/utils';

import * as Promise from 'bluebird';
import * as uuid from 'node-uuid';
import * as R from 'ramda';
import * as uuid from 'uuid';

import { ICallrWebHookEvent } from './interfaces';

Expand Down
24 changes: 14 additions & 10 deletions broid-callr/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,24 @@
request "^2.81.0"
valid-url "^1.0.9"

"@types/node-uuid@^0.0.28":
version "0.0.28"
resolved "https://registry.yarnpkg.com/@types/node-uuid/-/node-uuid-0.0.28.tgz#41655b5ce63b2f3374c4e826b4dd21e729058e3d"
dependencies:
"@types/node" "*"
"@types/node@*":
version "8.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.12.tgz#0560c3e8c9e3da0aa07d0b86e0b0a02b5fd29480"

"@types/node@*", "@types/node@^7.0.12":
"@types/node@^7.0.12":
version "7.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.12.tgz#ae5f67a19c15f752148004db07cbbb372e69efc9"

"@types/ramda@^0.0.5":
version "0.0.5"
resolved "https://registry.yarnpkg.com/@types/ramda/-/ramda-0.0.5.tgz#8b381e3363de9db3cb89d3b62f23b73cfb56bc0b"

"@types/uuid@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.0.0.tgz#be93b14bcf97f59c079a9e58754960b5efd946c3"
dependencies:
"@types/node" "*"

abbrev@1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f"
Expand Down Expand Up @@ -2557,10 +2561,6 @@ node-status-codes@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f"

node-uuid@^1.4.7:
version "1.4.8"
resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907"

nodesecurity-npm-utils@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/nodesecurity-npm-utils/-/nodesecurity-npm-utils-5.0.0.tgz#05aa30de30ca8c845c4048e94fd78e5e08b55ed9"
Expand Down Expand Up @@ -3796,6 +3796,10 @@ uuid@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"

uuid@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"

valid-url@^1.0.9:
version "1.0.9"
resolved "https://registry.yarnpkg.com/valid-url/-/valid-url-1.0.9.tgz#1c14479b40f1397a75782f115e4086447433a200"
Expand Down
2 changes: 1 addition & 1 deletion broid-discord/lib/core/Adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const schemas_1 = require("@broid/schemas");
const utils_1 = require("@broid/utils");
const Promise = require("bluebird");
const Discordie = require("discordie");
const uuid = require("node-uuid");
const uuid = require("uuid");
const R = require("ramda");
const request = require("request-promise");
const Rx_1 = require("rxjs/Rx");
Expand Down
6 changes: 3 additions & 3 deletions broid-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@types/bluebird": "^3.5.2",
"@types/bluebird-global": "^3.5.1",
"@types/node": "^7.0.12",
"@types/node-uuid": "^0.0.28",
"@types/ramda": "^0.0.5",
"@types/uuid": "^3.0.0",
"ava": "^0.17.0",
"concurrently": "^3.1.0",
"copyfiles": "^1.0.0",
Expand All @@ -62,11 +62,11 @@
"@broid/utils": "^1.1.1",
"bluebird": "^3.4.7",
"discordie": "^0.11.0",
"node-uuid": "^1.4.7",
"ramda": "^0.23.0",
"request-promise": "^4.1.1",
"rxjs": "^5.0.2",
"sinon": "^2.1.0"
"sinon": "^2.1.0",
"uuid": "^3.1.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion broid-discord/src/core/Adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Logger } from '@broid/utils';

import * as Promise from 'bluebird';
import * as Discordie from 'discordie';
import * as uuid from 'node-uuid';
import * as R from 'ramda';
import * as request from 'request-promise';
import { Observable } from 'rxjs/Rx';
import * as uuid from 'uuid';

const Events: any = Discordie.Events;
import { IAdapterOptions, IChannelInformations, IUserInformations } from './interfaces';
Expand Down
24 changes: 14 additions & 10 deletions broid-discord/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,24 @@
version "3.5.2"
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.2.tgz#ecf1104217495e50fe0b588d538146cd6f733b89"

"@types/node-uuid@^0.0.28":
version "0.0.28"
resolved "https://registry.yarnpkg.com/@types/node-uuid/-/node-uuid-0.0.28.tgz#41655b5ce63b2f3374c4e826b4dd21e729058e3d"
dependencies:
"@types/node" "*"
"@types/node@*":
version "8.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.12.tgz#0560c3e8c9e3da0aa07d0b86e0b0a02b5fd29480"

"@types/node@*", "@types/node@^7.0.12":
"@types/node@^7.0.12":
version "7.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.12.tgz#ae5f67a19c15f752148004db07cbbb372e69efc9"

"@types/ramda@^0.0.5":
version "0.0.5"
resolved "https://registry.yarnpkg.com/@types/ramda/-/ramda-0.0.5.tgz#8b381e3363de9db3cb89d3b62f23b73cfb56bc0b"

"@types/uuid@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.0.0.tgz#be93b14bcf97f59c079a9e58754960b5efd946c3"
dependencies:
"@types/node" "*"

abbrev@1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f"
Expand Down Expand Up @@ -2456,10 +2460,6 @@ node-status-codes@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f"

node-uuid@^1.4.7:
version "1.4.8"
resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907"

nodesecurity-npm-utils@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/nodesecurity-npm-utils/-/nodesecurity-npm-utils-5.0.0.tgz#05aa30de30ca8c845c4048e94fd78e5e08b55ed9"
Expand Down Expand Up @@ -3679,6 +3679,10 @@ uuid@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"

uuid@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"

valid-url@^1.0.9:
version "1.0.9"
resolved "https://registry.yarnpkg.com/valid-url/-/valid-url-1.0.9.tgz#1c14479b40f1397a75782f115e4086447433a200"
Expand Down
2 changes: 1 addition & 1 deletion broid-flowdock/lib/core/Adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const schemas_1 = require("@broid/schemas");
const utils_1 = require("@broid/utils");
const Promise = require("bluebird");
const flowdock = require("flowdock");
const uuid = require("node-uuid");
const uuid = require("uuid");
const R = require("ramda");
const Rx_1 = require("rxjs/Rx");
const Parser_1 = require("./Parser");
Expand Down
2 changes: 1 addition & 1 deletion broid-flowdock/lib/core/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
const schemas_1 = require("@broid/schemas");
const utils_1 = require("@broid/utils");
const Promise = require("bluebird");
const uuid = require("node-uuid");
const uuid = require("uuid");
const R = require("ramda");
class Parser {
constructor(serviceName, serviceID, logLevel) {
Expand Down
6 changes: 3 additions & 3 deletions broid-flowdock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
},
"devDependencies": {
"@types/node": "^7.0.12",
"@types/node-uuid": "^0.0.28",
"@types/ramda": "^0.0.5",
"@types/uuid": "^3.0.0",
"ava": "^0.17.0",
"concurrently": "^3.1.0",
"copyfiles": "^1.0.0",
Expand All @@ -60,9 +60,9 @@
"@broid/utils": "^1.1.1",
"bluebird": "^3.4.7",
"flowdock": "^0.9.0",
"node-uuid": "^1.4.7",
"ramda": "^0.23.0",
"rxjs": "^5.0.2"
"rxjs": "^5.0.2",
"uuid": "^3.1.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion broid-flowdock/src/core/Adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Logger } from '@broid/utils';

import * as Promise from 'bluebird';
import * as flowdock from 'flowdock';
import * as uuid from 'node-uuid';
import * as R from 'ramda';
import { Observable } from 'rxjs/Rx';
import * as uuid from 'uuid';

import { IAdapterOptions } from './interfaces';
import { Parser } from './Parser';
Expand Down
2 changes: 1 addition & 1 deletion broid-flowdock/src/core/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
import { cleanNulls, Logger } from '@broid/utils';

import * as Promise from 'bluebird';
import * as uuid from 'node-uuid';
import * as R from 'ramda';
import * as uuid from 'uuid';

export class Parser {
public serviceID: string;
Expand Down
Loading

0 comments on commit 194d3de

Please sign in to comment.