BREAKING(data-structures/unstable): move bidirectional-map module to unstable-bidirectional-map (#5947)

BREAKING(data-structures): move `bidirectional-map` module to `unstable-bidirectional-map`
This commit is contained in:
Asher Gomez 2024-09-12 13:58:23 +10:00 committed by GitHub
parent 10aa1e739c
commit fb0f40c302
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 12 additions and 12 deletions

View File

@ -40,6 +40,7 @@ const ENTRY_POINTS = [
"../collections/mod.ts",
"../csv/mod.ts",
"../data_structures/mod.ts",
"../data_structures/unstable_bidirectional_map.ts",
"../datetime/mod.ts",
"../dotenv/mod.ts",
"../encoding/mod.ts",

View File

@ -3,7 +3,7 @@
"version": "1.0.2",
"exports": {
".": "./mod.ts",
"./bidirectional-map": "./bidirectional_map.ts",
"./unstable-bidirectional-map": "./unstable_bidirectional_map.ts",
"./binary-heap": "./binary_heap.ts",
"./binary-search-tree": "./binary_search_tree.ts",
"./comparators": "./comparators.ts",

View File

@ -25,7 +25,6 @@
* @module
*/
export * from "./bidirectional_map.ts";
export * from "./binary_heap.ts";
export * from "./binary_search_tree.ts";
export * from "./comparators.ts";

View File

@ -14,7 +14,7 @@
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap([["one", 1]]);
@ -25,7 +25,7 @@
*
* @example Inserting a value that already exists
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap();
@ -60,7 +60,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap([["one", 1]]);
@ -84,7 +84,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap();
@ -118,7 +118,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap([["one", 1]]);
@ -141,7 +141,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap([["one", 1]]);
@ -166,7 +166,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap([["one", 1]]);
@ -194,7 +194,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap([["one", 1]]);
@ -212,7 +212,7 @@ export class BidirectionalMap<K, V> extends Map<K, V> {
*
* @example Usage
* ```ts
* import { BidirectionalMap } from "@std/data-structures/bidirectional-map";
* import { BidirectionalMap } from "@std/data-structures/unstable-bidirectional-map";
* import { assertEquals } from "@std/assert";
*
* const map = new BidirectionalMap();

View File

@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "@std/assert";
import { BidirectionalMap } from "./bidirectional_map.ts";
import { BidirectionalMap } from "./unstable_bidirectional_map.ts";
Deno.test("BidirectionalMap is an instance of Map", () => {
const biMap = new BidirectionalMap();