expo-application
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -53,3 +53,3 @@ import { UnavailabilityError } from '@unimodules/core'; | ||
} | ||
let installationTime = await ExpoApplication.getInstallationTimeAsync(); | ||
const installationTime = await ExpoApplication.getInstallationTimeAsync(); | ||
return new Date(installationTime); | ||
@@ -61,5 +61,5 @@ } | ||
} | ||
let lastUpdateTime = await ExpoApplication.getLastUpdateTimeAsync(); | ||
const lastUpdateTime = await ExpoApplication.getLastUpdateTimeAsync(); | ||
return new Date(lastUpdateTime); | ||
} | ||
//# sourceMappingURL=Application.js.map |
{ | ||
"name": "expo-application", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A universal module that gets native application information such as its ID, app name, and build version at runtime", | ||
@@ -36,5 +36,5 @@ "main": "build/Application.js", | ||
"peerDependencies": { | ||
"@unimodules/core": "~1.0.0" | ||
"@unimodules/core": "*" | ||
}, | ||
"gitHead": "3ad68bbd9847ebc8a55272c263b17d998a92f64f" | ||
} | ||
"gitHead": "ec7998e573483e31acc25e52cb31a0df8c0a6784" | ||
} |
@@ -60,3 +60,3 @@ import { UnavailabilityError } from '@unimodules/core'; | ||
} | ||
let installationTime = await ExpoApplication.getInstallationTimeAsync(); | ||
const installationTime = await ExpoApplication.getInstallationTimeAsync(); | ||
return new Date(installationTime); | ||
@@ -69,4 +69,4 @@ } | ||
} | ||
let lastUpdateTime = await ExpoApplication.getLastUpdateTimeAsync(); | ||
const lastUpdateTime = await ExpoApplication.getLastUpdateTimeAsync(); | ||
return new Date(lastUpdateTime); | ||
} |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34175
32