Socket
Socket
Sign inDemoInstall

perf-marks

Package Overview
Dependencies
1
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.10.1 to 1.11.0

dist/cjs/entrypoints/utils.d.ts

15

CHANGELOG.md

@@ -10,2 +10,11 @@ # Change Log

## [1.11.0][] - 2020-07-25
### Added
- Adding new entry point for checkers. These checkers are exposing
- `isNodeJSEnv`: Boolean with the result of the check if package is running on the browser or in a NodeJS environment
- `isPerformanceObservableSupported`: Boolean with the result of the check if `PerformanceObservable` is supported for the current browser/NodeJS version
- `isUserTimingAPISupported`: Boolean with the result of the check if User Timing API is supported for the current browser/NodeJS version
## [1.10.1][] - 2020-07-25

@@ -246,5 +255,7 @@

[1.10.0]: https://github.com/willmendesneto/perf-marks/tree/v1.10.0
[unreleased]: https://github.com/willmendesneto/perf-marks/compare/v1.10.1...HEAD
[1.10.1]: https://github.com/willmendesneto/perf-marks/tree/v1.10.1
[Unreleased]: https://github.com/willmendesneto/perf-marks/compare/v1.10.1...HEAD
[1.10.1]: https://github.com/willmendesneto/perf-marks/tree/v1.10.1
[Unreleased]: https://github.com/willmendesneto/perf-marks/compare/v1.11.0...HEAD
[1.11.0]: https://github.com/willmendesneto/perf-marks/tree/v1.11.0

2

package.json
{
"name": "perf-marks",
"version": "1.10.1",
"version": "1.11.0",
"author": "Will Mendes <willmendesneto@gmail.com>",

@@ -5,0 +5,0 @@ "description": "The simplest and lightweight solution for User Timing API in Javascript.",

@@ -244,7 +244,11 @@ # Perf-marks

- `clearAll`: Frontend and Backend support
- `isUserTimingAPISupported`: Frontend and Backend support
- `isPerformanceObservableSupported`: Frontend and Backend support
- `isUserTimingAPISupported`: _Deprecated (will be removed in v2). Use the value imported from `perf-marks/utils` instead_. Frontend and Backend support
- `isPerformanceObservableSupported`: _Deprecated (will be removed in v2). Use the value imported from `perf-marks/utils` instead_. Frontend and Backend support
- `perf-marks/entries`: it has all the methods to get entries
- `getNavigationMarker`: Frontend support only
- `getEntriesByType`: frontend support only
- `perf-marks/utils`: it has all the feature, and platform checks and validations
- `isNodeJSEnv`: Boolean with the result of the check if package is running on the browser or in a NodeJS environment
- `isPerformanceObservableSupported`: Boolean with the result of the check if `PerformanceObservable` is supported for the current browser/NodeJS version
- `isUserTimingAPISupported`: Boolean with the result of the check if User Timing API is supported for the current browser/NodeJS version

@@ -251,0 +255,0 @@ If you need optimize your bundle size even more, this package provides different bundles for `CommonJS`, `UMD`, `ESM` and `ES2015`. To make the dev experience smoothiest as possible, you can use `babel-plugin-transform-imports` in your app and configure the bundle that fits the most for your app!

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc