Skip to content

Commit b1d4446

Browse files
committed
Update dependencies, license, fix esling warning
1 parent cdfef73 commit b1d4446

File tree

4 files changed

+47
-34
lines changed

4 files changed

+47
-34
lines changed

LICENSE

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
1-
The MIT License (MIT)
1+
Copyright 2018 PureScript
22

3-
Copyright (c) 2014 PureScript
3+
Redistribution and use in source and binary forms, with or without modification,
4+
are permitted provided that the following conditions are met:
45

5-
Permission is hereby granted, free of charge, to any person obtaining a copy of
6-
this software and associated documentation files (the "Software"), to deal in
7-
the Software without restriction, including without limitation the rights to
8-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9-
the Software, and to permit persons to whom the Software is furnished to do so,
10-
subject to the following conditions:
6+
1. Redistributions of source code must retain the above copyright notice, this
7+
list of conditions and the following disclaimer.
118

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation and/or
11+
other materials provided with the distribution.
1412

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13+
3. Neither the name of the copyright holder nor the names of its contributors
14+
may be used to endorse or promote products derived from this software without
15+
specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
21+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
24+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

bower.json

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"name": "purescript-strings",
33
"homepage": "https://github.com/purescript/purescript-strings",
4-
"description": "String and char utility functions, regular expressions.",
5-
"license": "MIT",
4+
"license": "BSD-3-Clause",
65
"repository": {
76
"type": "git",
87
"url": "git://github.com/purescript/purescript-strings.git"
@@ -17,18 +16,26 @@
1716
"package.json"
1817
],
1918
"dependencies": {
20-
"purescript-arrays": "#compiler/0.12",
21-
"purescript-either": "#compiler/0.12",
22-
"purescript-enums": "#compiler/0.12",
23-
"purescript-gen": "#compiler/0.12",
24-
"purescript-integers": "#compiler/0.12",
25-
"purescript-maybe": "#compiler/0.12",
26-
"purescript-partial": "#compiler/0.12",
27-
"purescript-unfoldable": "#compiler/0.12"
19+
"purescript-arrays": "^5.0.0",
20+
"purescript-control": "^4.0.0",
21+
"purescript-either": "^4.0.0",
22+
"purescript-enums": "^4.0.0",
23+
"purescript-foldable-traversable": "^4.0.0",
24+
"purescript-gen": "^2.0.0",
25+
"purescript-integers": "^4.0.0",
26+
"purescript-maybe": "^4.0.0",
27+
"purescript-newtype": "^3.0.0",
28+
"purescript-nonempty": "^5.0.0",
29+
"purescript-partial": "^2.0.0",
30+
"purescript-prelude": "^4.0.0",
31+
"purescript-tailrec": "^4.0.0",
32+
"purescript-tuples": "^5.0.0",
33+
"purescript-unfoldable": "^4.0.0",
34+
"purescript-unsafe-coerce": "^4.0.0"
2835
},
2936
"devDependencies": {
30-
"purescript-assert": "#compiler/0.12",
31-
"purescript-console": "#compiler/0.12",
32-
"purescript-minibench": "#compiler/0.12"
37+
"purescript-assert": "^4.0.0",
38+
"purescript-console": "^4.0.0",
39+
"purescript-minibench": "^2.0.0"
3340
}
3441
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"bench": "npm run bench:build && npm run bench:run"
1010
},
1111
"devDependencies": {
12-
"eslint": "^3.17.1",
13-
"pulp": "^10.0.4",
14-
"purescript-psa": "^0.5.0-rc.1",
15-
"rimraf": "^2.6.1"
12+
"eslint": "^4.19.1",
13+
"pulp": "^12.2.0",
14+
"purescript-psa": "^0.6.0",
15+
"rimraf": "^2.6.2"
1616
}
1717
}

src/Data/String/Common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ exports.replace = function (s1) {
2424
exports.replaceAll = function (s1) {
2525
return function (s2) {
2626
return function (s3) {
27-
return s3.replace(new RegExp(s1.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"), "g"), s2);
27+
return s3.replace(new RegExp(s1.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"), "g"), s2); // eslint-disable-line no-useless-escape
2828
};
2929
};
3030
};

0 commit comments

Comments
 (0)