@streamparser/json
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -13,3 +13,3 @@ # @streamparser/json | ||
```javascript | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -56,3 +56,3 @@ const parser = new JSONParser(); | ||
```javascript | ||
import { Tokenizer } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { Tokenizer } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -168,3 +168,3 @@ const tokenizer = new Tokenizer(opts); | ||
```javascript | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -229,3 +229,3 @@ const parser = new JSONParser(); | ||
```javascript | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -248,3 +248,3 @@ const parser = new JSONParser({ stringBufferSize: undefined, paths: ['$'] }); | ||
```javascript | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -264,3 +264,3 @@ const parser = new JSONParser({ stringBufferSize: undefined }); | ||
```javascript | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -303,3 +303,3 @@ const parser = new JSONParser({ stringBufferSize: undefined }); | ||
```js | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.16/index.ts";/ | ||
import { JSONParser } from "https://deno.land/x/streamparser_json@v0.0.17/index.ts";/ | ||
@@ -306,0 +306,0 @@ const jsonparser = new JSONParser({ stringBufferSize: undefined, paths: ['$.*'] }); |
@@ -1,6 +0,12 @@ | ||
import { JestConfigWithTsJest } from 'ts-jest'; | ||
import type { JestConfigWithTsJest } from 'ts-jest'; | ||
const jestConfig: JestConfigWithTsJest = { | ||
preset: 'ts-jest/presets/default-esm', // or other ESM presets | ||
extensionsToTreatAsEsm: ['.ts'], | ||
moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' }, | ||
transform: { | ||
'^.+\\.m?[t]sx?$': ['ts-jest', { | ||
isolatedModules: true, | ||
useESM: true | ||
}], | ||
}, | ||
testEnvironment: 'node', | ||
@@ -11,2 +17,2 @@ testMatch: ['<rootDir>/**/test/*.ts', '<rootDir>/**/test/types/*.ts'], | ||
export default jestConfig; | ||
export = jestConfig; |
{ | ||
"name": "@streamparser/json", | ||
"description": "Streaming JSON parser in Javascript for Node.js, Deno and the browser", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"main": "./dist/mjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./dist/mjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
366404
6933