Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datom

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datom - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

6

lib/main.js

@@ -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

43

lib/tests/select.test.js

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc