Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "nyks", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "nodejs exupery style", | ||
@@ -11,7 +11,5 @@ "keywords": [ | ||
"dependencies": { | ||
"mootools": "*", | ||
"mootools-more" : "*", | ||
"ini" : "*" | ||
"mootools": "*", | ||
"mootools-more": "*" | ||
}, | ||
"homepage": "http://github.com/131/nyks", | ||
@@ -18,0 +16,0 @@ "main": "./index.js", |
@@ -19,2 +19,6 @@ nyks provide a set of "missing" stuffs in nodejs basic api. | ||
# Natives | ||
## Object | ||
* Object.sort(obj, keys) | ||
Return a new object based on obj's existings keys | ||
## Buffer | ||
@@ -21,0 +25,0 @@ * Buffer.prototype.indexOf(byte) |
@@ -9,2 +9,10 @@ Buffer.implement({ | ||
Object.sort = function(that, keys){ | ||
var o = {}; | ||
Array.each(keys, function(k){ | ||
if(k in that) o[k] = that[k]; | ||
}); | ||
return o; | ||
}; | ||
String.implement({ | ||
@@ -11,0 +19,0 @@ startsWith: function(str){ |
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
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
3396
2
59
3
44