@types/replace-ext
Advanced tools
Comparing version 0.0.27 to 2.0.0
@@ -1,9 +0,14 @@ | ||
// Type definitions for replace-ext 0.0.1 | ||
// Type definitions for replace-ext 2.0 | ||
// Project: https://github.com/wearefractal/replace-ext | ||
// Definitions by: Deividas Bakanas <https://github.com/DeividasBakanas> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
* Replaces the extension from path with extension and returns the updated path string. | ||
* | ||
* Does not replace the extension if path is not a string or is empty. | ||
*/ | ||
declare function replaceExt(path: string, extension: string): string; | ||
declare function replaceExt(npath: string, ext: string): string; | ||
export = replaceExt; |
{ | ||
"name": "@types/replace-ext", | ||
"version": "0.0.27", | ||
"description": "TypeScript definitions for replace-ext 0.0.1", | ||
"version": "2.0.0", | ||
"description": "TypeScript definitions for replace-ext", | ||
"license": "MIT", | ||
"author": "Deividas Bakanas <https://github.com/DeividasBakanas>", | ||
"contributors": [ | ||
{ | ||
"name": "Deividas Bakanas", | ||
"url": "https://github.com/DeividasBakanas", | ||
"githubUsername": "DeividasBakanas" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/replace-ext" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "bdd975b12932008190d9d106d01c85393d4b60512fe570a1c012edc94d7197f7" | ||
"typesPublisherContentHash": "7590f68a0ed95f6f7164e412c0f1ac05ec4313ed3e1c6a4c72af72a2a9fa98ea", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -5,15 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for replace-ext 0.0.1 (https://github.com/wearefractal/replace-ext). | ||
This package contains type definitions for replace-ext (https://github.com/wearefractal/replace-ext). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/replace-ext | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/replace-ext. | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Global values: replaceExt | ||
### Additional Details | ||
* Last updated: Wed, 30 Sep 2020 21:32:42 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Deividas Bakanas <https://github.com/DeividasBakanas>. | ||
These definitions were written by [Deividas Bakanas](https://github.com/DeividasBakanas), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3193
1
12
17