Socket
Socket
Sign inDemoInstall

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 3.0.1 to 3.1.0

lib/tests/vnr.test.js

3

lib/main.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.0
// Generated by CoffeeScript 2.5.1
(function() {

@@ -314,2 +314,3 @@ 'use strict';

this.settings = LFT.freeze(settings);
this.VNR = require('./vnr');
this.Datom = Datom;

@@ -316,0 +317,0 @@ return this;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.0
// Generated by CoffeeScript 2.5.1
(function() {

@@ -3,0 +3,0 @@ //###########################################################################################################

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.0
// Generated by CoffeeScript 2.5.1
(function() {

@@ -3,0 +3,0 @@ 'use strict';

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.0
// Generated by CoffeeScript 2.5.1
(function() {

@@ -3,0 +3,0 @@ 'use strict';

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.0
// Generated by CoffeeScript 2.5.1
(function() {

@@ -50,2 +50,14 @@ 'use strict';

//-----------------------------------------------------------------------------------------------------------
this.declare('datom_vnr_settings', {
tests: {
"x is a object": function(x) {
return this.isa.object(x);
},
"x.validate is a ?boolean": function(x) {
return (x.validate == null) || this.isa.boolean(x.validate);
}
}
});
//-----------------------------------------------------------------------------------------------------------
this.declare('datom_nonempty_list_of_positive_integers', function(x) {

@@ -117,2 +129,5 @@ if (!this.isa.nonempty_list(x)) {

dirty: true
},
vnr_settings: {
validate: true
}

@@ -119,0 +134,0 @@ };

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.0
// Generated by CoffeeScript 2.5.1
(function() {

@@ -3,0 +3,0 @@ 'use strict';

{
"name": "datom",
"version": "3.0.1",
"version": "3.1.0",
"description": "standardized immutable objects in the spirit of datomic, especially suited for use in data pipelines",

@@ -31,11 +31,11 @@ "main": "lib/main.js",

"dependencies": {
"cnd": "^5.3.0",
"emittery": "^0.5.1",
"intertype": "^3.1.0",
"cnd": "^5.3.1",
"emittery": "^0.6.0",
"intertype": "^3.2.0",
"letsfreezethat": "^2.2.5",
"multimix": "^2.1.1"
"multimix": "^2.2.0"
},
"devDependencies": {
"guy-test": "^1.4.1"
"guy-test": "^1.4.2"
}
}

@@ -29,2 +29,3 @@

- [Managing Scope](#managing-scope)
- [Vectorial NumbeRs (VNRs)](#vectorial-numbers-vnrs)
- [To Do](#to-do)

@@ -235,3 +236,3 @@

a source file a given datom was generated from). Thus, we may give the outline
of a datom as (in a rather informal notation) `d := { key, ?value, ?stamped,...,
of a datom as (in a rather informal notation) `d := { $key, ?$value, ?$stamped,...,
?$, }`.

@@ -395,5 +396,21 @@

# Vectorial NumbeRs (VNRs)
**To Be Written**
* submodule `vnr`, available as `DATOM.VNR`
* lists of integers
* used to order datoms, standard property name is `$vnr`
* ordering done per position in a lexicographic fashion, so
* `[ 1, 2, ]` comes after `[ 1, 1, ]` and before `[ 1, 3, ]`
* can extend to insert arbitrary number of elements in between any two given ones, e.g.
`[ 1, 2, 0, ]`, `[ 1, 2, 1, ]`, `[ 1, 2, 2, ]` all come after `[ 1, 2, ]` but before `[ 1, 3, ]`
<!-- `$vnr`—'vectorial datom number', an array of positive integers that imposes a total ordering on datoms by
which I mean to say that given any two datoms `a`, `b` that are piped through the same stream either
`a.$vnr < b.$vnr` or `a.$vnr > b.$vnr` will always hold, and `a.$vnr == b[ '$vnr' ] <=> a is b`. "the
variable-length Vectorial Number VNR (which starts with the line number of the respective source file and
has additional positions added wherever a processing step inserted material)"
-->
------------------------------------------------------------------------

@@ -407,1 +424,6 @@

* [X] implement Vectorial NumbeRs (VNRs)
* [ ] document Vectorial NumbeRs (VNRs)

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