Comparing version 2.3.0 to 2.3.1
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 2.4.1 | ||
(function() { | ||
@@ -179,2 +180,5 @@ 'use strict'; | ||
} | ||
if (indexOf.call(Object.keys($value), '$key') >= 0) { | ||
throw new Error("µ55632 value must not have attribute '$key'"); | ||
} | ||
R = assign({}, $value, ...other, {$key}); | ||
@@ -332,1 +336,3 @@ } else { | ||
}).call(this); | ||
//# sourceMappingURL=main.js.map |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 2.4.1 | ||
(function() { | ||
@@ -358,3 +359,3 @@ 'use strict'; | ||
null, | ||
"not a valid datom_value" | ||
"value must not have attribute '\\$key'" | ||
] | ||
@@ -378,2 +379,40 @@ ]; | ||
//----------------------------------------------------------------------------------------------------------- | ||
this["xxx"] = async function(T, done) { | ||
var DATOM, error, i, len, matcher, new_datom, probe, probes_and_matchers, select; | ||
DATOM = require('../..'); | ||
({new_datom, select} = DATOM.export()); | ||
//......................................................................................................... | ||
probes_and_matchers = [ | ||
[ | ||
[ | ||
'^foo', | ||
{ | ||
time: 1500000, | ||
value: "msg#1" | ||
} | ||
], | ||
{ | ||
"time": 1500000, | ||
"value": "msg#1", | ||
"$key": "^foo" | ||
}, | ||
null | ||
] | ||
]; | ||
//......................................................................................................... | ||
for (i = 0, len = probes_and_matchers.length; i < len; i++) { | ||
[probe, matcher, error] = probes_and_matchers[i]; | ||
await T.perform(probe, matcher, error, function() { | ||
return new Promise(function(resolve, reject) { | ||
var key, value; | ||
[key, value] = probe; | ||
return resolve(new_datom(key, value)); | ||
}); | ||
}); | ||
} | ||
done(); | ||
return null; | ||
}; | ||
//----------------------------------------------------------------------------------------------------------- | ||
this["new_datom (default settings)"] = async function(T, done) { | ||
@@ -794,1 +833,3 @@ var DATOM, error, i, len, matcher, new_datom, probe, probes_and_matchers, select; | ||
}).call(this); | ||
//# sourceMappingURL=select.test.js.map |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 2.4.1 | ||
(function() { | ||
@@ -117,1 +118,3 @@ 'use strict'; | ||
}).call(this); | ||
//# sourceMappingURL=types.js.map |
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 2.4.1 | ||
(function() { | ||
@@ -187,1 +188,3 @@ 'use strict'; | ||
}).call(this); | ||
//# sourceMappingURL=xemitter.mixin.js.map |
{ | ||
"name": "datom", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "standardized immutable objects in the spirit of datomic, especially suited for use in data pipelines", | ||
@@ -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
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
160276
1404