Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@accounts/client

Package Overview
Dependencies
Maintainers
5
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/client - npm Package Compare versions

Comparing version 0.33.0 to 0.33.1

1

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccountsClient = void 0;
var accounts_client_1 = require("./accounts-client");
Object.defineProperty(exports, "AccountsClient", { enumerable: true, get: function () { return accounts_client_1.AccountsClient; } });
//# sourceMappingURL=index.js.map

3

lib/utils.js

@@ -6,3 +6,3 @@ "use strict";

var jwt_decode_1 = tslib_1.__importDefault(require("jwt-decode"));
exports.isTokenExpired = function (token) {
var isTokenExpired = function (token) {
var currentTime = Date.now() / 1000;

@@ -12,2 +12,3 @@ var decodedToken = jwt_decode_1.default(token);

};
exports.isTokenExpired = isTokenExpired;
//# sourceMappingURL=utils.js.map
{
"name": "@accounts/client",
"version": "0.33.0",
"version": "0.33.1",
"description": "Fullstack authentication and accounts-management",

@@ -10,14 +10,2 @@ "main": "lib/index.js",

},
"scripts": {
"clean": "rimraf lib",
"start": "tsc --watch",
"precompile": "yarn clean",
"compile": "tsc",
"prepublishOnly": "yarn compile",
"test": "npm run testonly",
"test-ci": "npm lint && npm coverage",
"testonly": "jest",
"test:watch": "jest --watch",
"coverage": "npm run testonly -- --coverage"
},
"files": [

@@ -51,6 +39,6 @@ "src",

"devDependencies": {
"@types/jest": "25.2.3",
"@types/node": "14.0.14",
"jest": "26.6.3",
"jest-localstorage-mock": "2.4.2",
"@types/jest": "26.0.24",
"@types/node": "16.4.13",
"jest": "27.0.6",
"jest-localstorage-mock": "2.4.14",
"jsonwebtoken": "8.5.1",

@@ -61,7 +49,17 @@ "localstorage-polyfill": "1.0.1",

"dependencies": {
"@accounts/types": "^0.33.0",
"@accounts/types": "^0.33.1",
"jwt-decode": "3.1.2",
"tslib": "2.1.0"
"tslib": "2.3.0"
},
"gitHead": "2703f3ef8c11803f584c9560affcae50ef7d830d"
}
"scripts": {
"clean": "rimraf lib",
"start": "tsc --watch",
"precompile": "pnpm run clean",
"compile": "tsc",
"test": "npm run testonly",
"test-ci": "npm lint && npm coverage",
"testonly": "jest",
"test:watch": "jest --watch",
"coverage": "npm run testonly -- --coverage"
}
}

Sorry, the diff of this file is not supported yet

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