Skip to content

Commit 70deac5

Browse files
committed
Require Node.js 10
1 parent 732905d commit 70deac5

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ language: node_js
22
node_js:
33
- '12'
44
- '10'
5-
- '8'

license

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
3+
Copyright (c) Sindre Sorhus <[email protected]> (https://sindresorhus.com)
44

55
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:
66

package.json

+5-10
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@
44
"description": "Escape RegExp special characters",
55
"license": "MIT",
66
"repository": "sindresorhus/escape-string-regexp",
7+
"funding": "https://github.com/sponsors/sindresorhus",
78
"author": {
89
"name": "Sindre Sorhus",
910
"email": "[email protected]",
10-
"url": "sindresorhus.com"
11+
"url": "https://sindresorhus.com"
1112
},
12-
"maintainers": [
13-
"Sindre Sorhus <[email protected]> (sindresorhus.com)",
14-
"Joshua Boy Nicolai Appelman <[email protected]> (jbna.nl)"
15-
],
1613
"engines": {
17-
"node": ">=8"
14+
"node": ">=10"
1815
},
1916
"scripts": {
2017
"test": "xo && ava && tsd"
@@ -27,17 +24,15 @@
2724
"escape",
2825
"regex",
2926
"regexp",
30-
"re",
3127
"regular",
3228
"expression",
3329
"string",
34-
"str",
3530
"special",
3631
"characters"
3732
],
3833
"devDependencies": {
3934
"ava": "^1.4.1",
40-
"tsd": "^0.7.2",
41-
"xo": "^0.24.0"
35+
"tsd": "^0.11.0",
36+
"xo": "^0.28.3"
4237
}
4338
}

readme.md

-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
> Escape RegExp special characters
44
5-
65
## Install
76

87
```
98
$ npm install escape-string-regexp
109
```
1110

12-
1311
## Usage
1412

1513
```js
@@ -23,7 +21,6 @@ new RegExp(escapedString);
2321

2422
You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
2523

26-
2724
---
2825

2926
<div align="center">

0 commit comments

Comments
 (0)