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

@codemod-utils/json

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemod-utils/json - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

1

dist/index.d.ts

@@ -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';

3

dist/json/convert-to-map.d.ts

@@ -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 @@ },

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