Comparing version 0.0.1 to 1.0.0
{ | ||
"name": "has", | ||
"description": "Object.prototype.hasOwnProperty.call shortcut", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/tarruda/has", | ||
@@ -26,12 +26,10 @@ "author": { | ||
"chai": "~1.7.2", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-mocha-debug": "~0.0.6", | ||
"grunt-exec-jshint": "~0.0.0", | ||
"grunt-release": "~0.5.1", | ||
"grunt-newer": "~0.5.4" | ||
"mocha": "^1.21.4" | ||
}, | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
}, | ||
"scripts": { | ||
"test": "node_modules/mocha/bin/mocha" | ||
} | ||
} |
@@ -5,9 +5,7 @@ global.expect = require('chai').expect; | ||
run({ | ||
'Suite': { | ||
'test': function() { | ||
expect(has({}, 'hasOwnProperty')).to.be.false; | ||
expect(has(Object.prototype, 'hasOwnProperty')).to.be.true; | ||
} | ||
} | ||
describe('has', function() { | ||
it('works!', function() { | ||
expect(has({}, 'hasOwnProperty')).to.be.false; | ||
expect(has(Object.prototype, 'hasOwnProperty')).to.be.true; | ||
}); | ||
}); |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
0
2723
8
12