New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

firebolt

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebolt - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

4

extras/cookies.js

@@ -58,3 +58,3 @@ import cookie from 'cookie'

try {
value = JSON.parse(data)
value = JSON.parse(decodeURIComponent(data))
} catch (err) {

@@ -76,3 +76,3 @@ console.error(`could not deserialize cookie ${key} with value:`, data)

try {
data = JSON.stringify(value)
data = encodeURIComponent(JSON.stringify(value))
} catch (err) {

@@ -79,0 +79,0 @@ return console.error(

@@ -230,2 +230,7 @@ import React, {

export function useCookies() {
const runtime = useRuntime()
return runtime.cookies
}
export class ErrorBoundary extends React.Component {

@@ -232,0 +237,0 @@ constructor(props) {

@@ -39,2 +39,7 @@ import { produce } from 'immer'

observeCookie,
cookies: {
get: getCookie,
set: setCookie,
observe: observeCookie,
},
}

@@ -432,3 +437,3 @@

try {
data = JSON.parse(value)
data = JSON.parse(decodeURIComponent(value))
} catch (err) {

@@ -459,3 +464,3 @@ console.error(`could not deserialize cookie ${key} with value:`, value)

try {
value = JSON.stringify(data)
value = encodeURIComponent(JSON.stringify(data))
} catch (err) {

@@ -462,0 +467,0 @@ return console.error(

{
"name": "firebolt",
"version": "0.3.1",
"version": "0.4.0",
"description": "",

@@ -16,4 +16,4 @@ "license": "MIT",

"dependencies": {
"@firebolt-dev/css": "0.3.1",
"@firebolt-dev/jsx": "0.3.1",
"@firebolt-dev/css": "0.4.0",
"@firebolt-dev/jsx": "0.4.0",
"@mdx-js/esbuild": "^3.0.1",

@@ -20,0 +20,0 @@ "@mdx-js/react": "^3.0.1",

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