@progfay/scrapbox-parser
Advanced tools
Comparing version 9.0.0 to 9.1.0
131
package.json
{ | ||
"name": "@progfay/scrapbox-parser", | ||
"version": "9.0.0", | ||
"description": "parse Scrapbox notation to JavaScript Object", | ||
"files": [ | ||
"lib", | ||
"esm", | ||
"umd" | ||
], | ||
"main": "./lib/index.js", | ||
"module": "./esm/index.js", | ||
"types": "./lib/index.d.ts", | ||
"unpkg": "./umd/scrapbox-parser.js", | ||
"exports": { | ||
"import": "./esm/index.js", | ||
"require": "./lib/index.js", | ||
"node": "./esm/index.js", | ||
"default": "./lib/index.js" | ||
}, | ||
"scripts": { | ||
"build": "run-p build:*", | ||
"build:cjs": "tsc -p ./tsconfig.cjs.json", | ||
"build:esm": "tsc -p ./tsconfig.esm.json", | ||
"build:umd": "webpack", | ||
"prepare": "npm run clean && npm run build", | ||
"clean": "node -e '[`lib`, `esm`, `umd`, `.cjs.tsbuildinfo`, `.esm.tsbuildinfo`].forEach(path => { fs.rmSync(path, {recursive:true, force:true}) })'", | ||
"test": "jest --coverage", | ||
"test:update": "jest --updateSnapshot --no-cache", | ||
"lint": "run-p lint:*", | ||
"lint:prettier": "prettier --check .", | ||
"lint:eslint": "eslint -c ./.eslintrc.js .", | ||
"lint:cspell": "cspell --no-summary '**/*'", | ||
"lint:typescript": "tsc -p ./tsconfig.eslint.json", | ||
"format": "run-s format:prettier format:eslint", | ||
"format:prettier": "prettier --write .", | ||
"format:eslint": "eslint --fix -c ./.eslintrc.js ." | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/progfay/scrapbox-parser.git" | ||
}, | ||
"keywords": [ | ||
"scrapbox", | ||
"parser" | ||
], | ||
"author": "progfay", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/progfay/scrapbox-parser/issues" | ||
}, | ||
"homepage": "https://github.com/progfay/scrapbox-parser#readme", | ||
"devDependencies": { | ||
"@babel/core": "7.24.0", | ||
"@babel/preset-env": "7.24.0", | ||
"@types/core-js": "2.5.8", | ||
"@types/jest": "29.5.12", | ||
"@types/node": "20.11.24", | ||
"@typescript-eslint/eslint-plugin": "7.1.0", | ||
"@typescript-eslint/parser": "7.1.0", | ||
"babel-loader": "9.1.3", | ||
"cspell": "8.5.0", | ||
"eslint": "8.57.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-jest": "27.9.0", | ||
"jest": "29.7.0", | ||
"jest-snapshot": "29.7.0", | ||
"npm-run-all2": "6.1.2", | ||
"prettier": "3.2.5", | ||
"ts-jest": "29.1.2", | ||
"ts-loader": "9.5.1", | ||
"typescript": "5.3.3", | ||
"webpack": "5.90.3", | ||
"webpack-cli": "5.1.4" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
"name": "@progfay/scrapbox-parser", | ||
"version": "9.1.0", | ||
"type": "module", | ||
"description": "parse Scrapbox notation to JavaScript Object", | ||
"files": [ | ||
"out" | ||
], | ||
"main": "./out/index.cjs", | ||
"module": "./out/index.mjs", | ||
"types": "./out/types/index.d.ts", | ||
"unpkg": "./out/scrapbox-parser.umd.js", | ||
"exports": { | ||
"import": "./out/index.mjs", | ||
"require": "./out/index.cjs", | ||
"node": "./out/index.mjs", | ||
"default": "./out/index.cjs" | ||
}, | ||
"scripts": { | ||
"prebuild": "node -e 'fs.rmSync(`out`, {recursive:true, force:true})'", | ||
"build": "run-p build:*", | ||
"build:types": "tsc -p ./tsconfig.json", | ||
"build:vite": "vite build", | ||
"prepare": "npm run build", | ||
"test": "vitest run --coverage", | ||
"test:update": "vitest run -u", | ||
"lint": "run-p lint:*", | ||
"lint:biome": "biome check .", | ||
"lint:tsc": "tsc -p ./tsconfig.lint.json", | ||
"format": "biome check --write ." | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/progfay/scrapbox-parser.git" | ||
}, | ||
"keywords": [ | ||
"scrapbox", | ||
"parser" | ||
], | ||
"author": "progfay", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/progfay/scrapbox-parser/issues" | ||
}, | ||
"homepage": "https://github.com/progfay/scrapbox-parser#readme", | ||
"devDependencies": { | ||
"@biomejs/biome": "1.8.3", | ||
"@vitest/coverage-v8": "2.0.5", | ||
"npm-run-all2": "6.2.2", | ||
"typescript": "5.5.4", | ||
"vite": "5.4.2", | ||
"vitest": "2.0.5" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
@@ -5,3 +5,2 @@ # Scrapbox Parser | ||
[![npm version](https://img.shields.io/npm/v/@progfay/scrapbox-parser?style=for-the-badge&message=NPM&color=CB3837&logo=NPM&labelColor=222222&label=npm)](https://www.npmjs.com/package/@progfay/scrapbox-parser) | ||
[![Build Status](https://img.shields.io/travis/progfay/scrapbox-parser?style=for-the-badge&message=Travis+CI&color=3EAAAF&logo=Travis+CI&labelColor=222222&logoColor=FFFFFF)](https://travis-ci.org/progfay/scrapbox-parser) | ||
[![Maintainability](https://img.shields.io/codeclimate/maintainability/progfay/scrapbox-parser?style=for-the-badge&message=Code+Climate&labelColor=222222&logo=Code+Climate&logoColor=FFFFFF)](https://codeclimate.com/github/progfay/scrapbox-parser/maintainability) | ||
@@ -24,3 +23,2 @@ [![Test Coverage](https://img.shields.io/codeclimate/coverage/progfay/scrapbox-parser?style=for-the-badge&message=Code+Climate&labelColor=222222&logo=Code+Climate&logoColor=FFFFFF)](https://codeclimate.com/github/progfay/scrapbox-parser/coverage) | ||
import { parse } from "@progfay/scrapbox-parser"; | ||
import fetch from "node-fetch"; | ||
@@ -27,0 +25,0 @@ const PROJECT_NAME = "help"; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6
Yes
52332
66
702
30
1