expo-firebase-core
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -11,2 +11,15 @@ # Changelog | ||
### 💡 Others | ||
## 3.1.0 — 2021-06-16 | ||
### 🐛 Bug fixes | ||
- Enable kotlin in all modules. ([#12716](https://github.com/expo/expo/pull/12716) by [@wschurman](https://github.com/wschurman)) | ||
### 💡 Others | ||
- Removed unnecessary dependency on `unimodules-constants-interface`. ([#12876](https://github.com/expo/expo/pull/12876) by [@tsapeta](https://github.com/tsapeta)) | ||
- Build Android code using Java 8 to fix Android instrumented test build error. ([#12939](https://github.com/expo/expo/pull/12939) by [@kudo](https://github.com/kudo)) | ||
## 3.0.0 — 2021-03-10 | ||
@@ -13,0 +26,0 @@ |
{ | ||
"name": "expo-firebase-core", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Core support for Google Firebase", | ||
@@ -43,3 +43,3 @@ "main": "build/FirebaseCore.js", | ||
}, | ||
"gitHead": "5b57d1fd0a20294c1dec7c43b5df34dd6425d1a5" | ||
"gitHead": "c80d4c938920c5111e34c2dbca3a6bf500dff0e1" | ||
} |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
@@ -24,3 +8,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
const config_plugins_1 = require("@expo/config-plugins"); | ||
const fs = __importStar(require("fs-extra")); | ||
const fs_1 = __importDefault(require("fs")); | ||
const pkg = require('expo-firebase-core/package.json'); | ||
@@ -48,3 +32,3 @@ const methodInvocationBlock = `[FIRApp configure];`; | ||
const fileInfo = config_plugins_1.IOSConfig.Paths.getAppDelegate(config.modRequest.projectRoot); | ||
let contents = await fs.readFile(fileInfo.path, 'utf-8'); | ||
let contents = fs_1.default.readFileSync(fileInfo.path, { encoding: 'utf8' }); | ||
if (fileInfo.language === 'objc') { | ||
@@ -57,3 +41,3 @@ contents = modifyObjcAppDelegate(contents); | ||
} | ||
await fs.writeFile(fileInfo.path, contents); | ||
fs_1.default.writeFileSync(fileInfo.path, contents); | ||
return config; | ||
@@ -60,0 +44,0 @@ }, |
@@ -7,3 +7,3 @@ import { | ||
} from '@expo/config-plugins'; | ||
import * as fs from 'fs-extra'; | ||
import fs from 'fs'; | ||
@@ -42,3 +42,3 @@ const pkg = require('expo-firebase-core/package.json'); | ||
const fileInfo = IOSConfig.Paths.getAppDelegate(config.modRequest.projectRoot); | ||
let contents = await fs.readFile(fileInfo.path, 'utf-8'); | ||
let contents = fs.readFileSync(fileInfo.path, { encoding: 'utf8' }); | ||
if (fileInfo.language === 'objc') { | ||
@@ -52,3 +52,3 @@ contents = modifyObjcAppDelegate(contents); | ||
} | ||
await fs.writeFile(fileInfo.path, contents); | ||
fs.writeFileSync(fileInfo.path, contents); | ||
@@ -55,0 +55,0 @@ return config; |
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
38079
327