@arwes/tools
Advanced tools
Comparing version 1.0.0-next.24061301 to 1.0.0-next.24071501
"use strict"; | ||
// TODO: In some environments these variables are not executed at runtime but at build time. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IS_BROWSER_SAFARI = exports.IS_BROWSER = void 0; | ||
exports.IS_BROWSER = typeof window !== 'undefined'; | ||
exports.IS_BROWSER_SAFARI = exports.IS_BROWSER && | ||
exports.isBrowserSafari = exports.isBrowser = void 0; | ||
const isBrowser = () => typeof window !== 'undefined'; | ||
exports.isBrowser = isBrowser; | ||
const isBrowserSafari = () => (0, exports.isBrowser)() && | ||
window.navigator.userAgent.includes('Safari') && | ||
!window.navigator.userAgent.includes('Chrome'); | ||
exports.isBrowserSafari = isBrowserSafari; |
@@ -5,3 +5,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./types.js"), exports); | ||
tslib_1.__exportStar(require("./constants.js"), exports); | ||
tslib_1.__exportStar(require("./isBrowser/index.js"), exports); | ||
tslib_1.__exportStar(require("./cx/index.js"), exports); | ||
@@ -11,1 +11,2 @@ tslib_1.__exportStar(require("./loadImage/index.js"), exports); | ||
tslib_1.__exportStar(require("./randomizeList/index.js"), exports); | ||
tslib_1.__exportStar(require("./filterProps/index.js"), exports); |
@@ -1,2 +0,2 @@ | ||
export declare const IS_BROWSER: boolean; | ||
export declare const IS_BROWSER_SAFARI: boolean; | ||
export declare const isBrowser: () => boolean; | ||
export declare const isBrowserSafari: () => boolean; |
@@ -1,5 +0,4 @@ | ||
// TODO: In some environments these variables are not executed at runtime but at build time. | ||
export const IS_BROWSER = typeof window !== 'undefined'; | ||
export const IS_BROWSER_SAFARI = IS_BROWSER && | ||
export const isBrowser = () => typeof window !== 'undefined'; | ||
export const isBrowserSafari = () => isBrowser() && | ||
window.navigator.userAgent.includes('Safari') && | ||
!window.navigator.userAgent.includes('Chrome'); |
export * from './types.js'; | ||
export * from './constants.js'; | ||
export * from './isBrowser/index.js'; | ||
export * from './cx/index.js'; | ||
@@ -7,1 +7,2 @@ export * from './loadImage/index.js'; | ||
export * from './randomizeList/index.js'; | ||
export * from './filterProps/index.js'; |
export * from './types.js'; | ||
export * from './constants.js'; | ||
export * from './isBrowser/index.js'; | ||
export * from './cx/index.js'; | ||
@@ -7,1 +7,2 @@ export * from './loadImage/index.js'; | ||
export * from './randomizeList/index.js'; | ||
export * from './filterProps/index.js'; |
{ | ||
"name": "@arwes/tools", | ||
"version": "1.0.0-next.24061301", | ||
"version": "1.0.0-next.24071501", | ||
"publishConfig": { | ||
@@ -51,3 +51,3 @@ "access": "public" | ||
}, | ||
"gitHead": "b7ddefff02bbe4ca678c163c6a0d7ae25e8232f5" | ||
"gitHead": "e27d4c82122929d1b44f4720af6090397b61534b" | ||
} |
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
12244
50
272