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.1 to 3.0.2

8

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

@@ -11,6 +11,7 @@ "license": "MIT",

"clean": "find . -maxdepth 1 -type f \\( -name \\*.mjs -or -name \\*.js -or -name \\*.d.ts -or -name \\*.jsx \\) -delete; date",
"build": "npm run clean && tsc -d && cp src/*.mjs .",
"build": "npm run clean && tsc -d && cp src/mjs/*.mjs .",
"prepare": "npm run fix",
"prepublishOnly": "npm run build",
"preversion": "npm run fix"
"preversion": "npm run fix",
"docs": "documentation build src/** -f md --shallow"
},

@@ -22,2 +23,3 @@ "dependencies": {},

"@types/node-fetch": "2",
"documentation": "^13.2.5",
"node-fetch": "^2.6.1",

@@ -24,0 +26,0 @@ "prettier": "2",

@@ -0,1 +1,7 @@

## 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)
The following utils can be imported from `@bothrs/util/<utilname>`
## util

@@ -25,2 +31,14 @@

Note: when using this on a node server, fetch needs to be polyfilled
node-fetch suggests doing this like:
```javascript
import fetch from 'node-fetch'
if (!globalThis.fetch) {
//@ts-ignore
globalThis.fetch = fetch
}
```
#### fs.mjs + ts

@@ -54,2 +72,5 @@

The mjs files contain code that could benefit from
some triage;either refactored into `ts` files or removed.
#### airtable-translation.mjs

@@ -203,3 +224,2 @@

#### voxeet.mjs

@@ -206,0 +226,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