New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0 to 3.0.1

2

package.json
{
"name": "@bothrs/util",
"version": "3.0.0",
"version": "3.0.1",
"description": "Common helper functions",

@@ -5,0 +5,0 @@ "license": "MIT",

## util
#### airtable-env.mjs + ts
#### airtable-env

@@ -9,10 +9,8 @@ Manage Airtable data based on standard env variables.

#### airtable-translation.mjs
#### async.mjs + ts
Download translations table from Airtable and write to file that can be imported.
`await timeout(1000)` => Wait for 1 second
`const busy = await isPending(promise)` => Check if promise is pending
`const [error, data] = await to(promise)` => Unwrap promise
#### airtable-translations.mjs
Optimistically load translations table from Airtable.
#### airtable.mjs + ts

@@ -24,8 +22,42 @@

#### async.mjs + ts
#### fetch.mjs + ts
`await timeout(1000)` => Wait for 1 second
`const busy = await isPending(promise)` => Check if promise is pending
`const [error, data] = await to(promise)` => Unwrap promise
Fetch JSON + shorthand for Authorization: Bearer
#### fs.mjs + ts
Read and write from filesystem using promises.
#### ls.mjs + ts
Minimal helper for localStorage
#### memo.mjs + ts
Optimize common requests.
#### random.mjs + ts
Generate random strings and UUIDs.
#### uniq.mjs + ts
Filter uniq items from an array.
#### url.mjs + ts
Manage URLs.
`serialize({ example: 'ok' })` => Build a querystring
## mjs
#### airtable-translation.mjs
Download translations table from Airtable and write to file that can be imported.
#### airtable-translations.mjs
Optimistically load translations table from Airtable.
#### cli.mjs

@@ -67,6 +99,2 @@

#### fetch.mjs + ts
Fetch JSON + shorthand for Authorization: Bearer
#### format.mjs

@@ -76,6 +104,2 @@

#### fs.mjs + ts
Read and write from filesystem using promises.
#### hash.mjs

@@ -101,8 +125,2 @@

#### knexfile-env.js
Knex config for migrations.
`require('.../util/knexfile-env.js')` => Save this as knexfile.js
#### knexfile-env.mjs

@@ -128,6 +146,2 @@

#### ls.mjs + ts
Minimal helper for localStorage
#### mailgun.mjs

@@ -145,6 +159,2 @@

#### memo.mjs + ts
Optimize common requests.
#### messenger.mjs

@@ -166,6 +176,2 @@

#### random.mjs + ts
Generate random strings and UUIDs.
#### sample.mjs

@@ -203,16 +209,3 @@

#### uniq.mjs + ts
Filter uniq items from an array.
#### url.mjs + ts
Manage URLs.
`serialize({ example: 'ok' })` => Build a querystring
#### vimeo.js
Launch a Vimeo video player.
#### voxeet.mjs

@@ -219,0 +212,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