Socket
Socket
Sign inDemoInstall

@types/nprogress

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/nprogress - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

nprogress/index.d.ts

@@ -40,3 +40,3 @@ // Type definitions for NProgress 0.2

isRendered(): boolean;
getPositioningCSS(): 'translate3d' | 'translate' | 'margin';
getPositioningCSS(): "translate3d" | "translate" | "margin";
}

@@ -43,0 +43,0 @@ }

{
"name": "@types/nprogress",
"version": "0.2.0",
"version": "0.2.1",
"description": "TypeScript definitions for NProgress",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nprogress",
"license": "MIT",

@@ -19,3 +20,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -28,4 +29,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "629416f2837e50179425589c6ed9b12e667e58d75072a835def60cc4ed592e8c",
"typeScriptVersion": "2.1"
"typesPublisherContentHash": "7059463cee8d3e6849717e23333e1d26400221850295083a5b141375a4d58c66",
"typeScriptVersion": "4.5"
}

@@ -5,9 +5,58 @@ # Installation

# Summary
This package contains type definitions for NProgress ( https://github.com/rstacruz/nprogress ).
This package contains type definitions for NProgress (https://github.com/rstacruz/nprogress).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nprogress
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nprogress.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nprogress/index.d.ts)
````ts
// Type definitions for NProgress 0.2
// Project: https://github.com/rstacruz/nprogress
// Definitions by: Judah Gabriel Himango <https://github.com/JudahGabriel>, Ovyerus <https://github.com/Ovyerus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
Additional Details
* Last updated: Fri, 31 May 2019 21:26:32 GMT
declare namespace nProgress {
interface NProgressOptions {
minimum: number;
template: string;
easing: string;
speed: number;
trickle: boolean;
trickleSpeed: number;
showSpinner: boolean;
parent: string;
positionUsing: string;
barSelector: string;
spinnerSelector: string;
}
interface NProgress {
version: string;
settings: NProgressOptions;
status: number | null;
configure(options: Partial<NProgressOptions>): NProgress;
set(number: number): NProgress;
isStarted(): boolean;
start(): NProgress;
done(force?: boolean): NProgress;
inc(amount?: number): NProgress;
trickle(): NProgress;
/* Internal */
render(fromStart?: boolean): HTMLDivElement;
remove(): void;
isRendered(): boolean;
getPositioningCSS(): "translate3d" | "translate" | "margin";
}
}
declare const nProgress: nProgress.NProgress;
export = nProgress;
````
### Additional Details
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT
* Dependencies: none

@@ -17,2 +66,2 @@ * Global values: none

# Credits
These definitions were written by Judah Gabriel Himango <https://github.com/JudahGabriel>, Ovyerus <https://github.com/Ovyerus>.
These definitions were written by [Judah Gabriel Himango](https://github.com/JudahGabriel), and [Ovyerus](https://github.com/Ovyerus).

Sorry, the diff of this file is not supported yet

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