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

@reach/utils

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reach/utils - npm Package Compare versions

Comparing version 0.13.2 to 0.14.0

6

dist/declarations/src/index.d.ts

@@ -52,8 +52,2 @@ import * as React from "react";

/**
* Ponyfill for the global object in some environments.
*
* @link https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
*/
export declare const ponyfillGlobal: any;
/**
* Passes or assigns an arbitrary value to a ref function or object.

@@ -60,0 +54,0 @@ *

@@ -108,12 +108,2 @@ 'use strict';

/**
* Ponyfill for the global object in some environments.
*
* @link https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
*/
var ponyfillGlobal = typeof window != "undefined" && window.Math == Math ? window : typeof self != "undefined" && self.Math == Math ? self :
/*#__PURE__*/
// eslint-disable-next-line no-new-func
Function("return this")();
/**
* Passes or assigns an arbitrary value to a ref function or object.

@@ -713,3 +703,2 @@ *

exports.noop = noop;
exports.ponyfillGlobal = ponyfillGlobal;
exports.stateToAttributeString = stateToAttributeString;

@@ -716,0 +705,0 @@ exports.useCallbackProp = useCallbackProp;

@@ -85,12 +85,2 @@ 'use strict';

/**
* Ponyfill for the global object in some environments.
*
* @link https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
*/
var ponyfillGlobal = typeof window != "undefined" && window.Math == Math ? window : typeof self != "undefined" && self.Math == Math ? self :
/*#__PURE__*/
// eslint-disable-next-line no-new-func
Function("return this")();
/**
* Passes or assigns an arbitrary value to a ref function or object.

@@ -629,3 +619,2 @@ *

exports.noop = noop;
exports.ponyfillGlobal = ponyfillGlobal;
exports.stateToAttributeString = stateToAttributeString;

@@ -632,0 +621,0 @@ exports.useCallbackProp = useCallbackProp;

12

dist/reach-utils.esm.js

@@ -80,12 +80,2 @@ import * as React from 'react';

/**
* Ponyfill for the global object in some environments.
*
* @link https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
*/
var ponyfillGlobal = typeof window != "undefined" && window.Math == Math ? window : typeof self != "undefined" && self.Math == Math ? self :
/*#__PURE__*/
// eslint-disable-next-line no-new-func
Function("return this")();
/**
* Passes or assigns an arbitrary value to a ref function or object.

@@ -665,2 +655,2 @@ *

export { assignRef, boolOrBoolString, canUseDOM, checkStyles, cloneValidElement, createNamedContext, forwardRefWithAs, getDocumentDimensions, getElementComputedStyle, getOwnerDocument, getOwnerWindow, getScrollPosition, getScrollbarOffset, isBoolean, isFunction, isNumber, isRightClick, isString, makeId, memoWithAs, noop, ponyfillGlobal, stateToAttributeString, useCallbackProp, useCheckStyles, useConstant, useControlledState, useControlledSwitchWarning, useEventCallback, useEventListener, useFocusChange, useForceUpdate, useForkedRef, useIsomorphicLayoutEffect, useLazyRef, usePrevious, useStableCallback, useStateLogger, useUpdateEffect, warning, wrapEvent };
export { assignRef, boolOrBoolString, canUseDOM, checkStyles, cloneValidElement, createNamedContext, forwardRefWithAs, getDocumentDimensions, getElementComputedStyle, getOwnerDocument, getOwnerWindow, getScrollPosition, getScrollbarOffset, isBoolean, isFunction, isNumber, isRightClick, isString, makeId, memoWithAs, noop, stateToAttributeString, useCallbackProp, useCheckStyles, useConstant, useControlledState, useControlledSwitchWarning, useEventCallback, useEventListener, useFocusChange, useForceUpdate, useForkedRef, useIsomorphicLayoutEffect, useLazyRef, usePrevious, useStableCallback, useStateLogger, useUpdateEffect, warning, wrapEvent };

5

package.json
{
"name": "@reach/utils",
"version": "0.13.2",
"version": "0.14.0",
"description": "Internal, shared utilities for Reach UI.",
"author": "React Training <hello@reacttraining.com>",
"license": "MIT",
"sideEffects": false,
"repository": {

@@ -36,3 +37,3 @@ "type": "git",

],
"gitHead": "9e2a19717eb581722e9af99b0f8f3d976de9a55f"
"gitHead": "80f6ca5f8d25a10887e2bd34d60094402b9bc0a7"
}
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