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

@kakasoo/sortable

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kakasoo/sortable - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

dist/index.d.ts

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

import { DeepStrictObjectKeys } from "@kakasoo/deep-strict-types";
import { DeepStrictObjectLastKeys } from "@kakasoo/deep-strict-types";
import { StringType } from "@kakasoo/proto-typescript";

@@ -11,3 +11,3 @@ import { StringToDeepObject } from "./types";

*/
export declare const createSortable: <T extends object>() => <Key extends DeepStrictObjectKeys<T>, Direction extends "asc" | "desc">(key: Key, direction: Direction) => StringToDeepObject<Split<Key>, Direction>;
export declare const createSortable: <T extends object>() => <Key extends DeepStrictObjectLastKeys<T>, Direction extends "asc" | "desc">(key: Key, direction: Direction) => StringToDeepObject<Split<Key>, Direction>;
export {};
{
"name": "@kakasoo/sortable",
"version": "1.0.6",
"version": "1.0.7",
"main": "dist/index.js",

@@ -22,5 +22,5 @@ "types": "dist/index.d.ts",

"dependencies": {
"@kakasoo/deep-strict-types": "^1.0.1",
"@kakasoo/deep-strict-types": "^1.0.16",
"@kakasoo/proto-typescript": "^1.28.7"
}
}

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

import { DeepStrictObjectKeys } from "@kakasoo/deep-strict-types";
import { DeepStrictObjectLastKeys } from "@kakasoo/deep-strict-types";
import { StringPrototype, StringType } from "@kakasoo/proto-typescript";

@@ -35,3 +35,3 @@ import { StringToDeepObject } from "./types";

<T extends object>() =>
<Key extends DeepStrictObjectKeys<T>, Direction extends "asc" | "desc">(
<Key extends DeepStrictObjectLastKeys<T>, Direction extends "asc" | "desc">(
key: Key,

@@ -38,0 +38,0 @@ direction: Direction

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