Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "merge", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "yeikos", | ||
"description": "NodeJS Merge is used to merge multiple objects into one object.", | ||
"homepage": "https://github.com/yeikos/nodejs.merge", | ||
"main": "index.js" | ||
"description": "JavaScript/NodeJS Merge is a tool to merge multiple objects into one object, with the possibility of create a new object cloned. His operation is very similar to the jQuery.extend function but more flexible.", | ||
"homepage": "https://github.com/yeikos/js.merge", | ||
"main": "merge.js" | ||
} |
@@ -1,16 +0,52 @@ | ||
NodeJS Merge 1.0.0 | ||
JavaScript/NodeJS Merge v1.1.0 | ||
================================================== | ||
What is this? | ||
What is it? | ||
-------------------------------------- | ||
NodeJS Merge is used to merge multiple objects into one object. | ||
JavaScript/NodeJS Merge is a tool to merge multiple objects into one object, with the possibility of create a new object cloned. His operation is very similar to the [jQuery.extend](http://api.jquery.com/jQuery.extend/) function but more flexible. | ||
Example | ||
-------------------------------------- | ||
Example from NodeJS | ||
-------------- | ||
var Merge = require('merge'), | ||
var merge = require('merge'), // npm install -g merge | ||
original, cloned; | ||
console.log( | ||
merge({ one: 'hello' }, { two: 'world' }) | ||
result = Merge({ one: 'hello' }, { two: 'world' }); | ||
); // {"one": "hello", "two": "world"} | ||
original = { x: { y: 1 } }; | ||
console.log(result); // {"one":"hello","two":"world"} | ||
cloned = merge(true, original); | ||
cloned.x.y++; | ||
console.log(original.x.y, cloned.x.y); // 1, 2 | ||
Example from JavaScript browser | ||
-------------------------- | ||
<script src="http://yeikos.googlecode.com/files/merge.js"></script> | ||
<script> | ||
var original, cloned; | ||
console.log( | ||
merge({ one: 'hello' }, { two: 'world' }) | ||
); // {"one": "hello", "two": "world"} | ||
original = { x: { y: 1 } }; | ||
cloned = merge(true, original); | ||
cloned.x.y++; | ||
console.log(original.x.y, cloned.x.y); // 1, 2 | ||
</script> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
1266640
275
0
20104
52
1
28
5