Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

parfait

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parfait - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+3
-3
package.json
{
"name": "parfait",
"version": "0.2.0",
"version": "0.2.1",
"author": "David M. Lee, II <leedm777@yahoo.com>",

@@ -26,3 +26,4 @@ "description": "A sweet multi-layered configuration framework",

"js-yaml": "^3.0.1",
"appdirs": "^0.1.1"
"appdirs": "^0.1.1",
"coffee-script": "^1.7.1"
},

@@ -33,3 +34,2 @@ "devDependencies": {

"blanket": "^1.1.6",
"coffee-script": "^1.7.1",
"chai-as-promised": "^4.1.0",

@@ -36,0 +36,0 @@ "mocha-as-promised": "^2.0.0",

+19
-13

@@ -53,3 +53,3 @@ # Parfait.js

// If specified, user and site config can be processed on Unixes
'appName': SuperApp',
'appName': 'SuperApp',
// If specified, user and site config can be processed on Windows

@@ -100,17 +100,23 @@ 'appAuthor': 'Acme'

* Array append/prepend (either single item or another array)
# Append 'bar' to the array 'foo'
"foo+": "bar"
# Append 'bar', 'bam', 'bang' to the array 'foo'
"foo+": [ "bar", "bam", "bang" ]
# Prepend 'bar' to the array 'foo'
"+foo": "bar"
```yaml
# Append 'bar' to the array 'foo'
"foo+": "bar"
# Append 'bar', 'bam', 'bang' to the array 'foo'
"foo+": [ "bar", "bam", "bang" ]
# Prepend 'bar' to the array 'foo'
"+foo": "bar"
```
* Object replacement instead of merging
# Discard 'foo' and replace with empty object
"foo=": {}
# Discard 'foo' and replace with given object
"foo=": { "bar": 3.14159 }
```yaml
# Discard 'foo' and replace with empty object
"foo=": {}
# Discard 'foo' and replace with given object
"foo=": { "bar": 3.14159 }
```
* Individual key deleltion
# Remove 'foo'
"foo-": null
```yaml
# Remove 'foo'
"foo-": null
```
[hosted on NPM]: https://www.npmjs.org/package/parfait