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

@sanity/util

Package Overview
Dependencies
Maintainers
61
Versions
1350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/util - npm Package Compare versions

Comparing version 3.58.0 to 3.58.1-canary.22

13

package.json
{
"name": "@sanity/util",
"version": "3.58.0",
"version": "3.58.1-canary.22+6a7349b855",
"description": "Utilities shared across projects of Sanity",

@@ -120,3 +120,3 @@ "keywords": [

"prepublishOnly": "turbo run build",
"test": "jest",
"test": "vitest run",
"watch": "pkg-utils watch"

@@ -126,3 +126,3 @@ },

"@sanity/client": "^6.21.3",
"@sanity/types": "3.58.0",
"@sanity/types": "3.58.1-canary.22+6a7349b855",
"get-random-values-esm": "1.0.2",

@@ -133,6 +133,7 @@ "moment": "^2.29.4",

"devDependencies": {
"@jest/globals": "^29.7.0",
"@repo/package.config": "3.58.0",
"@repo/test-config": "3.57.4",
"@types/moment": "^2.13.0",
"rimraf": "^3.0.2"
"rimraf": "^3.0.2",
"vitest": "^2.1.1"
},

@@ -142,3 +143,3 @@ "engines": {

},
"gitHead": "63e101bd68bfcb4e04be616c99da64e99cb11354"
"gitHead": "6a7349b85515db7618c31512117700d2b95e0c8b"
}
import {types} from 'node:util'
import {describe, expect, it, jest} from '@jest/globals'
import {createClient, type SanityClient} from '@sanity/client'
import {firstValueFrom, from} from 'rxjs'
import {describe, expect, it, vi} from 'vitest'

@@ -20,3 +20,3 @@ import {createClientConcurrencyLimiter} from '../createClientConcurrencyLimiter'

const mockClient = {
fetch: jest.fn(() => deferredPromise),
fetch: vi.fn(() => deferredPromise),
} as unknown as SanityClient

@@ -49,3 +49,3 @@

observable: {
fetch: jest.fn(() => from(deferredPromise)),
fetch: vi.fn(() => from(deferredPromise)),
},

@@ -52,0 +52,0 @@ } as unknown as SanityClient

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

import {it, expect} from '@jest/globals'
import {expect, it} from 'vitest'
import {isDeepEmpty} from '../isDeepEmpty'

@@ -3,0 +4,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