Comparing version 0.0.7 to 0.0.8
@@ -1,4 +0,5 @@ | ||
"use strict"; | ||
module.exports = require( './lib/jmspy' ); | ||
if (require.extensions['.coffee']) { | ||
module.exports = require('./lib/jmspy.coffee'); | ||
} else { | ||
module.exports = require('./out/release/lib/jmspy.js'); | ||
} |
@@ -5,7 +5,6 @@ { | ||
"test": "", | ||
"version": "0.0.7", | ||
"dependencies": { | ||
"coffee-script": "*" | ||
}, | ||
"version": "0.0.8", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"coffee-script": "*", | ||
"jm-spy": "*", | ||
@@ -20,3 +19,4 @@ "expect.js": "*", | ||
"scripts": { | ||
"test": "make test" | ||
"test": "make test-cov", | ||
"prepublish": "make release" | ||
}, | ||
@@ -26,4 +26,4 @@ "readme": "# Spy module stripped from the jasmine.", | ||
"description": "", | ||
"_id": "jm-spy@0.0.4", | ||
"_id": "jm-spy@0.0.6", | ||
"_from": "jm-spy@*" | ||
} |
@@ -1,2 +0,2 @@ | ||
# jm-spy [![status](http://toast.corp.taobao.com/task/state/id/5622)](http://toast.corp.taobao.com/task/view/id/5622) | ||
# jm-spy | ||
@@ -12,6 +12,6 @@ > jm-spy将[Jasmine 2.0](http://jasmine.github.io/2.0/introduction.html)中的spies封装成独立的模块,用于单元测试中对象方法的mock服务,以及跟踪记录被监测方法的调用及参数情况 | ||
### [spyOn](http://gitlab.alibaba-inc.com/yuhan.wyh/jm-spy/blob/master/examples/spyOn.coffee) | ||
### [spyOn](https://github.com/christineRR/jm-spy/blob/master/examples/spyOn.coffee) | ||
### [createSpy](http://gitlab.alibaba-inc.com/yuhan.wyh/jm-spy/blob/master/examples/createSpy.coffee) | ||
### [createSpy](https://github.com/christineRR/jm-spy/blob/master/examples/createSpy.coffee) | ||
### [createSpyObj](http://gitlab.alibaba-inc.com/yuhan.wyh/jm-spy/blob/master/examples/createSpyObj.coffee) | ||
### [createSpyObj](https://github.com/christineRR/jm-spy/blob/master/examples/createSpyObj.coffee) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
0
5
1
23791
5
- Removedcoffee-script@*
- Removedcoffee-script@1.12.7(transitive)