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

blurhash

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blurhash - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

dist/esm/base83.js

4

CHANGELOG.md
# Changelog
## 1.1.4 (August 16, 2021)
- added esm build target
## 1.1.2 (June 29, 2019)

@@ -4,0 +8,0 @@

17

package.json
{
"name": "blurhash",
"version": "1.1.3",
"version": "1.1.4",
"description": "Encoder and decoder for the Wolt BlurHash algorithm.",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"repository": {

@@ -14,3 +16,3 @@ "type": "git",

"prepublishOnly": "npm run build",
"build": "npm run ts",
"build": "npm run ts && npm run ts:esm",
"demo": "webpack-dev-server --mode development",

@@ -20,3 +22,4 @@ "prettier": "prettier src/**/*.ts",

"ts": "tsc",
"ts:watch": "npm run ts -- --noEmit --watch"
"ts:watch": "npm run ts -- --noEmit --watch",
"ts:esm": "tsc --outDir dist/esm --target es2020 --declaration false --module es2015"
},

@@ -34,7 +37,7 @@ "keywords": [

"ts-loader": "6.0.4",
"typescript": "3.5.2",
"webpack": "4.35.0",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "3.7.2"
"typescript": "3.5.3",
"webpack": "4.41.2",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.9.0"
}
}
# blurhash
[![NPM Version](https://img.shields.io/npm/v/blurhash.svg?style=flat)](https://npmjs.org/package/blurhash)
[![NPM Downloads](https://img.shields.io/npm/dm/blurhash.svg?style=flat)](https://npmjs.org/package/blurhash)
> JavaScript encoder and decoder for the [Wolt BlurHash](https://github.com/woltapp/blurhash) algorithm

@@ -15,3 +18,3 @@

### `decode(blurhash: string) => Uint8ClampedArray`
### `decode(blurhash: string, width: number, height: number, punch?: number) => Uint8ClampedArray`

@@ -18,0 +21,0 @@ > Decodes a blurhash string to pixels

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