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.3 to 1.1.4

src/dynamic.json

2

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

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

@@ -11,5 +11,9 @@ 'use strict'

import { deepMerge, isObject } from '@domql/utils'
import CONFIG_DEFAULT from '@symbo.ls/config-default'
import SYMBOLSRC_FILE from '../.symbolsrc.json'
import DYNAMIC_JSON from './dynamic.json'
import createEmotion from '@emotion/css/create-instance'

@@ -22,6 +26,9 @@ import { setClassname } from 'css-in-props'

export const init = (config) => {
export const init = (config, rcfile) => {
const defaultConfig = config || CONFIG_DEFAULT || SYMBOLSRC_FILE
const conf = set({ verbose: false, ...defaultConfig })
const RC_FILE = isObject(rcfile) ? rcfile : DYNAMIC_JSON
const resultConfig = deepMerge(RC_FILE, defaultConfig)
const conf = set({ verbose: false, ...resultConfig })
const FontFace = getFontFaceString(FONT)

@@ -28,0 +35,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