steampipes
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -1,5 +0,4 @@ | ||
// Generated by CoffeeScript 2.5.1 | ||
(function() { | ||
'use strict'; | ||
var CND, badge, debug; | ||
var CND, badge, debug, types; | ||
@@ -13,2 +12,4 @@ //########################################################################################################### | ||
types = require('./types'); | ||
// #----------------------------------------------------------------------------------------------------------- | ||
@@ -66,5 +67,5 @@ // @$sort = ( settings ) -> | ||
var R; | ||
R = CND.type_of(x); | ||
R = types.type_of(x); | ||
if (R === 'infinity') { | ||
return 'number'; | ||
return 'float'; | ||
} else { | ||
@@ -80,7 +81,7 @@ return R; | ||
if (include_list) { | ||
if (type_a !== 'number' && type_a !== 'date' && type_a !== 'text' && type_a !== 'list') { | ||
if (type_a !== 'float' && type_a !== 'date' && type_a !== 'text' && type_a !== 'list') { | ||
throw new Error(`µ36188 unable to compare values of type ${type_a}`); | ||
} | ||
} else { | ||
if (type_a !== 'number' && type_a !== 'date' && type_a !== 'text') { | ||
if (type_a !== 'float' && type_a !== 'date' && type_a !== 'text') { | ||
throw new Error(`µ36953 unable to compare values of type ${type_a}`); | ||
@@ -158,2 +159,2 @@ } | ||
//# sourceMappingURL=sort.js.map | ||
//# sourceMappingURL=sort.js.map |
@@ -138,3 +138,3 @@ (function() { | ||
return this.$(settings, (d, send) => { | ||
if ((CND.isa_list(d)) && (d[0] === take_second)) { | ||
if ((isa.list(d)) && (d[0] === take_second)) { | ||
method(d[1]); | ||
@@ -155,3 +155,3 @@ } else { | ||
var type; | ||
if ((type = CND.type_of(filter)) !== 'function') { | ||
if ((type = type_of(filter)) !== 'function') { | ||
throw new Error(`^steampipes/$filter@5663^ expected a function, got a ${type}`); | ||
@@ -406,1 +406,3 @@ } | ||
}).call(this); | ||
//# sourceMappingURL=standard-transforms.js.map |
@@ -1,2 +0,1 @@ | ||
// Generated by CoffeeScript 2.5.1 | ||
(function() { | ||
@@ -81,3 +80,3 @@ 'use strict'; | ||
// debug jr ( key for key of SP ).sort(); xxx | ||
probes_and_matchers = [[[4, 9, 10, 3, 2, null], [2, 3, 4, 9, 10], null], [[4, 9, 10, 3, 2, null], [2, 3, 4, 9, 10], null], [[4, 9, 10, "frob", 3, 2, null], null, "unable to compare a text to a number"], [["a", 1, "z", "foo"], null, "unable to compare a number to a text"]]; | ||
probes_and_matchers = [[[4, 9, 10, 3, 2, null], [2, 3, 4, 9, 10], null], [[4, 9, 10, 3, 2, null], [2, 3, 4, 9, 10], null], [[4, 9, 10, "frob", 3, 2, null], null, "unable to compare a text to a float"], [["a", 1, "z", "foo"], null, "unable to compare a float to a text"]]; | ||
count = probes_and_matchers.length; | ||
@@ -149,2 +148,2 @@ source = SP.new_push_source(); | ||
//# sourceMappingURL=sort.test.js.map | ||
//# sourceMappingURL=sort.test.js.map |
@@ -1,2 +0,1 @@ | ||
// Generated by CoffeeScript 2.5.1 | ||
(function() { | ||
@@ -71,3 +70,3 @@ 'use strict'; | ||
is_first = false; | ||
type = CND.type_of(data); | ||
type = type_of(data); | ||
switch (type) { | ||
@@ -88,3 +87,3 @@ case 'text': | ||
} else { | ||
if ((this_type = CND.type_of(data)) !== type) { | ||
if ((this_type = type_of(data)) !== type) { | ||
throw new Error(`µ67031 expected a ${type}, got a ${this_type}`); | ||
@@ -112,3 +111,3 @@ } | ||
var type; | ||
if ((type = CND.type_of(line)) !== 'text') { | ||
if ((type = type_of(line)) !== 'text') { | ||
`µ67154 expected a text, got a ${type}`; | ||
@@ -124,3 +123,3 @@ } | ||
var type; | ||
if ((type = CND.type_of(line)) !== 'text') { | ||
if ((type = type_of(line)) !== 'text') { | ||
`µ67277 expected a text, got a ${type}`; | ||
@@ -136,3 +135,3 @@ } | ||
var type; | ||
if ((type = CND.type_of(line)) !== 'text') { | ||
if ((type = type_of(line)) !== 'text') { | ||
`µ67400 expected a text, got a ${type}`; | ||
@@ -148,3 +147,3 @@ } | ||
var type; | ||
if ((type = CND.type_of(line)) !== 'text') { | ||
if ((type = type_of(line)) !== 'text') { | ||
`µ67523 expected a text, got a ${type}`; | ||
@@ -177,2 +176,2 @@ } | ||
//# sourceMappingURL=text.js.map | ||
//# sourceMappingURL=text.js.map |
{ | ||
"name": "steampipes", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "Fast, simple data pipelines", | ||
@@ -30,11 +30,11 @@ "main": "lib/main.js", | ||
"@uppy/fs-tail-stream": "^1.2.0", | ||
"cnd": "^6.0.0", | ||
"datom": "^5.0.0", | ||
"intertype": "^3.4.1", | ||
"multimix": "^2.2.1", | ||
"cnd": "^9.0.0", | ||
"datom": "^7.0.3", | ||
"intertype": "^7.0.2", | ||
"multimix": "^4.1.0", | ||
"timsort": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"guy-test": "^2.0.1" | ||
"guy-test": "^4.0.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1144560
8177
+ Addedcupofjoe@0.1.1(transitive)
+ Addeddatom@7.1.0(transitive)
+ Addedemittery@0.6.0(transitive)
- Removedafter-all-results@2.0.0(transitive)
- Removedansi-styles@1.1.0(transitive)
- Removedasync-cache@1.1.0(transitive)
- Removedcnd@5.3.26.0.1(transitive)
- Removeddatom@5.1.1(transitive)
- Removeddebug@4.3.7(transitive)
- Removedemittery@0.7.2(transitive)
- Removedhookit@1.1.3(transitive)
- Removedin-publish@2.0.1(transitive)
- Removedintertype@3.4.1(transitive)
- Removedletsfreezethat@2.2.5(transitive)
- Removedload-source-map@1.0.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedms@2.1.3(transitive)
- Removedmultimix@2.2.1(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstackman@4.0.1(transitive)
- Removedtrycatch@1.5.21(transitive)
- Removedyallist@2.1.2(transitive)
Updatedcnd@^9.0.0
Updateddatom@^7.0.3
Updatedintertype@^7.0.2
Updatedmultimix@^4.1.0