@codemod-utils/json
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -5,1 +5,2 @@ export * from './json/convert-to-map.js'; | ||
export * from './json/validate-package-json.js'; | ||
export * from './types/index.js'; |
@@ -5,1 +5,2 @@ export * from './json/convert-to-map.js'; | ||
export * from './json/validate-package-json.js'; | ||
export * from './types/index.js'; |
@@ -1,2 +0,1 @@ | ||
import type { JsonObject } from '../types/index.js'; | ||
export declare function convertToMap(object?: JsonObject): Map<string, ((string | number | boolean | JsonObject | import("type-fest").JsonValue[] | readonly import("type-fest").JsonValue[]) & (string | number | boolean | JsonObject | import("type-fest").JsonValue[] | readonly import("type-fest").JsonValue[] | undefined)) | null>; | ||
export declare function convertToMap(object?: {}): Map<string, unknown>; |
@@ -1,5 +0,1 @@ | ||
import type { JsonObject } from '../types/index.js'; | ||
import type { convertToMap } from './convert-to-map.js'; | ||
type JsonMap = ReturnType<typeof convertToMap>; | ||
export declare function convertToObject(map?: JsonMap): JsonObject; | ||
export {}; | ||
export declare function convertToObject(map?: Map<any, any>): any; |
@@ -1,2 +0,2 @@ | ||
import type { Entries, JsonObject, PackageJson } from 'type-fest'; | ||
import type { PackageJson, TsConfigJson } from 'type-fest'; | ||
type Options = { | ||
@@ -6,2 +6,2 @@ [key: string]: unknown; | ||
}; | ||
export type { Entries, JsonObject, Options, PackageJson }; | ||
export type { Options, PackageJson, TsConfigJson }; |
{ | ||
"name": "@codemod-utils/json", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Utilities for handling JSON", | ||
@@ -48,5 +48,5 @@ "keywords": [ | ||
"typescript": "^5.1.3", | ||
"@codemod-utils/tests": "0.2.2", | ||
"@shared-configs/prettier": "0.0.0", | ||
"@shared-configs/eslint-config": "0.0.0", | ||
"@codemod-utils/tests": "0.2.1", | ||
"@shared-configs/prettier": "0.0.0", | ||
"@shared-configs/typescript": "0.0.0" | ||
@@ -53,0 +53,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8022
67