You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@streamparser/json-whatwg

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamparser/json-whatwg - npm Package Compare versions

Comparing version

to
0.0.15

2

dist/deno/index.ts

@@ -13,2 +13,2 @@ export { default as JSONParser } from "./jsonparser.ts";

TokenType,
} from "https://deno.land/x/streamparser_json@v0.0.14/index.ts";
} from "https://deno.land/x/streamparser_json@v0.0.15/index.ts";

@@ -1,3 +0,3 @@

import { JSONParser, type JSONParserOptions } from "https://deno.land/x/streamparser_json@v0.0.14/index.ts";
import type { ParsedElementInfo } from "https://deno.land/x/streamparser_json@v0.0.14/utils/types/parsedElementInfo.ts";
import { JSONParser, type JSONParserOptions } from "https://deno.land/x/streamparser_json@v0.0.15/index.ts";
import type { ParsedElementInfo } from "https://deno.land/x/streamparser_json@v0.0.15/utils/types/parsedElementInfo.ts";
import { cloneParsedElementInfo } from "./utils.ts";

@@ -4,0 +4,0 @@

@@ -1,2 +0,2 @@

# @streamparser/json
# @streamparser/json-whatwg

@@ -39,3 +39,3 @@ [![npm version][npm-version-badge]][npm-badge-url]

## streamparser/json ecosystem
## @streamparser/json ecosystem

@@ -45,3 +45,4 @@ There are multiple flavours of @streamparser:

* The **[@streamparser/json](https://www.npmjs.com/package/@streamparser/json)** package allows to parse any JSON string or stream using pure Javascript.
* The **[@streamparser/json-whatwg](https://www.npmjs.com/package/@streamparser/json-whatwg)** wraps `@streamparser/json` into WHATWG `@streamparser/json-whatwg`.
* The **[@streamparser/json-whatwg](https://www.npmjs.com/package/@streamparser/json-whatwg)** wraps `@streamparser/json` into a WHATWG TransformStream.
* The **[@streamparser/json-node](https://www.npmjs.com/package/@streamparser/json-node)** wraps `@streamparser/json` into a node Transform stream.

@@ -201,3 +202,3 @@ ## Dependencies / Polyfilling

const response = await fetch('http://example.com/');
const reader = response.body.pipeThrough(parse)getReader();
const reader = response.body.pipeThrough(parser).getReader();
while(true) {

@@ -221,3 +222,3 @@ const { done, value } = await reader.read();

const reader = response.body.pipeThrough(parse)getReader();
const reader = response.body.pipeThrough(parser).getReader();
while(true) {

@@ -236,5 +237,5 @@ const { done, value: parsedElementInfo } = await reader.read();

[npm-version-badge]: https://badge.fury.io/js/@streamparser%2Fjson.svg
[npm-badge-url]: https://www.npmjs.com/package/@streamparser/json
[npm-downloads-badge]: https://img.shields.io/npm/dm/@streamparser%2Fjson.svg
[npm-version-badge]: https://badge.fury.io/js/@streamparser%2Fjson-whatwg.svg
[npm-badge-url]: https://www.npmjs.com/package/@streamparser/json-whatwg
[npm-downloads-badge]: https://img.shields.io/npm/dm/@streamparser%2Fjson-whatwg.svg
[build-status-badge]: https://github.com/juanjoDiaz/streamparser-json/actions/workflows/on-push.yaml/badge.svg

@@ -241,0 +242,0 @@ [build-status-url]: https://github.com/juanjoDiaz/streamparser-json/actions/workflows/on-push.yaml

import Tokenizer, {
type TokenizerOptions,
} from "https://deno.land/x/streamparser_json@v0.0.14/tokenizer.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/streamparser_json@v0.0.14/utils/types/parsedTokenInfo.ts";
} from "https://deno.land/x/streamparser_json@v0.0.15/tokenizer.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/streamparser_json@v0.0.15/utils/types/parsedTokenInfo.ts";

@@ -6,0 +6,0 @@ class TokenizerTransformer

@@ -1,4 +0,4 @@

import { TokenParser, type TokenParserOptions } from "https://deno.land/x/streamparser_json@v0.0.14/index.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/streamparser_json@v0.0.14/utils/types/parsedTokenInfo.ts";
import type { ParsedElementInfo } from "https://deno.land/x/streamparser_json@v0.0.14/utils/types/parsedElementInfo.ts";
import { TokenParser, type TokenParserOptions } from "https://deno.land/x/streamparser_json@v0.0.15/index.ts";
import type { ParsedTokenInfo } from "https://deno.land/x/streamparser_json@v0.0.15/utils/types/parsedTokenInfo.ts";
import type { ParsedElementInfo } from "https://deno.land/x/streamparser_json@v0.0.15/utils/types/parsedElementInfo.ts";
import { cloneParsedElementInfo } from "./utils.ts";

@@ -5,0 +5,0 @@

@@ -1,2 +0,2 @@

import type { ParsedElementInfo } from "https://deno.land/x/streamparser_json@v0.0.14/utils/types/parsedElementInfo.ts";
import type { ParsedElementInfo } from "https://deno.land/x/streamparser_json@v0.0.15/utils/types/parsedElementInfo.ts";

@@ -3,0 +3,0 @@ export function cloneParsedElementInfo(

{
"name": "@streamparser/json-whatwg",
"description": "Streaming JSON parser in Javascript for Node.js, Deno and the browser",
"version": "0.0.14",
"version": "0.0.15",
"main": "./dist/mjs/index.js",

@@ -45,4 +45,4 @@ "module": "./dist/mjs/index.js",

"dependencies": {
"@streamparser/json": "^0.0.14"
"@streamparser/json": "^0.0.15"
}
}

@@ -1,2 +0,2 @@

# @streamparser/json
# @streamparser/json-whatwg

@@ -39,3 +39,3 @@ [![npm version][npm-version-badge]][npm-badge-url]

## streamparser/json ecosystem
## @streamparser/json ecosystem

@@ -45,3 +45,4 @@ There are multiple flavours of @streamparser:

* The **[@streamparser/json](https://www.npmjs.com/package/@streamparser/json)** package allows to parse any JSON string or stream using pure Javascript.
* The **[@streamparser/json-whatwg](https://www.npmjs.com/package/@streamparser/json-whatwg)** wraps `@streamparser/json` into WHATWG `@streamparser/json-whatwg`.
* The **[@streamparser/json-whatwg](https://www.npmjs.com/package/@streamparser/json-whatwg)** wraps `@streamparser/json` into a WHATWG TransformStream.
* The **[@streamparser/json-node](https://www.npmjs.com/package/@streamparser/json-node)** wraps `@streamparser/json` into a node Transform stream.

@@ -201,3 +202,3 @@ ## Dependencies / Polyfilling

const response = await fetch('http://example.com/');
const reader = response.body.pipeThrough(parse)getReader();
const reader = response.body.pipeThrough(parser).getReader();
while(true) {

@@ -221,3 +222,3 @@ const { done, value } = await reader.read();

const reader = response.body.pipeThrough(parse)getReader();
const reader = response.body.pipeThrough(parser).getReader();
while(true) {

@@ -236,5 +237,5 @@ const { done, value: parsedElementInfo } = await reader.read();

[npm-version-badge]: https://badge.fury.io/js/@streamparser%2Fjson.svg
[npm-badge-url]: https://www.npmjs.com/package/@streamparser/json
[npm-downloads-badge]: https://img.shields.io/npm/dm/@streamparser%2Fjson.svg
[npm-version-badge]: https://badge.fury.io/js/@streamparser%2Fjson-whatwg.svg
[npm-badge-url]: https://www.npmjs.com/package/@streamparser/json-whatwg
[npm-downloads-badge]: https://img.shields.io/npm/dm/@streamparser%2Fjson-whatwg.svg
[build-status-badge]: https://github.com/juanjoDiaz/streamparser-json/actions/workflows/on-push.yaml/badge.svg

@@ -241,0 +242,0 @@ [build-status-url]: https://github.com/juanjoDiaz/streamparser-json/actions/workflows/on-push.yaml