@vkontakte/vkjs
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -25,2 +25,7 @@ /** | ||
export { throttle, debounce } from './functions'; | ||
/** | ||
* OffsetRect | ||
*/ | ||
export { getOffsetRect } from './getOffsetRect'; | ||
export { leadingZero, formatNumber } from './numbers'; | ||
@@ -27,0 +32,0 @@ export { getRandomInt, getRandomString } from './random'; |
@@ -10,2 +10,3 @@ export { classNames, } from './classNames'; | ||
export { throttle, debounce, } from './functions'; | ||
export { getOffsetRect, } from './getOffsetRect'; | ||
export { leadingZero, formatNumber, } from './numbers'; | ||
@@ -15,3 +16,3 @@ export { getRandomInt, getRandomString, } from './random'; | ||
export { isObjectLike, isArray, isObject, isUndefined, isFunction, isFormData, isString, isNumber, } from './type_checkers'; | ||
export type { Dictionary, AnyFunction, } from './types'; | ||
export type { Dictionary, AnyFunction, Writeable, } from './types'; | ||
export { localStorage, sessionStorage, } from './storage'; |
@@ -132,2 +132,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "getOffsetRect", { | ||
enumerable: true, | ||
get: function get() { | ||
return _getOffsetRect.getOffsetRect; | ||
} | ||
}); | ||
Object.defineProperty(exports, "leadingZero", { | ||
@@ -248,2 +254,4 @@ enumerable: true, | ||
var _getOffsetRect = require("./getOffsetRect"); | ||
var _numbers = require("./numbers"); | ||
@@ -250,0 +258,0 @@ |
@@ -5,1 +5,4 @@ export declare type Dictionary<T> = { | ||
export declare type AnyFunction = (...args: any[]) => any; | ||
export declare type Writeable<T> = { | ||
-readonly [P in keyof T]: T[P]; | ||
}; |
{ | ||
"name": "@vkontakte/vkjs", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "VK shared JS libs", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -61,3 +61,10 @@ /** | ||
/** | ||
* OffsetRect | ||
*/ | ||
export { | ||
getOffsetRect, | ||
} from './getOffsetRect'; | ||
export { | ||
leadingZero, | ||
@@ -91,2 +98,3 @@ formatNumber, | ||
AnyFunction, | ||
Writeable, | ||
} from './types'; | ||
@@ -93,0 +101,0 @@ |
export type Dictionary<T> = { [key: string]: T }; | ||
export type AnyFunction = (...args: any[]) => any; | ||
export type Writeable<T> = { -readonly [P in keyof T]: T[P] }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
188222
125
2687