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

@bothrs/util

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bothrs/util - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

4

jwt.d.ts

@@ -1,4 +0,6 @@

/** Decode base64 in browser and node.js */
/**
* Decode base64 in browser and node.js
* */
export declare const atob: ((data: string) => string) & typeof globalThis.atob;
/** Decode JWT without signature check */
export declare function unsafeDecode(token: string): any;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unsafeDecode = exports.atob = void 0;
/** Decode base64 in browser and node.js */
/**
* Decode base64 in browser and node.js
* */
exports.atob = typeof window !== 'undefined'

@@ -6,0 +8,0 @@ ? window.atob

{
"name": "@bothrs/util",
"version": "3.0.2",
"version": "3.0.3",
"description": "Common helper functions",

@@ -15,3 +15,3 @@ "license": "MIT",

"preversion": "npm run fix",
"docs": "documentation build src/** -f md --shallow"
"docs": "typedoc --out docs src"
},

@@ -28,2 +28,3 @@ "dependencies": {},

"rollup-plugin-typescript2": "^0.30.0",
"typedoc": "^0.21.4",
"typescript": "4"

@@ -30,0 +31,0 @@ },

## Introduction
Here you can find a list of all the main utils being exported by this package.
More in depth, generated, documentation can be found [here](docs.md)
More in depth, generated, documentation can be found on the gh pages.
The following utils can be imported from `@bothrs/util/<utilname>`

@@ -6,0 +6,0 @@

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