@os-design/utils
Advanced tools
Comparing version 1.0.32 to 1.0.33
@@ -9,2 +9,3 @@ "use strict"; | ||
var _exportNames = { | ||
ErrorBoundary: true, | ||
isTouchDevice: true, | ||
@@ -31,2 +32,8 @@ omitEmotionProps: true, | ||
}; | ||
Object.defineProperty(exports, "ErrorBoundary", { | ||
enumerable: true, | ||
get: function get() { | ||
return _errorBoundary["default"]; | ||
} | ||
}); | ||
Object.defineProperty(exports, "isTouchDevice", { | ||
@@ -153,2 +160,16 @@ enumerable: true, | ||
var _errorBoundary = _interopRequireWildcard(require("@os-design/error-boundary")); | ||
Object.keys(_errorBoundary).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _errorBoundary[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _errorBoundary[key]; | ||
} | ||
}); | ||
}); | ||
var _isTouchDevice = _interopRequireDefault(require("@os-design/is-touch-device")); | ||
@@ -206,7 +227,7 @@ | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
export { default as ErrorBoundary } from '@os-design/error-boundary'; | ||
export { default as isTouchDevice } from '@os-design/is-touch-device'; | ||
@@ -21,3 +22,4 @@ export { default as omitEmotionProps } from '@os-design/omit-emotion-props'; | ||
export { default as useVh } from '@os-design/use-vh'; | ||
export * from '@os-design/error-boundary'; | ||
export * from '@os-design/use-key-press'; | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
export { default as ErrorBoundary } from '@os-design/error-boundary'; | ||
export { default as isTouchDevice } from '@os-design/is-touch-device'; | ||
@@ -21,3 +22,4 @@ export { default as omitEmotionProps } from '@os-design/omit-emotion-props'; | ||
export { default as useVh } from '@os-design/use-vh'; | ||
export * from '@os-design/error-boundary'; | ||
export * from '@os-design/use-key-press'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@os-design/utils", | ||
"version": "1.0.32", | ||
"version": "1.0.33", | ||
"license": "UNLICENSED", | ||
@@ -31,2 +31,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
"dependencies": { | ||
"@os-design/error-boundary": "^1.0.0", | ||
"@os-design/is-touch-device": "^1.0.2", | ||
@@ -56,3 +57,3 @@ "@os-design/omit-emotion-props": "^1.0.0", | ||
}, | ||
"gitHead": "cf188e2ce3ba97f769e92154d8925c499d4e9def" | ||
"gitHead": "6dde35d786232af17a138f9f8a232358495ed308" | ||
} |
@@ -5,2 +5,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. [ErrorBoundary](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/error-boundary) – The Error Boundary component. Fully supports Relay (useQueryLoader/loadQuery, useLazyLoadQuery). | ||
1. [isTouchDevice](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/is-touch-device) – Detects whether the client device is touch-enabled. | ||
@@ -7,0 +8,0 @@ 1. [omitEmotionProps](https://gitlab.com/os-team/libs/os-design/-/tree/master/packages/omit-emotion-props) – Disables forwarding the specified properties to the element. |
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
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
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
23163
250
38
22
+ Added@os-design/error-boundary@1.0.21(transitive)