You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vh-check

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vh-check - npm Package Compare versions

Comparing version

to
2.0.5

.travis.yml

3

dist/event-listener.d.ts

@@ -1,3 +0,2 @@

import { Callback } from './vh-check-types';
export declare function addListener(eventName: string, callback: Callback): void;
export declare function addListener(eventName: string, callback: EventListener): void;
export declare function removeAll(): void;

@@ -1,4 +0,4 @@

import { Sizes } from './vh-check-types';
export declare function noop<ComputeCallback>(): void;
export declare function computeDifference<ComputeSizeMethod>(): Sizes;
export declare function redefineVhUnit<ComputeSizeMethod>(): Sizes;
import { Sizes } from './types';
export declare function noop(): void;
export declare function computeDifference(): Sizes;
export declare function redefineVhUnit(): Sizes;

@@ -1,2 +0,2 @@

import { Configuration } from './vh-check-types';
import { Configuration } from './types';
export declare function isString(text: any): text is string;

@@ -3,0 +3,0 @@ export declare function isFunction(f: any): boolean;

@@ -1,2 +0,2 @@

import { Configuration, Result } from './vh-check-types';
import { Configuration, Result } from './types';
export default function vhCheck(options?: string | Configuration): Result;

@@ -145,3 +145,5 @@ (function (global, factory) {

});
window.addEventListener(eventName, callback /* istanbul ignore next */, passiveSupported ? { passive: true } : false);
window.addEventListener(eventName, callback,
/* istanbul ignore next */
passiveSupported ? { passive: true } : false);
}

@@ -148,0 +150,0 @@ function removeAll() {

{
"name": "vh-check",
"version": "2.0.4",
"version": "2.0.5",
"description": "vh unit buggyfill",
"main": "dist/vh-check.js",
"types": "dist/vh-check.d.ts",
"scripts": {

@@ -13,3 +14,3 @@ "start": "npm run build:demo && http-server ./dist-demo -c-1",

"build:demo": "npm run build && del dist-demo && gulp demo",
"build:github": "build:demo -- --gh-release",
"build:github": "npm run build:demo -- --gh-release",
"prepublishOnly": "npm run toc && npm run build",

@@ -73,3 +74,3 @@ "release": "np --no-cleanup --no-yarn",

"exclude": [
"**/*.test.ts",
"test",
"**/*.js"

@@ -76,0 +77,0 @@ ]

# vh-check
get reliable CSS `vh` sizes for `1kb` gzipped
get reliable CSS `vh` sizes for [1kb gzipped](https://bundlephobia.com/result?p=vh-check)
[![npm version](https://badge.fury.io/js/vh-check.svg)](https://badge.fury.io/js/vh-check)
[![npm version](https://badge.fury.io/js/vh-check.svg)](https://badge.fury.io/js/vh-check) [![Build Status](https://travis-ci.org/Hiswe/vh-check.svg?branch=master)](https://travis-ci.org/Hiswe/vh-check)

@@ -7,0 +7,0 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update -->