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

@arwes/tools

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arwes/tools - npm Package Compare versions

Comparing version 1.0.0-next.24061301 to 1.0.0-next.24071501

build/cjs/filterProps/filterProps.js

9

build/cjs/constants.js
"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"
}
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