Comparing version 1.3.1 to 1.3.2
@@ -149,3 +149,3 @@ // Generated by CoffeeScript 2.5.1 | ||
if (S.keys == null) { | ||
if (CND.isa_list(data)) { | ||
if (isa.list(data)) { | ||
S.keys = (function() { | ||
@@ -160,3 +160,3 @@ var i, len, results; | ||
})(); | ||
} else if (CND.isa_pod(data)) { | ||
} else if (isa.object(data)) { | ||
S.keys = (function() { | ||
@@ -171,3 +171,3 @@ var results; | ||
} else { | ||
return send.error(new Error(`expected a list or a POD, got a ${CND.type_of(data)}`)); | ||
throw new Error(`expected a list or a POD, got a ${CND.type_of(data)}`); | ||
} | ||
@@ -435,6 +435,6 @@ } | ||
copy = function(x) { | ||
if (CND.isa_list(x)) { | ||
if (isa.list(x)) { | ||
return Object.assign([], x); | ||
} | ||
if (CND.isa_pod(x)) { | ||
if (isa.object(x)) { | ||
return Object.assign({}, x); | ||
@@ -441,0 +441,0 @@ } |
{ | ||
"name": "intertext", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Services for Recurrent Text-related Tasks", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
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
682962