Skip to content

Commit e0d2f58

Browse files
committed
Replace use of js.Any in the IDB API with Any
1 parent 1a6fc9c commit e0d2f58

File tree

4 files changed

+71
-71
lines changed

4 files changed

+71
-71
lines changed

api-reports/2_12.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13540,9 +13540,9 @@ IDBCursor[JC] def continue(key: Any?): Unit
1354013540
IDBCursor[JC] def delete(): IDBRequest[Unit]
1354113541
IDBCursor[JC] def direction: IDBCursorDirection
1354213542
IDBCursor[JC] def key: Any
13543-
IDBCursor[JC] def primaryKey: js.Any
13544-
IDBCursor[JC] def source: js.Any
13545-
IDBCursor[JC] def update(value: js.Any): IDBRequest[Any]
13543+
IDBCursor[JC] def primaryKey: Any
13544+
IDBCursor[JC] def source: Any
13545+
IDBCursor[JC] def update(value: Any): IDBRequest[Any]
1354613546
IDBCursorDirection[JT]
1354713547
IDBCursorDirection[SO] val NEXT: IDBCursorDirection
1354813548
IDBCursorDirection[SO] val NEXT_UNIQUE: IDBCursorDirection
@@ -13552,17 +13552,17 @@ IDBCursorReadOnly[JC] def advance(count: Int): Unit
1355213552
IDBCursorReadOnly[JC] def continue(key: Any?): Unit
1355313553
IDBCursorReadOnly[JC] def direction: IDBCursorDirection
1355413554
IDBCursorReadOnly[JC] def key: Any
13555-
IDBCursorReadOnly[JC] def primaryKey: js.Any
13556-
IDBCursorReadOnly[JC] def source: js.Any
13555+
IDBCursorReadOnly[JC] def primaryKey: Any
13556+
IDBCursorReadOnly[JC] def source: Any
1355713557
IDBCursorWithValue[JC] def advance(count: Int): Unit
1355813558
IDBCursorWithValue[JC] def continue(key: Any?): Unit
1355913559
IDBCursorWithValue[JC] def delete(): IDBRequest[Unit]
1356013560
IDBCursorWithValue[JC] def direction: IDBCursorDirection
1356113561
IDBCursorWithValue[JC] def key: Any
13562-
IDBCursorWithValue[JC] def primaryKey: js.Any
13563-
IDBCursorWithValue[JC] def source: js.Any
13564-
IDBCursorWithValue[JC] def update(value: js.Any): IDBRequest[Any]
13565-
IDBCursorWithValue[JC] def value: js.Any
13562+
IDBCursorWithValue[JC] def primaryKey: Any
13563+
IDBCursorWithValue[JC] def source: Any
13564+
IDBCursorWithValue[JC] def update(value: Any): IDBRequest[Any]
13565+
IDBCursorWithValue[JC] def value: Any
1356613566
IDBDatabase[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1356713567
IDBDatabase[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1356813568
IDBDatabase[JC] def close(): Unit
@@ -13576,7 +13576,7 @@ IDBDatabase[JC] var onerror: js.Function1[Event, _]
1357613576
IDBDatabase[JC] var onversionchange: js.Function1[IDBVersionChangeEvent, _]
1357713577
IDBDatabase[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1357813578
IDBDatabase[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
13579-
IDBDatabase[JC] def transaction(storeNames: js.Any, mode: IDBTransactionMode?): IDBTransaction
13579+
IDBDatabase[JC] def transaction(storeNames: Any, mode: IDBTransactionMode?): IDBTransaction
1358013580
IDBDatabase[JC] def version: Int
1358113581
IDBDatabaseInfo[JT] val name: String
1358213582
IDBDatabaseInfo[JT] val version: Int
@@ -13601,36 +13601,36 @@ IDBEventTarget[JC] def dispatchEvent(evt: Event): Boolean
1360113601
IDBEventTarget[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1360213602
IDBEventTarget[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1360313603
IDBEventTarget[JC] def result: A
13604-
IDBFactory[JC] def cmp(first: js.Any, second: js.Any): Int
13604+
IDBFactory[JC] def cmp(first: Any, second: Any): Int
1360513605
IDBFactory[JC] def databases(): js.Promise[js.Array[IDBDatabaseInfo]]
1360613606
IDBFactory[JC] def deleteDatabase(name: String): IDBOpenDBRequest[Unit]
1360713607
IDBFactory[JC] def open(name: String, version: Int?): IDBOpenDBRequest[IDBDatabase]
1360813608
IDBIndex[JC] def count(): IDBRequest[Double]
1360913609
IDBIndex[JC] def count(key: Any): IDBRequest[Double]
13610-
IDBIndex[JC] def get(key: Any): IDBRequest[js.Any]
13611-
IDBIndex[JC] def getKey(key: Any): IDBRequest[js.UndefOr[js.Any]]
13610+
IDBIndex[JC] def get(key: Any): IDBRequest[Any]
13611+
IDBIndex[JC] def getKey(key: Any): IDBRequest[js.UndefOr[Any]]
1361213612
IDBIndex[JC] def keyPath: String
1361313613
IDBIndex[JC] def name: String
1361413614
IDBIndex[JC] def objectStore: IDBObjectStore
1361513615
IDBIndex[JC] def openCursor(range: IDBKeyRange?, direction: IDBCursorDirection?): IDBRequest[IDBCursor]
1361613616
IDBIndex[JC] def openKeyCursor(range: IDBKeyRange?, direction: IDBCursorDirection?): IDBRequest[IDBCursorReadOnly]
1361713617
IDBIndex[JC] def unique: Boolean
13618-
IDBKeyRange[JC] def lower: js.Any
13618+
IDBKeyRange[JC] def lower: Any
1361913619
IDBKeyRange[JC] def lowerOpen: Boolean
13620-
IDBKeyRange[JC] def upper: js.Any
13620+
IDBKeyRange[JC] def upper: Any
1362113621
IDBKeyRange[JC] def upperOpen: Boolean
13622-
IDBKeyRange[JO] def bound(lower: js.Any, upper: js.Any, lowerOpen: Boolean?, upperOpen: Boolean?): IDBKeyRange
13623-
IDBKeyRange[JO] def lowerBound(bound: js.Any, open: Boolean?): IDBKeyRange
13624-
IDBKeyRange[JO] def only(value: js.Any): IDBKeyRange
13625-
IDBKeyRange[JO] def upperBound(bound: js.Any, open: Boolean?): IDBKeyRange
13626-
IDBObjectStore[JC] def add(value: js.Any, key: Any?): IDBRequest[Any]
13622+
IDBKeyRange[JO] def bound(lower: Any, upper: Any, lowerOpen: Boolean?, upperOpen: Boolean?): IDBKeyRange
13623+
IDBKeyRange[JO] def lowerBound(bound: Any, open: Boolean?): IDBKeyRange
13624+
IDBKeyRange[JO] def only(value: Any): IDBKeyRange
13625+
IDBKeyRange[JO] def upperBound(bound: Any, open: Boolean?): IDBKeyRange
13626+
IDBObjectStore[JC] def add(value: Any, key: Any?): IDBRequest[Any]
1362713627
IDBObjectStore[JC] def clear(): IDBRequest[Unit]
1362813628
IDBObjectStore[JC] def count(key: Any?): IDBRequest[Double]
1362913629
IDBObjectStore[JC] def createIndex(name: String, keyPath: Any, optionalParameters: IDBCreateIndexOptions?): IDBIndex
1363013630
IDBObjectStore[JC] def delete(key: Any): IDBRequest[Unit]
1363113631
IDBObjectStore[JC] def deleteIndex(indexName: String): Unit
13632-
IDBObjectStore[JC] def get(key: Any): IDBRequest[js.Any]
13633-
IDBObjectStore[JC] def getAll(query: js.UndefOr[IDBKeyRange | Any]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[js.Any]]
13632+
IDBObjectStore[JC] def get(key: Any): IDBRequest[Any]
13633+
IDBObjectStore[JC] def getAll(query: js.UndefOr[IDBKeyRange | Any]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[Any]]
1363413634
IDBObjectStore[JC] def getAllKeys(query: js.UndefOr[IDBKeyRange | Any]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[Any]]
1363513635
IDBObjectStore[JC] def getKey(key: Any): IDBRequest[js.UndefOr[Any]]
1363613636
IDBObjectStore[JC] def index(name: String): IDBIndex
@@ -13639,7 +13639,7 @@ IDBObjectStore[JC] def keyPath: String
1363913639
IDBObjectStore[JC] def name: String
1364013640
IDBObjectStore[JC] def openCursor(range: js.UndefOr[IDBKeyRange | Any]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[IDBCursor]
1364113641
IDBObjectStore[JC] def openKeyCursor(range: js.UndefOr[IDBKeyRange | Any]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[IDBCursorReadOnly]
13642-
IDBObjectStore[JC] def put(value: js.Any, key: Any?): IDBRequest[Any]
13642+
IDBObjectStore[JC] def put(value: Any, key: Any?): IDBRequest[Any]
1364313643
IDBObjectStore[JC] def transaction: IDBTransaction
1364413644
IDBOpenDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1364513645
IDBOpenDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13653,7 +13653,7 @@ IDBOpenDBRequest[JC] def readyState: String
1365313653
IDBOpenDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1365413654
IDBOpenDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1365513655
IDBOpenDBRequest[JC] def result: A
13656-
IDBOpenDBRequest[JC] def source: js.Any
13656+
IDBOpenDBRequest[JC] def source: Any
1365713657
IDBOpenDBRequest[JC] def transaction: IDBTransaction
1365813658
IDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1365913659
IDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13665,7 +13665,7 @@ IDBRequest[JC] def readyState: String
1366513665
IDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1366613666
IDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1366713667
IDBRequest[JC] def result: A
13668-
IDBRequest[JC] def source: js.Any
13668+
IDBRequest[JC] def source: Any
1366913669
IDBRequest[JC] def transaction: IDBTransaction
1367013670
IDBTransaction[JC] def abort(): Unit
1367113671
IDBTransaction[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit

api-reports/2_13.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13540,9 +13540,9 @@ IDBCursor[JC] def continue(key: Any?): Unit
1354013540
IDBCursor[JC] def delete(): IDBRequest[Unit]
1354113541
IDBCursor[JC] def direction: IDBCursorDirection
1354213542
IDBCursor[JC] def key: Any
13543-
IDBCursor[JC] def primaryKey: js.Any
13544-
IDBCursor[JC] def source: js.Any
13545-
IDBCursor[JC] def update(value: js.Any): IDBRequest[Any]
13543+
IDBCursor[JC] def primaryKey: Any
13544+
IDBCursor[JC] def source: Any
13545+
IDBCursor[JC] def update(value: Any): IDBRequest[Any]
1354613546
IDBCursorDirection[JT]
1354713547
IDBCursorDirection[SO] val NEXT: IDBCursorDirection
1354813548
IDBCursorDirection[SO] val NEXT_UNIQUE: IDBCursorDirection
@@ -13552,17 +13552,17 @@ IDBCursorReadOnly[JC] def advance(count: Int): Unit
1355213552
IDBCursorReadOnly[JC] def continue(key: Any?): Unit
1355313553
IDBCursorReadOnly[JC] def direction: IDBCursorDirection
1355413554
IDBCursorReadOnly[JC] def key: Any
13555-
IDBCursorReadOnly[JC] def primaryKey: js.Any
13556-
IDBCursorReadOnly[JC] def source: js.Any
13555+
IDBCursorReadOnly[JC] def primaryKey: Any
13556+
IDBCursorReadOnly[JC] def source: Any
1355713557
IDBCursorWithValue[JC] def advance(count: Int): Unit
1355813558
IDBCursorWithValue[JC] def continue(key: Any?): Unit
1355913559
IDBCursorWithValue[JC] def delete(): IDBRequest[Unit]
1356013560
IDBCursorWithValue[JC] def direction: IDBCursorDirection
1356113561
IDBCursorWithValue[JC] def key: Any
13562-
IDBCursorWithValue[JC] def primaryKey: js.Any
13563-
IDBCursorWithValue[JC] def source: js.Any
13564-
IDBCursorWithValue[JC] def update(value: js.Any): IDBRequest[Any]
13565-
IDBCursorWithValue[JC] def value: js.Any
13562+
IDBCursorWithValue[JC] def primaryKey: Any
13563+
IDBCursorWithValue[JC] def source: Any
13564+
IDBCursorWithValue[JC] def update(value: Any): IDBRequest[Any]
13565+
IDBCursorWithValue[JC] def value: Any
1356613566
IDBDatabase[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1356713567
IDBDatabase[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1356813568
IDBDatabase[JC] def close(): Unit
@@ -13576,7 +13576,7 @@ IDBDatabase[JC] var onerror: js.Function1[Event, _]
1357613576
IDBDatabase[JC] var onversionchange: js.Function1[IDBVersionChangeEvent, _]
1357713577
IDBDatabase[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1357813578
IDBDatabase[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
13579-
IDBDatabase[JC] def transaction(storeNames: js.Any, mode: IDBTransactionMode?): IDBTransaction
13579+
IDBDatabase[JC] def transaction(storeNames: Any, mode: IDBTransactionMode?): IDBTransaction
1358013580
IDBDatabase[JC] def version: Int
1358113581
IDBDatabaseInfo[JT] val name: String
1358213582
IDBDatabaseInfo[JT] val version: Int
@@ -13601,36 +13601,36 @@ IDBEventTarget[JC] def dispatchEvent(evt: Event): Boolean
1360113601
IDBEventTarget[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1360213602
IDBEventTarget[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1360313603
IDBEventTarget[JC] def result: A
13604-
IDBFactory[JC] def cmp(first: js.Any, second: js.Any): Int
13604+
IDBFactory[JC] def cmp(first: Any, second: Any): Int
1360513605
IDBFactory[JC] def databases(): js.Promise[js.Array[IDBDatabaseInfo]]
1360613606
IDBFactory[JC] def deleteDatabase(name: String): IDBOpenDBRequest[Unit]
1360713607
IDBFactory[JC] def open(name: String, version: Int?): IDBOpenDBRequest[IDBDatabase]
1360813608
IDBIndex[JC] def count(): IDBRequest[Double]
1360913609
IDBIndex[JC] def count(key: Any): IDBRequest[Double]
13610-
IDBIndex[JC] def get(key: Any): IDBRequest[js.Any]
13611-
IDBIndex[JC] def getKey(key: Any): IDBRequest[js.UndefOr[js.Any]]
13610+
IDBIndex[JC] def get(key: Any): IDBRequest[Any]
13611+
IDBIndex[JC] def getKey(key: Any): IDBRequest[js.UndefOr[Any]]
1361213612
IDBIndex[JC] def keyPath: String
1361313613
IDBIndex[JC] def name: String
1361413614
IDBIndex[JC] def objectStore: IDBObjectStore
1361513615
IDBIndex[JC] def openCursor(range: IDBKeyRange?, direction: IDBCursorDirection?): IDBRequest[IDBCursor]
1361613616
IDBIndex[JC] def openKeyCursor(range: IDBKeyRange?, direction: IDBCursorDirection?): IDBRequest[IDBCursorReadOnly]
1361713617
IDBIndex[JC] def unique: Boolean
13618-
IDBKeyRange[JC] def lower: js.Any
13618+
IDBKeyRange[JC] def lower: Any
1361913619
IDBKeyRange[JC] def lowerOpen: Boolean
13620-
IDBKeyRange[JC] def upper: js.Any
13620+
IDBKeyRange[JC] def upper: Any
1362113621
IDBKeyRange[JC] def upperOpen: Boolean
13622-
IDBKeyRange[JO] def bound(lower: js.Any, upper: js.Any, lowerOpen: Boolean?, upperOpen: Boolean?): IDBKeyRange
13623-
IDBKeyRange[JO] def lowerBound(bound: js.Any, open: Boolean?): IDBKeyRange
13624-
IDBKeyRange[JO] def only(value: js.Any): IDBKeyRange
13625-
IDBKeyRange[JO] def upperBound(bound: js.Any, open: Boolean?): IDBKeyRange
13626-
IDBObjectStore[JC] def add(value: js.Any, key: Any?): IDBRequest[Any]
13622+
IDBKeyRange[JO] def bound(lower: Any, upper: Any, lowerOpen: Boolean?, upperOpen: Boolean?): IDBKeyRange
13623+
IDBKeyRange[JO] def lowerBound(bound: Any, open: Boolean?): IDBKeyRange
13624+
IDBKeyRange[JO] def only(value: Any): IDBKeyRange
13625+
IDBKeyRange[JO] def upperBound(bound: Any, open: Boolean?): IDBKeyRange
13626+
IDBObjectStore[JC] def add(value: Any, key: Any?): IDBRequest[Any]
1362713627
IDBObjectStore[JC] def clear(): IDBRequest[Unit]
1362813628
IDBObjectStore[JC] def count(key: Any?): IDBRequest[Double]
1362913629
IDBObjectStore[JC] def createIndex(name: String, keyPath: Any, optionalParameters: IDBCreateIndexOptions?): IDBIndex
1363013630
IDBObjectStore[JC] def delete(key: Any): IDBRequest[Unit]
1363113631
IDBObjectStore[JC] def deleteIndex(indexName: String): Unit
13632-
IDBObjectStore[JC] def get(key: Any): IDBRequest[js.Any]
13633-
IDBObjectStore[JC] def getAll(query: js.UndefOr[IDBKeyRange | Any]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[js.Any]]
13632+
IDBObjectStore[JC] def get(key: Any): IDBRequest[Any]
13633+
IDBObjectStore[JC] def getAll(query: js.UndefOr[IDBKeyRange | Any]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[Any]]
1363413634
IDBObjectStore[JC] def getAllKeys(query: js.UndefOr[IDBKeyRange | Any]?, count: js.UndefOr[Int]?): IDBRequest[js.Array[Any]]
1363513635
IDBObjectStore[JC] def getKey(key: Any): IDBRequest[js.UndefOr[Any]]
1363613636
IDBObjectStore[JC] def index(name: String): IDBIndex
@@ -13639,7 +13639,7 @@ IDBObjectStore[JC] def keyPath: String
1363913639
IDBObjectStore[JC] def name: String
1364013640
IDBObjectStore[JC] def openCursor(range: js.UndefOr[IDBKeyRange | Any]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[IDBCursor]
1364113641
IDBObjectStore[JC] def openKeyCursor(range: js.UndefOr[IDBKeyRange | Any]?, direction: js.UndefOr[IDBCursorDirection]?): IDBRequest[IDBCursorReadOnly]
13642-
IDBObjectStore[JC] def put(value: js.Any, key: Any?): IDBRequest[Any]
13642+
IDBObjectStore[JC] def put(value: Any, key: Any?): IDBRequest[Any]
1364313643
IDBObjectStore[JC] def transaction: IDBTransaction
1364413644
IDBOpenDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1364513645
IDBOpenDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13653,7 +13653,7 @@ IDBOpenDBRequest[JC] def readyState: String
1365313653
IDBOpenDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1365413654
IDBOpenDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1365513655
IDBOpenDBRequest[JC] def result: A
13656-
IDBOpenDBRequest[JC] def source: js.Any
13656+
IDBOpenDBRequest[JC] def source: Any
1365713657
IDBOpenDBRequest[JC] def transaction: IDBTransaction
1365813658
IDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1365913659
IDBRequest[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
@@ -13665,7 +13665,7 @@ IDBRequest[JC] def readyState: String
1366513665
IDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
1366613666
IDBRequest[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
1366713667
IDBRequest[JC] def result: A
13668-
IDBRequest[JC] def source: js.Any
13668+
IDBRequest[JC] def source: Any
1366913669
IDBRequest[JC] def transaction: IDBTransaction
1367013670
IDBTransaction[JC] def abort(): Unit
1367113671
IDBTransaction[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit

0 commit comments

Comments
 (0)