summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--changelog.md2
-rw-r--r--lib/js/jsre.nim4
2 files changed, 1 insertions, 5 deletions
diff --git a/changelog.md b/changelog.md
index 3fd66dba8..cbad9b4e6 100644
--- a/changelog.md
+++ b/changelog.md
@@ -43,7 +43,7 @@ becomes an alias for `addr`.
 
 
 - Changed mimedb to use an `OrderedTable` instead of `OrderedTableRef`, to use it in a const.
-
+- Removed deprecated `jsre.test` and `jsre.toString`.
 - Removed deprecated `math.c_frexp`.
 
 
diff --git a/lib/js/jsre.nim b/lib/js/jsre.nim
index a23fccaa8..cd8fb2be7 100644
--- a/lib/js/jsre.nim
+++ b/lib/js/jsre.nim
@@ -47,10 +47,6 @@ func toCstring*(self: RegExp): cstring {.importjs: "#.toString()".}
 
 func `$`*(self: RegExp): string = $toCstring(self)
 
-func test*(self: RegExp; pattern: cstring): bool {.importjs: "#.test(#)", deprecated: "Use contains instead".}
-
-func toString*(self: RegExp): cstring {.importjs: "#.toString()", deprecated: "Use toCstring instead".}
-
 func contains*(pattern: cstring; self: RegExp): bool =
   ## Tests for a substring match in its string parameter.
   runnableExamples: