Socket
Socket
Sign inDemoInstall

@paperbits/styles

Package Overview
Dependencies
Maintainers
2
Versions
594
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperbits/styles - npm Package Compare versions

Comparing version 0.1.562 to 0.1.563

6

localStyleBuilder.ts

@@ -17,3 +17,3 @@ import * as Utils from "@paperbits/common/utils";

public async buildLocalStyle(permalink: string, styleSheets: StyleSheet[]): Promise<void> {
public async buildLocalStyle(permalink: string, styleSheets: StyleSheet[]): Promise<string> {
let uploadUrl;

@@ -32,4 +32,8 @@

const hash = await crypto.subtle.digest("SHA-384", contentBytes);
await this.outputBlobStorage.uploadBlob(uploadUrl, contentBytes, "text/css");
return Utils.arrayBufferToBase64(hash);
}
}

4

package.json
{
"name": "@paperbits/styles",
"version": "0.1.562",
"version": "0.1.563",
"description": "Paperbits style editors.",

@@ -19,3 +19,3 @@ "author": "Paperbits",

"dependencies": {
"@paperbits/common": "0.1.562",
"@paperbits/common": "0.1.563",
"@simonwep/pickr": "^1.7.4",

@@ -22,0 +22,0 @@ "jss": "^10.4.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