New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/indefinite

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/indefinite - npm Package Compare versions

Comparing version
2.3.0
to
2.3.1
+4
-4
indefinite/index.d.ts

@@ -7,6 +7,6 @@ // Type definitions for indefinite 2.3

interface Options {
articleOnly?: boolean;
capitalize?: boolean;
caseInsensitive?: boolean;
numbers?: 'colloquial';
articleOnly?: boolean | undefined;
capitalize?: boolean | undefined;
caseInsensitive?: boolean | undefined;
numbers?: 'colloquial' | undefined;
}

@@ -13,0 +13,0 @@

MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/indefinite",
"version": "2.3.0",
"version": "2.3.1",
"description": "TypeScript definitions for indefinite",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/indefinite",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "0a63fa2c80b12a392a88ab0fd5a3c9c053a61243ccc74e5cbae537851b07d22b",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "879a36353d94698f06603d1daa138ffd008cd857f97ea662c2b39659e0969159",
"typeScriptVersion": "3.6"
}

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

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/indefinite.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/indefinite/index.d.ts)
````ts
// Type definitions for indefinite 2.3
// Project: https://github.com/tandrewnichols/indefinite
// Definitions by: omaishar <https://github.com/omaishar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Options {
articleOnly?: boolean | undefined;
capitalize?: boolean | undefined;
caseInsensitive?: boolean | undefined;
numbers?: 'colloquial' | undefined;
}
declare function indefinite(word: string | number, opts?: Options): string;
export = indefinite;
````
### Additional Details
* Last updated: Fri, 15 Nov 2019 23:21:12 GMT
* Last updated: Thu, 08 Jul 2021 14:23:11 GMT
* Dependencies: none

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

# Credits
These definitions were written by omaishar (https://github.com/omaishar).
These definitions were written by [omaishar](https://github.com/omaishar).