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

@os-design/utils

Package Overview
Dependencies
Maintainers
1
Versions
112
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 0.0.22 to 0.0.23

lib/utils/getBoundingRect.d.ts

1

lib/index.d.ts

@@ -5,2 +5,3 @@ export { default as bodyScroll } from './utils/bodyScroll';

export { default as enableScrolling } from './utils/enableScrolling';
export { default as getBoundingRect } from './utils/getBoundingRect';
export { default as isBrowser } from './utils/isBrowser';

@@ -7,0 +8,0 @@ export { default as isTouchDevice } from './utils/isTouchDevice';

@@ -21,2 +21,4 @@ "use strict";

Object.defineProperty(exports, "enableScrolling", { enumerable: true, get: function () { return enableScrolling_1.default; } });
var getBoundingRect_1 = require("./utils/getBoundingRect");
Object.defineProperty(exports, "getBoundingRect", { enumerable: true, get: function () { return getBoundingRect_1.default; } });
var isBrowser_1 = require("./utils/isBrowser");

@@ -23,0 +25,0 @@ Object.defineProperty(exports, "isBrowser", { enumerable: true, get: function () { return isBrowser_1.default; } });

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const isTouchDevice = () => 'ontouchstart' in window || navigator.msMaxTouchPoints > 0;
const isBrowser_1 = __importDefault(require("./isBrowser"));
const isTouchDevice = () => (isBrowser_1.default() ? 'ontouchstart' in window || navigator.msMaxTouchPoints > 0 : false);
exports.default = isTouchDevice;
//# sourceMappingURL=isTouchDevice.js.map

4

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

@@ -25,3 +25,3 @@ "main": "lib/index.js",

},
"gitHead": "33f203ab41c36dd91b6330f1d39029b01fd15a3c"
"gitHead": "adb5671681bbf693d96e42bf3b5e52a0d77708bf"
}

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

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