Skip to content

Commit

Permalink
Merge pull request #161 from ibm-watson-iot/bump-packages-new
Browse files Browse the repository at this point in the history
chore: bump packages
  • Loading branch information
herleraja authored Jan 15, 2024
2 parents d42403d + 3135e6c commit f0bdf44
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 30 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"wcaForGP.enable": true
}
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wiotp/sdk",
"version": "0.7.8",
"version": "0.8.1-alpha.1",
"description": "SDK for developing device, gateway, and application clients for IBM Watson IoT Platform",
"main": "dist/index.js",
"files": [
Expand All @@ -14,40 +14,40 @@
"access": "public"
},
"dependencies": {
"axios": "^0.19.0",
"bluebird": "^3.5.4",
"axios": "^1.6.5",
"bluebird": "^3.7.2",
"btoa": "^1.2.1",
"concat-stream": "^2.0.0",
"esm": "^3.2.25",
"events": "^3.0.0",
"form-data": "^2.3.3",
"events": "^3.3.0",
"form-data": "^4.0.0",
"format": "^0.2.2",
"loglevel": "^1.6.1",
"mqtt": "^3.0.0",
"systeminformation": "^4.22.3",
"loglevel": "^1.8.1",
"mqtt": "^4.3.8",
"systeminformation": "^5.21.22",
"tinycache": "^1.1.2",
"uuid": "^3.4.0",
"yaml": "^1.7.2",
"yargs": "^15.1.0"
"uuid": "^9.0.1",
"yaml": "^2.3.4",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/cli": "7.7.7",
"@babel/core": "7.7.7",
"@babel/preset-env": "7.7.7",
"@babel/register": "7.7.7",
"@cloudant/cloudant": "^2.1.0",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/register": "^7.23.7",
"@ibm-cloud/cloudant": "^0.8.2",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-istanbul": "^6.1.1",
"babelify": "^10.0.0",
"browserify": "^16.5.1",
"chai": "^4.2.0",
"browserify": "^17.0.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"coveralls": "3.0.9",
"mocha": "6.2.2",
"coveralls": "3.1.1",
"mocha": "^10.2.0",
"mocha-steps": "^1.3.0",
"nyc": "15.0.0",
"rimraf": "2.6.3",
"terser": "^4.4.3"
"nyc": "15.1.0",
"rimraf": "^5.0.5",
"terser": "^5.26.0"
},
"scripts": {
"clean": "rimraf dist/*",
Expand Down
2 changes: 1 addition & 1 deletion src/BaseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import log from 'loglevel';

import TinyCache from 'tinycache';

const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

export default class BaseClient extends events.EventEmitter {
constructor(config){
Expand Down
2 changes: 1 addition & 1 deletion src/application/ApplicationConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import log from 'loglevel';
const YAML = require('yaml');
const fs = require('fs');

const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

export default class ApplicationConfig extends BaseConfig{
constructor(identity, auth, options) {
Expand Down
2 changes: 1 addition & 1 deletion test/DeviceClient.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { DeviceConfig, DeviceClient } from '../src/device';
import { assert } from 'chai';
import { step } from 'mocha-steps';

const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

// Turn off console output
console.info = () => {};
Expand Down
4 changes: 2 additions & 2 deletions test/DscClient.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
*****************************************************************************
*
*/
const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

import { expect, use } from 'chai';
const chaiAsPromised = require('chai-as-promised');
use(chaiAsPromised);

var Cloudant = require('@cloudant/cloudant');
const { CloudantV1: Cloudant } = require('@ibm-cloud/cloudant');

import { ApplicationConfig, ApplicationClient } from '../src/application';
import * as errors from '../src/api/ApiErrors';
Expand Down
2 changes: 1 addition & 1 deletion test/GatewayClient.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { GatewayConfig, GatewayClient } from '../src/gateway';
import { assert } from 'chai';
import { step } from 'mocha-steps';

const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

// Turn off console output
console.info = () => {};
Expand Down

0 comments on commit f0bdf44

Please sign in to comment.