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

@expo/json-file

Package Overview
Dependencies
Maintainers
14
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/json-file - npm Package Compare versions

Comparing version 8.1.4 to 8.1.5

4

build/JsonFile.d.ts

@@ -5,3 +5,3 @@ export declare type JSONValue = boolean | number | string | null | JSONArray | JSONObject;

export interface JSONObject {
[key: string]: JSONValue;
[key: string]: JSONValue | undefined;
}

@@ -37,3 +37,3 @@ declare type Options<TJSONObject extends JSONObject> = {

writeAsync(object: TJSONObject, options?: Options<TJSONObject>): Promise<TJSONObject>;
getAsync<K extends keyof TJSONObject, DefaultValue>(key: K, defaultValue: DefaultValue, options?: Options<TJSONObject>): Promise<TJSONObject[K] | DefaultValue>;
getAsync<K extends keyof TJSONObject, TDefault extends TJSONObject[K] | null>(key: K, defaultValue: TDefault, options?: Options<TJSONObject>): Promise<TJSONObject[K] | TDefault>;
setAsync(key: string, value: unknown, options?: Options<TJSONObject>): Promise<TJSONObject>;

@@ -40,0 +40,0 @@ mergeAsync(sources: TJSONObject | Array<TJSONObject>, options?: Options<TJSONObject>): Promise<JSONObject>;

{
"name": "@expo/json-file",
"version": "8.1.4",
"version": "8.1.5",
"description": "A module for reading, writing, and manipulating JSON files",

@@ -40,3 +40,3 @@ "main": "build/JsonFile.js",

"devDependencies": {
"@expo/babel-preset-cli": "^0.1.1",
"@expo/babel-preset-cli": "^0.1.2",
"@types/babel__code-frame": "^7.0.1",

@@ -43,0 +43,0 @@ "@types/fs-extra": "^7.0.0",

Sorry, the diff of this file is not supported yet

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