Comparing version 0.1.1 to 1.0.0
{ | ||
"name": "path-proxy", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "A path proxy object constructor", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -51,2 +51,10 @@ var pathProxy = require('../index'), | ||
context('when the path is a segment followed by a segment with a parameter', function() { | ||
var base = new Base(); | ||
pathProxy.pathProxy(Base, '/foo/baz/{qux}'); | ||
createsAProxyObjectConstructorWith(base.foo(), ['foo'], [], '/foo'); | ||
createsAProxyObjectConstructorWith(base.foo().baz('qux'), ['foo', 'baz', 'qux'], ['qux'], '/foo/baz/qux'); | ||
}); | ||
context('when the path is a segment with a parameter followed by a segment with a parameter', function() { | ||
@@ -53,0 +61,0 @@ var base = new Base(); |
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
8271
143
1