@arwes/tools
Advanced tools
Comparing version 1.0.0-next.18 to 1.0.0-next.24041801
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TOOLS_IS_BROWSER = void 0; | ||
exports.TOOLS_IS_BROWSER = typeof window !== 'undefined'; | ||
exports.IS_BROWSER_SAFARI = exports.IS_BROWSER = void 0; | ||
exports.IS_BROWSER = typeof window !== 'undefined'; | ||
exports.IS_BROWSER_SAFARI = exports.IS_BROWSER && | ||
window.navigator.userAgent.includes('Safari') && | ||
!window.navigator.userAgent.includes('Chrome'); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./createTOScheduler"), exports); | ||
tslib_1.__exportStar(require("./createTOScheduler.js"), exports); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./cx"), exports); | ||
tslib_1.__exportStar(require("./cx.js"), exports); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./types"), exports); | ||
(0, tslib_1.__exportStar)(require("./constants"), exports); | ||
(0, tslib_1.__exportStar)(require("./cx/index"), exports); | ||
(0, tslib_1.__exportStar)(require("./loadImage/index"), exports); | ||
(0, tslib_1.__exportStar)(require("./createTOScheduler/index"), exports); | ||
(0, tslib_1.__exportStar)(require("./mergeRefs/index"), exports); | ||
(0, tslib_1.__exportStar)(require("./useOnUpdate/index"), exports); | ||
(0, tslib_1.__exportStar)(require("./usePreviousValue/index"), exports); | ||
tslib_1.__exportStar(require("./types.js"), exports); | ||
tslib_1.__exportStar(require("./constants.js"), exports); | ||
tslib_1.__exportStar(require("./cx/index.js"), exports); | ||
tslib_1.__exportStar(require("./loadImage/index.js"), exports); | ||
tslib_1.__exportStar(require("./createTOScheduler/index.js"), exports); | ||
tslib_1.__exportStar(require("./randomizeList/index.js"), exports); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./loadImage"), exports); | ||
tslib_1.__exportStar(require("./loadImage.js"), exports); |
@@ -1,1 +0,2 @@ | ||
export declare const TOOLS_IS_BROWSER: boolean; | ||
export declare const IS_BROWSER: boolean; | ||
export declare const IS_BROWSER_SAFARI: boolean; |
@@ -1,1 +0,4 @@ | ||
export const TOOLS_IS_BROWSER = typeof window !== 'undefined'; | ||
export const IS_BROWSER = typeof window !== 'undefined'; | ||
export const IS_BROWSER_SAFARI = IS_BROWSER && | ||
window.navigator.userAgent.includes('Safari') && | ||
!window.navigator.userAgent.includes('Chrome'); |
@@ -1,3 +0,3 @@ | ||
declare type TOSchedulerId = number | string; | ||
declare type TOSchedulerCallback = () => unknown; | ||
type TOSchedulerId = number | string; | ||
type TOSchedulerCallback = () => unknown; | ||
declare function TOSchedulerStart(id: TOSchedulerId, delay: number, callback: TOSchedulerCallback): void; | ||
@@ -4,0 +4,0 @@ declare function TOSchedulerStart(delay: number, callback: TOSchedulerCallback): void; |
@@ -1,1 +0,1 @@ | ||
export * from './createTOScheduler'; | ||
export * from './createTOScheduler.js'; |
@@ -1,1 +0,1 @@ | ||
export * from "./createTOScheduler.js"; | ||
export * from './createTOScheduler.js'; |
@@ -1,2 +0,2 @@ | ||
declare const cx: (...classNames: Array<string | undefined | null>) => string; | ||
declare const cx: (...classNames: Array<string | boolean | undefined | null>) => string; | ||
export { cx }; |
@@ -1,1 +0,1 @@ | ||
export * from './cx'; | ||
export * from './cx.js'; |
@@ -1,1 +0,1 @@ | ||
export * from "./cx.js"; | ||
export * from './cx.js'; |
@@ -1,8 +0,6 @@ | ||
export * from './types'; | ||
export * from './constants'; | ||
export * from './cx/index'; | ||
export * from './loadImage/index'; | ||
export * from './createTOScheduler/index'; | ||
export * from './mergeRefs/index'; | ||
export * from './useOnUpdate/index'; | ||
export * from './usePreviousValue/index'; | ||
export * from './types.js'; | ||
export * from './constants.js'; | ||
export * from './cx/index.js'; | ||
export * from './loadImage/index.js'; | ||
export * from './createTOScheduler/index.js'; | ||
export * from './randomizeList/index.js'; |
@@ -1,8 +0,6 @@ | ||
export * from "./types.js"; | ||
export * from "./constants.js"; | ||
export * from "./cx/index.js"; | ||
export * from "./loadImage/index.js"; | ||
export * from "./createTOScheduler/index.js"; | ||
export * from "./mergeRefs/index.js"; | ||
export * from "./useOnUpdate/index.js"; | ||
export * from "./usePreviousValue/index.js"; | ||
export * from './types.js'; | ||
export * from './constants.js'; | ||
export * from './cx/index.js'; | ||
export * from './loadImage/index.js'; | ||
export * from './createTOScheduler/index.js'; | ||
export * from './randomizeList/index.js'; |
@@ -1,1 +0,1 @@ | ||
export * from './loadImage'; | ||
export * from './loadImage.js'; |
@@ -1,1 +0,1 @@ | ||
export * from "./loadImage.js"; | ||
export * from './loadImage.js'; |
@@ -1,2 +0,2 @@ | ||
export declare type PartialDeep<T> = { | ||
export type PartialDeep<T> = { | ||
[P in keyof T]?: PartialDeep<T[P]>; | ||
@@ -7,2 +7,2 @@ }; | ||
*/ | ||
export declare type NoInfer<T> = [T][T extends any ? 0 : never]; | ||
export type NoInfer<T> = [T][T extends any ? 0 : never]; |
{ | ||
"name": "@arwes/tools", | ||
"version": "1.0.0-next.18", | ||
"version": "1.0.0-next.24041801", | ||
"publishConfig": { | ||
@@ -42,17 +42,12 @@ "access": "public" | ||
"main": "./build/cjs/index.js", | ||
"unpkg": "./build/umd/umd.min.js", | ||
"peerDependencies": { | ||
"react": "^17.0.2" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.3.1" | ||
"tslib": "2" | ||
}, | ||
"scripts": { | ||
"build": "npm run build-esm && npm run build-cjs && npm run build-umd && npm run build-types", | ||
"build": "npm run build-esm && npm run build-cjs", | ||
"build-esm": "sh ../../scripts/pkg-build-esm.sh", | ||
"build-cjs": "sh ../../scripts/pkg-build-cjs.sh", | ||
"build-umd": "sh ../../scripts/pkg-build-umd.sh", | ||
"build-types": "sh ../../scripts/pkg-build-types.sh", | ||
"dev": "sh ../../scripts/pkg-build-esm.sh --watch" | ||
} | ||
}, | ||
"gitHead": "ee772f4eda2e2feb74a995234a2bc59667330d67" | ||
} |
@@ -1,3 +0,3 @@ | ||
# Arwes Tools | ||
# Arwes | ||
Check out [github.com/arwes/arwes](https://github.com/arwes/arwes). |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
1
0
10478
39
222
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
Updatedtslib@2