Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

order-book

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

order-book - npm Package Compare versions

Comparing version
0.4.0
to
0.4.1
+4
-0
CHANGES.md
## Changelog
### 0.4.1 (2021-10-12)
* Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated
* Bugfix: setting ordering on a sorted dict before checking that it was created successfully
### 0.4.0 (2021-09-16)

@@ -4,0 +8,0 @@ * Feature: changes to code and setup.py to enable compiling on windows

Metadata-Version: 2.1
Name: order-book
Version: 0.4.0
Version: 0.4.1
Summary: A fast orderbook implementation, in C, for Python

@@ -130,2 +130,6 @@ Home-page: https://github.com/bmoscon/orderbook

### 0.4.1 (2021-10-12)
* Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated
* Bugfix: setting ordering on a sorted dict before checking that it was created successfully
### 0.4.0 (2021-09-16)

@@ -132,0 +136,0 @@ * Feature: changes to code and setup.py to enable compiling on windows

+4
-6

@@ -28,12 +28,10 @@ /*

self->bids = (SortedDict *)SortedDict_new(&SortedDictType, NULL, NULL);
self->bids->ordering = DESCENDING;
if (!self->bids) {
if (self->bids == NULL) {
Py_DECREF(self);
return NULL;
}
Py_INCREF(self->bids);
self->bids->ordering = DESCENDING;
self->asks = (SortedDict *)SortedDict_new(&SortedDictType, NULL, NULL);
self->asks->ordering = ASCENDING;
if (!self->asks) {
if (self->asks == NULL) {
Py_DECREF(self->bids);

@@ -43,4 +41,4 @@ Py_DECREF(self);

}
self->asks->ordering = ASCENDING;
Py_INCREF(self->asks);
self->max_depth = 0;

@@ -47,0 +45,0 @@ self->truncate = false;

Metadata-Version: 2.1
Name: order_book
Version: 0.4.0
Version: 0.4.1
Summary: A fast orderbook implementation, in C, for Python

@@ -130,2 +130,6 @@ Home-page: https://github.com/bmoscon/orderbook

### 0.4.1 (2021-10-12)
* Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated
* Bugfix: setting ordering on a sorted dict before checking that it was created successfully
### 0.4.0 (2021-09-16)

@@ -132,0 +136,0 @@ * Feature: changes to code and setup.py to enable compiling on windows

@@ -38,3 +38,3 @@ '''

name='order_book',
version='0.4.0',
version='0.4.1',
author="Bryant Moscon",

@@ -41,0 +41,0 @@ author_email="bmoscon@gmail.com",