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

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
4
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/scratch - npm Package Compare versions

Comparing version 0.3.29 to 0.3.30

2

package.json

@@ -5,3 +5,3 @@ {

"author": "symbo.ls",
"version": "0.3.29",
"version": "0.3.30",
"files": [

@@ -8,0 +8,0 @@ "src"

'use strict'
import * as CONFIG from './config'
import * as CONF from './config'
export const CSS_VARS = {}
export const CONFIG = {
verbose: false,
useVariable: false,
useReset: true,
VARS: CSS_VARS,
...CONF
}
CONFIG.verbose = false
CONFIG.useVariable = false
CONFIG.VARS = CSS_VARS
export { CONFIG }

@@ -68,6 +68,7 @@ 'use strict'

export const set = recivedConfig => {
const { version, verbose, useVariable, ...config } = recivedConfig
const { version, verbose, useVariable, useReset, ...config } = recivedConfig
CONFIG.verbose = verbose
CONFIG.useVariable = useVariable
if (verbose !== undefined) CONFIG.verbose = verbose
if (useVariable !== undefined) CONFIG.useVariable = useVariable
if (useReset !== undefined) CONFIG.useReset = useReset
if ((ENV === 'test' || ENV === 'development') && CONFIG.verbose) console.log(CONFIG)

@@ -74,0 +75,0 @@

@@ -16,2 +16,4 @@ 'use strict'

console.log(CONFIG)
const ENV = process.env.NODE_ENV

@@ -18,0 +20,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