Socket
Socket
Sign inDemoInstall

@furystack/utils

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/utils - npm Package Compare versions

Comparing version 4.0.9 to 4.0.10

esm/debounce.spec.d.ts

2

esm/sort-by.d.ts

@@ -12,3 +12,3 @@ declare global {

}
export declare const compareBy: <T, K extends keyof T>(entity1: T, entity2: T, field: K, direction: 'asc' | 'desc') => 0 | 1 | -1;
export declare const compareBy: <T, K extends keyof T>(entity1: T, entity2: T, field: K, direction: 'asc' | 'desc') => 1 | 0 | -1;
//# sourceMappingURL=sort-by.d.ts.map
{
"name": "@furystack/utils",
"version": "4.0.9",
"version": "4.0.10",
"description": "General utilities",

@@ -38,4 +38,4 @@ "type": "module",

"typescript": "^5.2.2",
"vitest": "^0.34.3"
"vitest": "^0.34.6"
}
}
import { describe, it, expect, vi } from 'vitest'
import { debounce } from './debounce'
import { sleepAsync } from './sleep-async'
import { debounce } from './debounce.js'
import { sleepAsync } from './sleep-async.js'

@@ -5,0 +5,0 @@ /**

import { describe, it, expect } from 'vitest'
import { deepMerge } from './deep-merge'
import { deepMerge } from './deep-merge.js'

@@ -27,3 +27,3 @@ describe('DeepMerge tests', () => {

it('Should respect falsy but defined values (false)', () => {
expect(deepMerge({ a: true }, { a: false })).toEqual({ a: false })
expect(deepMerge<{ a: boolean }>({ a: true }, { a: false })).toEqual({ a: false })
})

@@ -30,0 +30,0 @@

import { describe, it, expect, vi } from 'vitest'
import type { Disposable } from './disposable'
import { using, usingAsync } from './disposable'
import type { Disposable } from './disposable.js'
import { using, usingAsync } from './disposable.js'

@@ -5,0 +5,0 @@ export class MockDisposable implements Disposable {

import { describe, it, expect, vi } from 'vitest'
import { ObservableValue } from './observable-value'
import { ObservableValue } from './observable-value.js'

@@ -4,0 +4,0 @@ /**

import { describe, it, expect } from 'vitest'
import { PathHelper } from './path-helper'
import { PathHelper } from './path-helper.js'

@@ -4,0 +4,0 @@ /**

import { describe, it, expect } from 'vitest'
import { sleepAsync } from './sleep-async'
import { sleepAsync } from './sleep-async.js'

@@ -4,0 +4,0 @@ /**

import { describe, it, expect, vi } from 'vitest'
import { Trace } from './trace'
import { Trace } from './trace.js'

@@ -4,0 +4,0 @@ class MockClass {

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

import { tuple } from './tuple'
import { tuple } from './tuple.js'
import { describe, it, expect } from 'vitest'

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

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