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

arctic

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arctic - npm Package Compare versions

Comparing version 2.0.0-next.5 to 2.0.0-next.6

2

dist/oauth2.d.ts

@@ -11,4 +11,2 @@ export declare class OAuth2Tokens {

refreshToken(): string;
refreshTokenExpiresInSeconds(): number;
refreshTokenExpiresAt(): Date;
hasScopes(): boolean;

@@ -15,0 +13,0 @@ scopes(): string[];

@@ -29,12 +29,2 @@ import { base64url } from "@oslojs/encoding";

}
refreshTokenExpiresInSeconds() {
if ("refresh_token_expires_in" in this.data &&
typeof this.data.refresh_token_expires_in === "number") {
return this.data.refresh_token_expires_in;
}
throw new Error("Missing or invalid 'refresh_token_expires_in' field");
}
refreshTokenExpiresAt() {
return new Date(Date.now() + this.refreshTokenExpiresInSeconds() * 1000);
}
hasScopes() {

@@ -41,0 +31,0 @@ return this.result.hasScopes();

2

package.json
{
"name": "arctic",
"type": "module",
"version": "2.0.0-next.5",
"version": "2.0.0-next.6",
"description": "OAuth 2.0 clients for popular providers",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

@@ -47,3 +47,3 @@ # Arctic

- Figma
- Github
- GitHub
- GitLab

@@ -50,0 +50,0 @@ - Google

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