Skip to content

Commit

Permalink
SNOW-855106: Use correct way to import a uuid library (#562)
Browse files Browse the repository at this point in the history
* SNOW-855106: Use correct way to import a uuid library
  • Loading branch information
sfc-gh-pmotacki authored Jul 4, 2023
1 parent 3e64de5 commit 72f5f09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/connection/connection.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2015-2021 Snowflake Computing Inc. All rights reserved.
*/
const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');
const Url = require('url');
const QueryString = require('querystring');
const GSErrors = require('../constants/gs_errors')
Expand Down
2 changes: 1 addition & 1 deletion lib/connection/statement.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

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

var Url = require('url');
var QueryString = require('querystring');
Expand Down
2 changes: 1 addition & 1 deletion lib/services/sf.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*/

const axios = require('axios');
const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');
const EventEmitter = require('events').EventEmitter;
const Util = require('../util');
const Errors = require('../errors');
Expand Down

0 comments on commit 72f5f09

Please sign in to comment.