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

@symbo.ls/init

Package Overview
Dependencies
Maintainers
5
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/init - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

2

package.json
{
"name": "@symbo.ls/init",
"version": "1.1.8",
"version": "1.1.9",
"license": "MIT",

@@ -5,0 +5,0 @@ "gitHead": "54fa6500c697604b3f48ba33a573545d7bff35fa",

@@ -5,5 +5,4 @@ 'use strict'

set,
RESET,
getFontFaceString,
CONFIG
getActiveConfig,
getFontFaceString
} from '@symbo.ls/scratch'

@@ -19,2 +18,4 @@

const CONFIG = getActiveConfig()
const prepareInit = (config = {}, RC_FILE) => {

@@ -26,8 +27,8 @@ // const defaultConfig = merge(config, CONFIG_DEFAULT)

export const init = (config, RC_FILE, options = { emotion }) => {
initDOMQLEmotion(options.emotion)
export const init = (config, RC_FILE, options = { emotion, initDOMQLDefine: true }) => {
if (options.initDOMQLDefine) initDOMQLEmotion(options.emotion, options)
const resultConfig = prepareInit(config)
const conf = set({ verbose: false, ...resultConfig })
const conf = set({ verbose: false, ...resultConfig }, { newConfig: options.newConfig })
const FontFace = getFontFaceString(conf.FONT)

@@ -41,3 +42,6 @@

export const updateReset = (options = { emotion }) => options.emotion.injectGlobal(RESET)
export const updateReset = (options = { emotion }) => {
const CONFIG = getActiveConfig()
options.emotion.injectGlobal(CONFIG.RESET)
}

@@ -44,0 +48,0 @@ export const setClass = (props, options = { emotion }) => setClassname(props, options.emotion.css)

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