Skip to content

Commit

Permalink
v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Nov 8, 2024
1 parent 0dd794b commit 03eaa8d
Show file tree
Hide file tree
Showing 10 changed files with 309 additions and 312 deletions.
530 changes: 265 additions & 265 deletions coverage/lcov.info

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "@jsonic/toml",
"version": "0.5.0",
"version": "0.6.0",
"description": "This plugin allows the [Jsonic](https://jsonic.senecajs.org) JSON parser to support toml syntax.",
"main": "toml.js",
"type": "commonjs",
"browser": "toml.min.js",
"types": "toml.d.ts",
"homepage": "https://github.com/jsonicjs/toml",
"keywords": [
Expand All @@ -25,7 +24,7 @@
"test-watch": "jest --coverage --watchAll",
"watch": "tsc -w -d",
"doc": "jsonic-doc",
"build": "tsc -d && cp toml.js toml.min.js && browserify -o toml.min.js -e toml.js -s @JsonicToml -im -i assert -p tinyify",
"build": "tsc -d",
"prettier": "prettier --write --no-semi --single-quote *.ts test/*.js",
"install-toml-test": "git -C test/toml-test pull || git clone https://github.com/BurntSushi/toml-test.git test/toml-test",
"clean": "rm -rf node_modules yarn.lock package-lock.json test/toml-test",
Expand All @@ -43,16 +42,13 @@
],
"devDependencies": {
"@types/jest": "^29.5.14",
"browserify": "^17.0.1",
"es-jest": "^2.1.0",
"esbuild": "^0.24.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"tinyify": "^4.0.0",
"typescript": "^5.6.3",
"@jsonic/jsonic-next": ">=2.13.0"
"typescript": "^5.6.3"
},
"peerDependencies": {
"@jsonic/jsonic-next": ">=2.13.0"
"jsonic": ">=2.15.2"
}
}
13 changes: 7 additions & 6 deletions test/toml.test.js

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

2 changes: 1 addition & 1 deletion test/toml.test.js.map

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

6 changes: 3 additions & 3 deletions test/toml.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Copyright (c) 2022 Richard Rodger and other contributors, MIT License */
/* Copyright (c) 2022-2024 Richard Rodger and other contributors, MIT License */

Check failure on line 1 in test/toml.test.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 14.x)

Cannot find module 'jsonic' or its corresponding type declarations.

Check failure on line 1 in test/toml.test.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 14.x)

Cannot find module 'jsonic' or its corresponding type declarations.

import Fs from 'fs'
import Path from 'path'

import { Jsonic } from '@jsonic/jsonic-next'
import { Debug } from '@jsonic/jsonic-next/debug'
import { Jsonic } from 'jsonic'
// import { Debug } from 'jsonic/debug'
import { Toml } from '../toml'


Expand Down
2 changes: 1 addition & 1 deletion toml.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Plugin } from '@jsonic/jsonic-next';
import { Plugin } from 'jsonic';
type TomlOptions = {};
declare const Toml: Plugin;
export declare const isHexadecimal: (char: string) => boolean;
Expand Down
4 changes: 2 additions & 2 deletions toml.js

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

2 changes: 1 addition & 1 deletion toml.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion toml.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 03eaa8d

Please sign in to comment.