Skip to content

Commit

Permalink
chore: bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Dec 12, 2023
1 parent a031b92 commit 47305a1
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 36 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "streamparser-json",
"description": "Streaming JSON parser in Javascript for Node.js, Deno and the browser",
"version": "0.0.17",
"version": "0.0.18",
"type": "module",
"author": "Juanjo Diaz <[email protected]>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/dist/deno/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export {
TokenParserMode,
type StackElement,
TokenType,
} from "https://deno.land/x/[email protected].17/index.ts";
} from "https://deno.land/x/[email protected].18/index.ts";
2 changes: 1 addition & 1 deletion packages/node/dist/deno/jsonparser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
type TransformOptions,
type TransformCallback,
} from "stream";
import { JSONParser, type JSONParserOptions } from "https://deno.land/x/[email protected].17/index.ts";
import { JSONParser, type JSONParserOptions } from "https://deno.land/x/[email protected].18/index.ts";

export default class JSONParserTransform extends Transform {
private jsonParser: JSONParser;
Expand Down
2 changes: 1 addition & 1 deletion packages/node/dist/deno/tokenizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from "stream";
import Tokenizer, {
type TokenizerOptions,
} from "https://deno.land/x/[email protected].17/tokenizer.ts";
} from "https://deno.land/x/[email protected].18/tokenizer.ts";

export default class TokenizerTransform extends Transform {
private tokenizer: Tokenizer;
Expand Down
2 changes: 1 addition & 1 deletion packages/node/dist/deno/tokenparser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
type TransformOptions,
type TransformCallback,
} from "stream";
import { TokenParser, type TokenParserOptions } from "https://deno.land/x/[email protected].17/index.ts";
import { TokenParser, type TokenParserOptions } from "https://deno.land/x/[email protected].18/index.ts";

export default class TokenParserTransform extends Transform {
private tokenParser: TokenParser;
Expand Down
4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@streamparser/json-node",
"description": "Streaming JSON parser in Javascript for Node.js, Deno and the browser",
"version": "0.0.17",
"version": "0.0.18",
"main": "./dist/mjs/index.js",
"module": "./dist/mjs/index.js",
"browser": "./dist/mjs/index.js",
Expand Down Expand Up @@ -42,7 +42,7 @@
"stream"
],
"dependencies": {
"@streamparser/json": "^0.0.17"
"@streamparser/json": "^0.0.18"
},
"devDependencies": {
"@types/node": "^20.2.3"
Expand Down
16 changes: 8 additions & 8 deletions packages/plainjs/dist/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Fast dependency-free library to parse a JSON stream using utf-8 encoding in Node
*tldr;*

```javascript
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const parser = new JSONParser();
parser.onValue = ({ value }) => { /* process data */ };
Expand Down Expand Up @@ -52,7 +52,7 @@ If you are targeting browsers or systems in which these might be missing, you ne
A JSON compliant tokenizer that parses a utf-8 stream into JSON tokens

```javascript
import { Tokenizer } from "https://deno.land/x/[email protected].17/index.ts";/
import { Tokenizer } from "https://deno.land/x/[email protected].18/index.ts";/

const tokenizer = new Tokenizer(opts);
```
Expand Down Expand Up @@ -165,7 +165,7 @@ A drop-in replacement of `JSONparse` (with few ~~breaking changes~~ improvements


```javascript
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const parser = new JSONParser();
```
Expand Down Expand Up @@ -225,7 +225,7 @@ You push data using the `write` method which takes a string or an array-like obj
You can subscribe to the resulting data using the

```javascript
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const parser = new JSONParser({ stringBufferSize: undefined, paths: ['$'] });
parser.onValue = console.log;
Expand All @@ -243,7 +243,7 @@ parser.write('"');// logs "Hello world!"
Write is always a synchronous operation so any error during the parsing of the stream will be thrown during the write operation. After an error, the parser can't continue parsing.

```javascript
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const parser = new JSONParser({ stringBufferSize: undefined });
parser.onValue = console.log;
Expand All @@ -258,7 +258,7 @@ try {
You can also handle errors using callbacks:

```javascript
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const parser = new JSONParser({ stringBufferSize: undefined });
parser.onValue = console.log;
Expand Down Expand Up @@ -349,7 +349,7 @@ Imagine an endpoint that send a large amount of JSON objects one after the other
Imagine an endpoint that send a large amount of JSON objects one after the other (`[{"id":1},{"id":2},{"id":3},...]`).

```js
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const jsonparser = new JSONParser({ stringBufferSize: undefined, paths: ['$.*'] });
jsonparser.onValue = ({ value, key, parent, stack }) => {
Expand All @@ -370,7 +370,7 @@ Imagine an endpoint that send a large amount of JSON objects one after the other
Imagine an endpoint that send a large amount of JSON objects one after the other (`"Once upon a midnight <...>"`).

```js
import { JSONParser } from "https://deno.land/x/[email protected].17/index.ts";/
import { JSONParser } from "https://deno.land/x/[email protected].18/index.ts";/

const jsonparser = new JSONParser({ emitPartialTokens: true, emitPartialValues: true });
jsonparser.onValue = ({ value, key, parent, stack, partial }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/plainjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@streamparser/json",
"description": "Streaming JSON parser in Javascript for Node.js, Deno and the browser",
"version": "0.0.17",
"version": "0.0.18",
"main": "./dist/mjs/index.js",
"module": "./dist/mjs/index.js",
"browser": "./dist/mjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/whatwg/dist/deno/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export {
TokenParserMode,
type StackElement,
TokenType,
} from "https://deno.land/x/[email protected].17/index.ts";
} from "https://deno.land/x/[email protected].18/index.ts";
4 changes: 2 additions & 2 deletions packages/whatwg/dist/deno/jsonparser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { JSONParser, type JSONParserOptions } from "https://deno.land/x/[email protected].17/index.ts";
import type { ParsedElementInfo } from "https://deno.land/x/[email protected].17/utils/types/parsedElementInfo.ts";
import { JSONParser, type JSONParserOptions } from "https://deno.land/x/[email protected].18/index.ts";
import type { ParsedElementInfo } from "https://deno.land/x/[email protected].18/utils/types/parsedElementInfo.ts";
import { cloneParsedElementInfo } from "./utils.ts";

class JSONParserTransformer
Expand Down
4 changes: 2 additions & 2 deletions packages/whatwg/dist/deno/tokenizer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Tokenizer, {
type TokenizerOptions,
} from "https://deno.land/x/[email protected].17/tokenizer.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/[email protected].17/utils/types/parsedTokenInfo.ts";
} from "https://deno.land/x/[email protected].18/tokenizer.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/[email protected].18/utils/types/parsedTokenInfo.ts";

class TokenizerTransformer
extends Tokenizer
Expand Down
6 changes: 3 additions & 3 deletions packages/whatwg/dist/deno/tokenparser.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TokenParser, type TokenParserOptions } from "https://deno.land/x/[email protected].17/index.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/[email protected].17/utils/types/parsedTokenInfo.ts";
import type { ParsedElementInfo } from "https://deno.land/x/[email protected].17/utils/types/parsedElementInfo.ts";
import { TokenParser, type TokenParserOptions } from "https://deno.land/x/[email protected].18/index.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/[email protected].18/utils/types/parsedTokenInfo.ts";
import type { ParsedElementInfo } from "https://deno.land/x/[email protected].18/utils/types/parsedElementInfo.ts";
import { cloneParsedElementInfo } from "./utils.ts";

class TokenParserTransformer
Expand Down
2 changes: 1 addition & 1 deletion packages/whatwg/dist/deno/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ParsedElementInfo } from "https://deno.land/x/[email protected].17/utils/types/parsedElementInfo.ts";
import type { ParsedElementInfo } from "https://deno.land/x/[email protected].18/utils/types/parsedElementInfo.ts";

export function cloneParsedElementInfo(
parsedElementInfo: ParsedElementInfo,
Expand Down
4 changes: 2 additions & 2 deletions packages/whatwg/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@streamparser/json-whatwg",
"description": "Streaming JSON parser in Javascript for Node.js, Deno and the browser",
"version": "0.0.17",
"version": "0.0.18",
"main": "./dist/mjs/index.js",
"module": "./dist/mjs/index.js",
"browser": "./dist/mjs/index.js",
Expand Down Expand Up @@ -42,6 +42,6 @@
"stream"
],
"dependencies": {
"@streamparser/json": "^0.0.17"
"@streamparser/json": "^0.0.18"
}
}
2 changes: 1 addition & 1 deletion performance/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@streamparser/json": "^0.0.17",
"@streamparser/json": "^0.0.18",
"benchmark": "^2.1.4",
"jsonparse": "^1.3.1"
}
Expand Down

0 comments on commit 47305a1

Please sign in to comment.