summaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorDmitry Sharshakov aka. sh7dm <sh7dm@outlook.com>2019-01-02 17:56:17 +0300
committerRyan Dahl <ry@tinyclouds.org>2019-01-02 09:56:17 -0500
commit43e92bb5a6b31b94e6e82062c0fca63118e2d693 (patch)
tree09a70c50ee7de47b57d370d79f81c204f1f88f67 /colors
parent4659271518b71b90eb82b05b8aeb655c82a8a93e (diff)
Happy New Year (denoland/deno_std#58)
Original: https://github.com/denoland/deno_std/commit/e8ec4f7f64c57d1eceb0f63229b17f962907970a
Diffstat (limited to 'colors')
-rw-r--r--colors/README.md2
-rw-r--r--colors/main.ts2
-rw-r--r--colors/styles.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/colors/README.md b/colors/README.md
index bdaa3d51e..72845b092 100644
--- a/colors/README.md
+++ b/colors/README.md
@@ -25,4 +25,4 @@ console.log(color.bgBlue.red.bold("Hello world!"));
---
-Copyright 2018 the Deno authors. All rights reserved. MIT license.
+Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
diff --git a/colors/main.ts b/colors/main.ts
index af4e1aace..8316060db 100644
--- a/colors/main.ts
+++ b/colors/main.ts
@@ -1,4 +1,4 @@
-// Copyright 2018 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { styles } from "./styles.ts";
type Styles = { readonly [S in keyof typeof styles]: Color };
diff --git a/colors/styles.ts b/colors/styles.ts
index 74f609b83..c9fd0eb3d 100644
--- a/colors/styles.ts
+++ b/colors/styles.ts
@@ -1,4 +1,4 @@
-// Copyright 2018 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
const matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
function escapeStringRegexp(str: string): string {
return str.replace(matchOperatorsRe, "\\$&");