Socket
Socket
Sign inDemoInstall

@sanity/util

Package Overview
Dependencies
37
Maintainers
48
Versions
1271
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.37.3-cds-unstable.27 to 3.38.0

6

lib/fs.esm.js

@@ -1,4 +0,4 @@

import fs from "fs/promises";
import os from "os";
import path from "path";
import fs from "node:fs/promises";
import os from "node:os";
import path from "node:path";
async function pathIsEmpty(dir) {

@@ -5,0 +5,0 @@ try {

"use strict";
Object.defineProperty(exports, "__esModule", { value: !0 });
var fs = require("fs/promises"), os = require("os"), path = require("path");
var fs = require("node:fs/promises"), os = require("node:os"), path = require("node:path");
function _interopDefaultCompat(e) {

@@ -5,0 +5,0 @@ return e && typeof e == "object" && "default" in e ? e : { default: e };

{
"name": "@sanity/util",
"version": "3.37.3-cds-unstable.27+a9843a2384",
"version": "3.38.0",
"description": "Utilities shared across projects of Sanity",

@@ -78,3 +78,2 @@ "keywords": [

"module": "./lib/index.esm.js",
"source": "./src/_exports/index.ts",
"types": "./lib/index.d.ts",

@@ -118,5 +117,4 @@ "typesVersions": {

"scripts": {
"build": "run-s clean && pkg-utils build --strict",
"check:package": "pkg-utils --strict",
"check:types": "tsc",
"build": "pkg-utils build --strict --check --clean",
"check:types": "tsc --project tsconfig.lib.json",
"clean": "rimraf client.js concurrency-limiter.js content.js createSafeJsonParser.js fs.js legacyDateFormat.js lib paths.js",

@@ -128,4 +126,4 @@ "prepublishOnly": "turbo run build",

"dependencies": {
"@sanity/client": "^6.15.11",
"@sanity/types": "3.37.3-cds-unstable.27+a9843a2384",
"@sanity/client": "^6.15.14",
"@sanity/types": "3.38.0",
"get-random-values-esm": "1.0.2",

@@ -137,3 +135,3 @@ "moment": "^2.29.4",

"@jest/globals": "^29.7.0",
"@repo/package.config": "3.37.2",
"@repo/package.config": "3.38.0",
"@types/moment": "^2.13.0",

@@ -145,3 +143,3 @@ "rimraf": "^3.0.2"

},
"gitHead": "a9843a2384fafc656ab5a15d3ce63b2f223c52b0"
"gitHead": "e0a8b806aa6b1b7f812263e4c5cddf75501af5a8"
}

@@ -0,5 +1,6 @@

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 {types} from 'util'

@@ -6,0 +7,0 @@ import {createClientConcurrencyLimiter} from '../createClientConcurrencyLimiter'

@@ -1,4 +0,4 @@

import fs from 'fs/promises'
import os from 'os'
import path from 'path'
import fs from 'node:fs/promises'
import os from 'node:os'
import path from 'node:path'

@@ -5,0 +5,0 @@ export async function pathIsEmpty(dir: string): Promise<boolean> {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc