Socket
Socket
Sign inDemoInstall

@os-design/utils

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/utils - npm Package Compare versions

Comparing version 1.0.36 to 1.0.37

9

dist/cjs/index.js

@@ -28,2 +28,3 @@ "use strict";

useSize: true,
useSwipe: true,
useThrottle: true,

@@ -146,2 +147,8 @@ useVh: true

});
Object.defineProperty(exports, "useSwipe", {
enumerable: true,
get: function get() {
return _useSwipe["default"];
}
});
Object.defineProperty(exports, "useThrottle", {

@@ -222,2 +229,4 @@ enumerable: true,

var _useSwipe = _interopRequireDefault(require("@os-design/use-swipe"));
var _useThrottle = _interopRequireDefault(require("@os-design/use-throttle"));

@@ -224,0 +233,0 @@

1

dist/esm/index.js

@@ -20,2 +20,3 @@ export { default as ErrorBoundary } from '@os-design/error-boundary';

export { default as useSize } from '@os-design/use-size';
export { default as useSwipe } from '@os-design/use-swipe';
export { default as useThrottle } from '@os-design/use-throttle';

@@ -22,0 +23,0 @@ export { default as useVh } from '@os-design/use-vh';

@@ -20,2 +20,3 @@ export { default as ErrorBoundary } from '@os-design/error-boundary';

export { default as useSize } from '@os-design/use-size';
export { default as useSwipe } from '@os-design/use-swipe';
export { default as useThrottle } from '@os-design/use-throttle';

@@ -22,0 +23,0 @@ export { default as useVh } from '@os-design/use-vh';

5

package.json
{
"name": "@os-design/utils",
"version": "1.0.36",
"version": "1.0.37",
"license": "UNLICENSED",

@@ -50,2 +50,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git",

"@os-design/use-size": "^1.0.2",
"@os-design/use-swipe": "^1.0.0",
"@os-design/use-throttle": "^1.0.3",

@@ -57,3 +58,3 @@ "@os-design/use-vh": "^1.0.2"

},
"gitHead": "5383515d2c5677ac243ff482c1230a30d983efd7"
"gitHead": "c4460f4f48cf5e973216fa7d2c5e1dd5adfeaab1"
}

@@ -24,2 +24,3 @@ # @os-design/utils [![NPM version](https://img.shields.io/npm/v/@os-design/utils)](https://yarnpkg.com/package/@os-design/utils) [![BundlePhobia](https://img.shields.io/bundlephobia/minzip/@os-design/utils)](https://bundlephobia.com/result?p=@os-design/utils)

1. [useSize](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-size) – Returns the width and height of the container. By default, the container is window.
1. [useSwipe](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-swipe) – Allows you to implement the swipe gesture in any container. It only works on touch devices.
1. [useThrottle](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-throttle) – The callback function will be called no more than once during the N ms, even if it is called many times during that period.

@@ -26,0 +27,0 @@ 1. [useVh](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/use-vh) – Sets the --vh css variable.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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