Socket
Socket
Sign inDemoInstall

@iabtcf-preprod/core

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.8 to 1.5.9

3

lib/cjs/model/BinarySearchTree.d.ts

@@ -23,4 +23,3 @@ import { Cloneable } from '../Cloneable.js';

/**
* Build Binary Search Tree from the ordered number array.
* The depth of the tree will be the `log2` of the array length.
* Build Binary Search Tree from the ordered number array
* @param {number[]} values number array in ascending order

@@ -27,0 +26,0 @@ * @return {BinarySearchTree} Binary Search Tree

@@ -23,4 +23,3 @@ import { Cloneable } from '../Cloneable.js';

/**
* Build Binary Search Tree from the ordered number array.
* The depth of the tree will be the `log2` of the array length.
* Build Binary Search Tree from the ordered number array
* @param {number[]} values number array in ascending order

@@ -27,0 +26,0 @@ * @return {BinarySearchTree} Binary Search Tree

@@ -235,4 +235,3 @@ import { Cloneable } from '../Cloneable.js';

/**
* Build Binary Search Tree from the ordered number array.
* The depth of the tree will be the `log2` of the array length.
* Build Binary Search Tree from the ordered number array
* @param {number[]} values number array in ascending order

@@ -239,0 +238,0 @@ * @return {BinarySearchTree} Binary Search Tree

@@ -110,9 +110,6 @@ import { PurposeRestriction } from './PurposeRestriction.js';

})();
/**
* Create an ordered array of vendor IDs from `1` (the minimum value for Vendor ID) to `lastEntry`
*/
const values = [...Array(lastEntry).keys()].map((i) => i + 1);
for (let i = 1; i <= lastEntry; i++) {
if (!this.has(hash)) {
this.map.set(hash, BinarySearchTree.build(values)); // use static method `build` to create a `BST` from the ordered array of IDs
this.map.set(hash, BinarySearchTree.build(values));
this.bitLength = 0;

@@ -119,0 +116,0 @@ }

{
"name": "@iabtcf-preprod/core",
"version": "1.5.8",
"version": "1.5.9",
"description": "Ensures consistent encoding and decoding of TC Signals for the iab. Transparency and Consent Framework (TCF).",

@@ -31,3 +31,3 @@ "author": "Chris Paterson <tcf@chrispaterson.io>",

"devDependencies": {
"@iabtcf-preprod/testing": "1.5.8",
"@iabtcf-preprod/testing": "1.5.9",
"@istanbuljs/nyc-config-typescript": "^0.1.3",

@@ -34,0 +34,0 @@ "@types/sinon": "^10.0.11",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc