Socket
Socket
Sign inDemoInstall

@azure/communication-common

Package Overview
Dependencies
Maintainers
2
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/communication-common - npm Package Compare versions

Comparing version 1.2.0-alpha.20220128.1 to 1.2.0-alpha.20220201.1

12

dist/index.js

@@ -5,13 +5,15 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var jwtDecode = _interopDefault(require('jwt-decode'));
var jwtDecode = require('jwt-decode');
var tslib = require('tslib');
var coreHttp = require('@azure/core-http');
var crypto = require('crypto');
var coreAuth = require('@azure/core-auth');
var tslib = require('tslib');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var jwtDecode__default = /*#__PURE__*/_interopDefaultLegacy(jwtDecode);
// Copyright (c) Microsoft Corporation.
const parseToken = (token) => {
const { exp } = jwtDecode(token);
const { exp } = jwtDecode__default["default"](token);
return {

@@ -18,0 +20,0 @@ token,

{
"name": "@azure/communication-common",
"version": "1.2.0-alpha.20220128.1",
"version": "1.2.0-alpha.20220201.1",
"description": "Common package for Azure Communication services.",

@@ -14,7 +14,7 @@ "sdk-type": "client",

"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build:browser": "tsc -p . && dev-tool run bundle",
"build:node": "tsc -p . && dev-tool run bundle",
"build:samples": "echo Skipped.",
"build:test": "tsc -p . && rollup -c 2>&1",
"build": "npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local",
"build:test": "tsc -p . && dev-tool run bundle",
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",

@@ -77,7 +77,2 @@ "clean": "rimraf dist dist-* temp types *.tgz *.log",

"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"@types/chai-as-promised": "^7.1.0",

@@ -110,6 +105,2 @@ "@types/chai": "^4.1.6",

"rimraf": "^3.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^4.0.4",
"rollup": "^1.16.3",
"sinon": "^9.0.2",

@@ -116,0 +107,0 @@ "typescript": "~4.2.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc