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

@uswitch/spark.utils

Package Overview
Dependencies
Maintainers
22
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uswitch/spark.utils - npm Package Compare versions

Comparing version 0.5.10 to 0.6.0

5

lib/cjs/every-theme.js

@@ -12,4 +12,2 @@ "use strict";

var _spark = require("@uswitch/spark.themes");
var _react = require("react");

@@ -24,4 +22,3 @@

var EveryTheme = function EveryTheme(_ref) {
var _ref$themes = _ref.themes,
themes = _ref$themes === void 0 ? _spark.mainThemes : _ref$themes,
var themes = _ref.themes,
children = _ref.children;

@@ -28,0 +25,0 @@ return (0, _jsxRuntime.jsx)(_react.Fragment, {

4

lib/esm/every-theme.js
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import { mainThemes } from '@uswitch/spark.themes';
import { Fragment } from 'react';

@@ -9,4 +8,3 @@ import { Themed } from 'theme-ui';

export var EveryTheme = function EveryTheme(_ref) {
var _ref$themes = _ref.themes,
themes = _ref$themes === void 0 ? mainThemes : _ref$themes,
var themes = _ref.themes,
children = _ref.children;

@@ -13,0 +11,0 @@ return _jsx(Fragment, {

{
"name": "@uswitch/spark.utils",
"version": "0.5.10",
"version": "0.6.0",
"description": "",

@@ -20,4 +20,4 @@ "repository": "https://github.com/uswitch/spark",

"@theme-ui/color": "^0.9.1",
"@uswitch/spark.stack": "^0.5.10",
"@uswitch/spark.themes": "^0.5.10",
"@uswitch/spark.stack": "^0.6.0",
"@uswitch/spark.themes": "^0.6.0",
"@uswitch/trustyle.bankrate-theme": "^2.25.20",

@@ -38,3 +38,3 @@ "@uswitch/trustyle.broadband-deals-theme": "^1.16.8",

},
"gitHead": "e742463443958eeff8ecfb8ab8e4141987422546"
"gitHead": "87847f3bc48e80cbb114277eff02b4d4cb2e3bf6"
}

@@ -1,2 +0,1 @@

import { mainThemes } from '@uswitch/spark.themes'
import { Fragment } from 'react'

@@ -7,3 +6,3 @@ import { Themed } from 'theme-ui'

export const EveryTheme = ({ themes = mainThemes, children }) => (
export const EveryTheme = ({ themes, children }) => (
<Fragment>

@@ -10,0 +9,0 @@ {Object.entries(themes).map(([themeName, theme]) => (

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