Skip to content

Commit

Permalink
VBLOCKS-1808 Trimming dependencies + require => import. (twilio#175)
Browse files Browse the repository at this point in the history
* VBLOCKS-1808 Removing some unwanted dependencies.
* VBLOCKS-1808 Removing deprecated dependencies as much as possible.
* VBLOCKS-1808 s/require/import/g wherever possible.
  • Loading branch information
manjeshbhargav committed Jun 26, 2023
1 parent fdb0098 commit 4e3addc
Show file tree
Hide file tree
Showing 5 changed files with 6,897 additions and 10,153 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
2.6.1 (In Progress)
=====================
===================

Changes
-------

- Fixed some security vulnerabilities shown by `npm audit`.
- Removed unused dependencies.
- Replaced deprecated dependencies.

Bug Fixes
---------
Expand Down
1 change: 0 additions & 1 deletion extension/token/capabilityToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

var _ = require('lodash');
var jwt = require('jsonwebtoken');
var qs = require('querystring');

/**
* @constructor
Expand Down
2 changes: 1 addition & 1 deletion lib/twilio/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import StatsMonitor from './statsMonitor';
import { isChrome } from './util';
import { generateVoiceEventSid } from './uuid';

const { RELEASE_VERSION } = require('./constants');
import { RELEASE_VERSION } from './constants';

// Placeholders until we convert the respective files to TypeScript.
/**
Expand Down
Loading

0 comments on commit 4e3addc

Please sign in to comment.