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

@eturino/key-set

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eturino/key-set - npm Package Compare versions

Comparing version 5.6.0 to 5.6.1

2

build/main/lib/key-set/-base.d.ts

@@ -1,3 +0,3 @@

import { IKeyLabel } from "../key-set";
import { EmptyArray, NonEmptyArray } from "../util/array-types";
import { IKeyLabel } from "../util/object-utils";
import { KeySetAll } from "./all";

@@ -4,0 +4,0 @@ import { KeySetAllExceptSome } from "./all-except-some";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isKeySet = exports.isKeySetAllExceptSome = exports.isKeySetSome = exports.isKeySetNone = exports.isKeySetAll = exports.KeySetTypes = exports.isValidKey = void 0;
const key_set_1 = require("../key-set");
const object_utils_1 = require("../util/object-utils");
const all_1 = require("./all");

@@ -12,3 +12,3 @@ const all_except_some_1 = require("./all-except-some");

return true;
return (0, key_set_1.isKeyLabel)(x);
return (0, object_utils_1.isKeyLabel)(x);
}

@@ -46,2 +46,2 @@ exports.isValidKey = isValidKey;

exports.isKeySet = isKeySet;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsd0NBQW1EO0FBRW5ELCtCQUFrQztBQUNsQyx1REFBd0Q7QUFDeEQsaUNBQW9DO0FBQ3BDLGlDQUFvQztBQUlwQyxTQUFnQixVQUFVLENBQUMsQ0FBVTtJQUNuQyxJQUFJLE9BQU8sQ0FBQyxLQUFLLFFBQVEsSUFBSSxPQUFPLENBQUMsS0FBSyxRQUFRO1FBQUUsT0FBTyxJQUFJLENBQ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T0FBTyxXQUFXLENBQUMsQ0FBQyxDQUFDLElBQUksWUFBWSxDQUFDLENBQUMsQ0FBQyxJQUFJLFlBQVksQ0FBQyxDQUFDLENBQUMsSUFBSSxxQkFBcUIsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUMxRixDQUFDO0FBRkQsNEJBRUMifQ==

@@ -1,3 +0,3 @@

import { IKeyLabel } from "../key-set";
import { EmptyArray, NonEmptyArray } from "../util/array-types";
import { IKeyLabel } from "../util/object-utils";
import { KeySetAll } from "./all";

@@ -4,0 +4,0 @@ import { KeySetAllExceptSome } from "./all-except-some";

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

import { isKeyLabel } from "../key-set";
import { isKeyLabel } from "../util/object-utils";
import { KeySetAll } from "./all";

@@ -36,2 +36,2 @@ import { KeySetAllExceptSome } from "./all-except-some";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFhLFVBQVUsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUVuRCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sT0FBTyxDQUFDO0FBQ2xDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFDcEMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUlwQyxNQUFNLFVBQVUsVUFBVSxDQUFDLENBQVU7SUFDbkMsSUFBSSxPQUFPLENBQUMsS0FBSyxRQUFRLElBQUksT0FBTyxDQUFDLEtBQUssUUFBUTtRQUFFLE9BQU8sSUFBSSxDQUFDO0lBQ2hFLE9BQU8sVU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ksbUJBQW1CLENBQUM7QUFDMUMsQ0FBQztBQUlELE1BQU0sVUFBVSxRQUFRLENBQUMsQ0FBVTtJQUNqQyxPQUFPLFdBQVcsQ0FBQyxDQUFDLENBQUMsSUFBSSxZQUFZLENBQUMsQ0FBQyxDQUFDLElBQUksWUFBWSxDQUFDLENBQUMsQ0FBQyxJQUFJLHFCQUFxQixDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQzFGLENBQUMifQ==

@@ -5,2 +5,4 @@ # Changelog

### [5.6.1](https://github.com/eturino/ts-key-set/compare/v5.6.0...v5.6.1) (2024-09-16)
## [5.6.0](https://github.com/eturino/ts-key-set/compare/v5.5.0...v5.6.0) (2023-08-30)

@@ -7,0 +9,0 @@

{
"name": "@eturino/key-set",
"version": "5.6.0",
"version": "5.6.1",
"author": "Eduardo Turiño <eturino@eturino.com>",

@@ -5,0 +5,0 @@ "description": "KeySet with 4 classes to represent concepts of All, None, Some, and AllExceptSome, the last 2 with a sorted uniq list of keys, and all with intersection calculations (TypeScript port of https://github.com/eturino/ruby_key_set)",

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