Skip to content

Commit

Permalink
some cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
CaselIT committed May 9, 2020
1 parent 9406c8a commit 23e8fc1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This library does not provides polyfills for Set and Map.
```sh
yarn add json-set-map
```
The current version supports `node v6.x+` and modern browsers.
The current version supports `node v10.x+` and modern browsers.

## Usage
* Typescript and es6
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"README.md"
],
"engines": {
"node": ">=8.x"
"node": ">=10.x"
},
"nyc": {
"reporter": [
Expand Down
2 changes: 1 addition & 1 deletion src/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Parser } from './utils';
/** Extends Map to add toJSON and fromJSON */
export default class SerializableMap<K, V> extends Map<K, V> {
/**
* Called automaticly by JSON.stringify
* Called automatically by JSON.stringify
* @return {[K, V][]} An array of two elements tuple.
*/
toJSON(): [K, V][] {
Expand Down
2 changes: 1 addition & 1 deletion src/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Parser } from './utils';
/** Extends Set to add toJSON and fromJSON */
export default class SerializableSet<T> extends Set<T> {
/**
* Called automaticly by JSON.stringify
* Called automatically by JSON.stringify
* @return {T[]} An array of elements.
*/
toJSON(): T[] {
Expand Down

0 comments on commit 23e8fc1

Please sign in to comment.