@types/replace-ext
Advanced tools
| MIT License | ||
| Copyright (c) Microsoft Corporation. | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE |
@@ -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). |
| { | ||
| "authors": "Deividas Bakanas <https://github.com/DeividasBakanas>", | ||
| "definitionFilename": "index.d.ts", | ||
| "libraryDependencies": [], | ||
| "moduleDependencies": [], | ||
| "libraryMajorVersion": "0", | ||
| "libraryMinorVersion": "0", | ||
| "libraryName": "replace-ext 0.0.1", | ||
| "typingsPackageName": "replace-ext", | ||
| "projectName": "https://github.com/wearefractal/replace-ext", | ||
| "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "ProperModule", | ||
| "globals": [ | ||
| "replaceExt" | ||
| ], | ||
| "declaredModules": [ | ||
| "replace-ext" | ||
| ], | ||
| "files": [ | ||
| "index.d.ts" | ||
| ], | ||
| "hasPackageJson": false, | ||
| "contentHash": "bdd975b12932008190d9d106d01c85393d4b60512fe570a1c012edc94d7197f7" | ||
| } |
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
42.16%1
-50%12
-60%17
-10.53%