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

@expo/json-file

Package Overview
Dependencies
Maintainers
19
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.2.1 to 8.2.2

build/JsonFile.js.flow

7

build/JsonFile.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -93,5 +94,6 @@ });

_getOptions(options) {
return Object.assign({}, this.options, options);
return Object.assign(Object.assign({}, this.options), options);
}
}
exports.default = JsonFile;
JsonFile.read = read;

@@ -107,3 +109,2 @@ JsonFile.readAsync = readAsync;

JsonFile.rewriteAsync = rewriteAsync;
exports.default = JsonFile;
function read(file, options) {

@@ -110,0 +111,0 @@ let json;

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

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

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

@@ -50,4 +50,3 @@ "@types/fs-extra": "^7.0.0",

"jest": "^24.8.0",
"prettier": "^1.7.4",
"typescript": "3.4.5"
"prettier": "^1.7.4"
},

@@ -54,0 +53,0 @@ "publishConfig": {

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