Comparing version 0.7.14 to 1.0.0
54
index.js
@@ -1,13 +0,47 @@ | ||
require('mootools'); | ||
require('mootools-more'); | ||
var implement = function(obj, hash){ | ||
Object.each(hash, function(v, k){ | ||
obj.prototype[k] = v; | ||
}); | ||
}; | ||
require('./src/mts/Events.Pseudos.js'); | ||
require('./src/natives.js'); | ||
require('./src/node/child_process.js'); | ||
require('./src/node/fs.js'); | ||
require('./src/node/path.js'); | ||
require('./src/node/http.js'); | ||
require('./src/node/util.js'); | ||
require('./src/zero_functions.js'); | ||
var extend = function(obj, hash){ | ||
Object.each(hash, function(v, k){ | ||
obj[k] = v; | ||
}); | ||
}; | ||
Array.each = function(array, callback) { | ||
array.forEach(callback); | ||
}; | ||
Object.each = function(obj, callback){ | ||
for(var i in obj) | ||
if (obj.hasOwnProperty(i)) | ||
callback(obj[i], i); | ||
}; | ||
Object.column = function(that, column_key, index_key){ | ||
var o = {}; | ||
Object.each(that, function(v, k) { | ||
o[index_key ? v[index_key] : k] = v[column_key]; | ||
}); | ||
return o; | ||
} | ||
Array.each([Array, Object, String, Buffer], function(type){ | ||
type.implement = function(hash){ return implement(type, hash) }; | ||
type.extend = function(hash){ return extend(type, hash) }; | ||
}); | ||
require('./natives/array.js'); | ||
require('./natives/buffer.js'); | ||
require('./natives/object.js'); | ||
require('./natives/string.js'); | ||
require('./natives/math.js'); | ||
module.exports = {}; |
{ | ||
"name": "nyks", | ||
"version": "0.7.14", | ||
"version": "1.0.0", | ||
"description": "nodejs exupery style", | ||
@@ -10,6 +10,3 @@ "keywords": [ | ||
], | ||
"dependencies": { | ||
"mootools": "^1.5.1", | ||
"mootools-more": "^1.5.1" | ||
}, | ||
"dependencies": { }, | ||
"homepage": "http://github.com/131/nyks", | ||
@@ -16,0 +13,0 @@ "main": "./index.js", |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
0
13731
14
343
4
- Removedmootools@^1.5.1
- Removedmootools-more@^1.5.1
- Removedmootools@1.5.2(transitive)
- Removedmootools-more@1.5.2(transitive)