A. semver.satisfies('~1.2.3', '1.2.4')
true
B. semver.satisfies('~1.2', '1.3.0')
true
C. semver.satisfies('~1.2', '1.2.6')
true
D. semver.satisfies('1.2', '1.3.0')
false
E. semver.satisfies('1.2', '1.2.4')
true
--
Sincerely, Christian Vaagland Tellnes
Phone: +4791861617
On Thursday, May 30, 2013 12:52:47 PM UTC-7, Dominic wrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A. semver.satisfies('~1.2.3', '1.2.4')
True, because 1.2.3 seems to be approximately 1.2.4
10 points for alex kocharin (assuming he didn't cheat)
for the purposes of this survey it's semver.sasisfies(semverRange, semverValue)
On Fri, May 31, 2013 at 8:05 AM, dhruvbird dhruvb...@gmail.com wrote:
On Thursday, May 30, 2013 12:52:47 PM UTC-7, Dominic wrote:
without looking in the
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A. semver.satisfies('~1.2.3', '1.2.4')
B. semver.satisfies('~1.2', '1.3.0')
C. semver.satisfies('~1.2', '1.2.6')
D. semver.satisfies('1.2', '1.3.0')
E.
On Thu, May 30, 2013 at 12:52 PM, Dominic Tarr dominic.t...@gmail.comwrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A. semver.satisfies('~1.2.3', '1.2.4')
true-y
B. semver.satisfies('~1.2',
On May 30, 2013, at 3:52 PM, Dominic Tarr dominic.t...@gmail.com wrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A. semver.satisfies('~1.2.3', '1.2.4')
B. semver.satisfies('~1.2', '1.3.0')
C.
A. semver.satisfies('~1.2.3', '1.2.4')
yes
B. semver.satisfies('~1.2', '1.3.0')
yes
C. semver.satisfies('~1.2', '1.2.6')
yes
D. semver.satisfies('1.2', '1.3.0')
no
E. semver.satisfies('1.2', '1.2.4')
no
On Thu, May 30, 2013 at 1:45 PM, Kevin Swiber kswi...@gmail.com wrote:
On May 30,
A. semver.satisfies('~1.2.3', '1.2.4') = true
B. semver.satisfies('~1.2', '1.3.0') = false
C. semver.satisfies('~1.2', '1.2.6') = true
D. semver.satisfies('1.2', '1.3.0') = false
E. semver.satisfies('1.2', '1.2.4') = true
My understanding is similar to Forrest's. ~1.2.3 means 1.2.3 = version
A - true
B - true
C - true
D - false
E - true
Time to look at the documentation :)
On Thu, May 30, 2013 at 09:52:47PM +0200, Dominic Tarr wrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A.
Also: No looking at the code or running the semver command line util ;)
On Thu, May 30, 2013 at 2:48 PM, Tim Smart t...@fostle.com wrote:
A - true
B - true
C - true
D - false
E - true
Time to look at the documentation :)
On Thu, May 30, 2013 at 09:52:47PM +0200, Dominic Tarr wrote:
On 5/30/13 3:52 PM, Dominic Tarr wrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A. semver.satisfies('~1.2.3', '1.2.4')
B. semver.satisfies('~1.2', '1.3.0')
C. semver.satisfies('~1.2', '1.2.6')
D.
A. false
B. false
C. false
D. false
E. false
'cause you submitted the arguments in a wrong order. ;)
On Thursday, May 30, 2013 11:52:47 PM UTC+4, Dominic wrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver
A. YES
B. NO
C. YES
D. NO
E. YES
On Friday, May 31, 2013 2:52:47 AM UTC+7, Dominic wrote:
without looking in the documentation or trying it in the repl
what do you expect to be the results of these tests on semver ranges?
A. semver.satisfies('~1.2.3', '1.2.4')
B.
Meaning:
A: Around this version, so get the most recent version that's still not too
far from 1.2
B: 1.3 might have API changes, don't want it. I have programmed against 1.2
so let's stick to that for the moment
C: Around this version, like A
D: 1.2 with whatever patch version's available but
14 matches
Mail list logo