update, text, response
This commit is contained in:
2
node_modules/replace-ext/LICENSE
generated
vendored
2
node_modules/replace-ext/LICENSE
generated
vendored
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2020 Blaine Bublitz <blaine.bublitz@gmail.com>, Eric Schoffstall <yo@contra.io> and other contributors
|
||||
Copyright (c) 2014 Blaine Bublitz <blaine.bublitz@gmail.com>, Eric Schoffstall <yo@contra.io> and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
32
node_modules/replace-ext/README.md
generated
vendored
32
node_modules/replace-ext/README.md
generated
vendored
@@ -6,7 +6,7 @@
|
||||
|
||||
# replace-ext
|
||||
|
||||
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
|
||||
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Azure Pipelines Build Status][azure-pipelines-image]][azure-pipelines-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]
|
||||
|
||||
Replaces a file extension with another one.
|
||||
|
||||
@@ -29,26 +29,34 @@ Replaces the extension from `path` with `extension` and returns the updated path
|
||||
|
||||
Does not replace the extension if `path` is not a string or is empty.
|
||||
|
||||
## `replace-ext` for enterprise
|
||||
|
||||
Available as part of the Tidelift Subscription.
|
||||
## replace-ext for enterprise
|
||||
|
||||
Available as part of the Tidelift Subscription
|
||||
|
||||
The maintainers of replace-ext and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-replace-ext?utm_source=npm-replace-ext&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
||||
|
||||
The maintainers of `replace-ext` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.][tidelift-url]
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
[downloads-image]: https://img.shields.io/npm/dm/replace-ext.svg?style=flat-square
|
||||
[downloads-image]: http://img.shields.io/npm/dm/replace-ext.svg
|
||||
[npm-url]: https://www.npmjs.com/package/replace-ext
|
||||
[npm-image]: https://img.shields.io/npm/v/replace-ext.svg?style=flat-square
|
||||
[npm-image]: http://img.shields.io/npm/v/replace-ext.svg
|
||||
|
||||
[ci-url]: https://github.com/gulpjs/replace-ext/actions?query=workflow:dev
|
||||
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/replace-ext/dev?style=flat-square
|
||||
[azure-pipelines-url]: https://dev.azure.com/gulpjs/replace-ext/_build/latest?branchName=master
|
||||
[azure-pipelines-image]: https://dev.azure.com/gulpjs/replace-ext/_apis/build/status/replace-ext?branchName=master
|
||||
|
||||
[travis-url]: https://travis-ci.org/gulpjs/replace-ext
|
||||
[travis-image]: http://img.shields.io/travis/gulpjs/replace-ext.svg?label=travis-ci
|
||||
|
||||
[appveyor-url]: https://ci.appveyor.com/project/gulpjs/replace-ext
|
||||
[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/replace-ext.svg?label=appveyor
|
||||
|
||||
[coveralls-url]: https://coveralls.io/r/gulpjs/replace-ext
|
||||
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/replace-ext/master.svg?style=flat-square
|
||||
[coveralls-image]: http://img.shields.io/coveralls/gulpjs/replace-ext/master.svg
|
||||
|
||||
[gitter-url]: https://gitter.im/gulpjs/gulp
|
||||
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
|
||||
|
||||
[tidelift-url]: https://tidelift.com/subscription/pkg/npm-replace-ext?utm_source=npm-replace-ext&utm_medium=referral&utm_campaign=enterprise&utm_term=repo
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
3
node_modules/replace-ext/index.js
generated
vendored
3
node_modules/replace-ext/index.js
generated
vendored
@@ -26,7 +26,8 @@ function replaceExt(npath, ext) {
|
||||
|
||||
function startsWithSingleDot(fpath) {
|
||||
var first2chars = fpath.slice(0, 2);
|
||||
return first2chars === '.' + path.sep || first2chars === './';
|
||||
return (first2chars === '.' + path.sep) ||
|
||||
(first2chars === './');
|
||||
}
|
||||
|
||||
module.exports = replaceExt;
|
||||
|
||||
32
node_modules/replace-ext/package.json
generated
vendored
32
node_modules/replace-ext/package.json
generated
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "replace-ext",
|
||||
"version": "2.0.0",
|
||||
"description": "Replaces a file extension with another one.",
|
||||
"version": "1.0.1",
|
||||
"description": "Replaces a file extension with another one",
|
||||
"author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)",
|
||||
"contributors": [
|
||||
"Eric Schoffstall <yo@contra.io>",
|
||||
@@ -10,7 +10,7 @@
|
||||
"repository": "gulpjs/replace-ext",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
"node": ">= 0.10"
|
||||
},
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
@@ -20,23 +20,19 @@
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"pretest": "npm run lint",
|
||||
"test": "nyc mocha --async-only"
|
||||
"test": "nyc mocha --async-only",
|
||||
"cover": "nyc --reporter=lcov --reporter=text-summary npm test",
|
||||
"azure-pipelines": "nyc mocha --async-only --reporter xunit -O output=test.xunit",
|
||||
"coveralls": "nyc report --reporter=text-lcov | coveralls"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-gulp": "^4.0.0",
|
||||
"expect": "^25.4.0",
|
||||
"mocha": "^7.1.2",
|
||||
"nyc": "^15.0.1"
|
||||
},
|
||||
"nyc": {
|
||||
"reporter": [
|
||||
"lcov",
|
||||
"text-summary"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
"coveralls": "github:phated/node-coveralls#2.x",
|
||||
"eslint": "^2.13.1",
|
||||
"eslint-config-gulp": "^3.0.1",
|
||||
"expect": "^1.20.2",
|
||||
"mocha": "^3.0.0",
|
||||
"nyc": "^10.3.2"
|
||||
},
|
||||
"keywords": [
|
||||
"gulp",
|
||||
|
||||
Reference in New Issue
Block a user