🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@persistr/clif-plugin-settings

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@persistr/clif-plugin-settings - npm Package Compare versions

Comparing version
1.0.0
to
2.0.0
+3
-4
index.js

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

const settings = require('@persistr/settings')
const Settings = require('@persistr/settings')
const os = require('os')

@@ -7,9 +7,8 @@ module.exports = {

if (isBrowser) {
settings.cfgUseLocalStorage('.persistr.cli')
toolbox.settings = Settings.localStorage('.persistr.cli')
}
else {
settings.cfgUseFile(`${os.homedir}/.persistr.cli`)
toolbox.settings = Settings.file(`${os.homedir}/.persistr.cli`)
}
toolbox.settings = settings
}
}
{
"name": "@persistr/clif-plugin-settings",
"version": "1.0.0",
"version": "2.0.0",
"description": "Persistent settings plugin for @persistr/clif",

@@ -11,3 +11,5 @@ "main": "index.js",

"license": "GPL-3.0-only",
"dependencies": {},
"dependencies": {
"@persistr/settings": "^1.0.0"
},
"browserify": {

@@ -14,0 +16,0 @@ "transform": [