@sanity/util
Advanced tools
Comparing version 3.37.2 to 3.37.3-canary.22
@@ -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.2", | ||
"version": "3.37.3-canary.22+87b1e4aed5", | ||
"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,4 +117,3 @@ "typesVersions": { | ||
"scripts": { | ||
"build": "run-s clean && pkg-utils build --strict", | ||
"check:package": "pkg-utils --strict", | ||
"build": "pkg-utils build --strict --check --clean", | ||
"check:types": "tsc", | ||
@@ -128,4 +126,4 @@ "clean": "rimraf client.js concurrency-limiter.js content.js createSafeJsonParser.js fs.js legacyDateFormat.js lib paths.js", | ||
"dependencies": { | ||
"@sanity/client": "^6.15.11", | ||
"@sanity/types": "3.37.2", | ||
"@sanity/client": "^6.15.13", | ||
"@sanity/types": "3.37.3-canary.22+87b1e4aed5", | ||
"get-random-values-esm": "1.0.2", | ||
@@ -144,3 +142,3 @@ "moment": "^2.29.4", | ||
}, | ||
"gitHead": "f6e553a81601ae8babeff020391bdc5b5d5c7376" | ||
"gitHead": "87b1e4aed5249f88d38bedc01404a094e3468922" | ||
} |
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
176443
0
1
1
- Removed@sanity/types@3.37.2(transitive)
- Removed@types/prop-types@15.7.12(transitive)
- Removed@types/react@18.3.3(transitive)
- Removedcsstype@3.1.3(transitive)
Updated@sanity/client@^6.15.13