New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mokuji.js

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mokuji.js - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

dist/index.cjs

9

dist/index.d.ts
type AnchorContainerTagNameProps = 'ul' | 'ol';
export type MokujiOption = {
type MokujiOption = {
anchorType?: boolean;

@@ -10,3 +10,6 @@ anchorLink?: boolean;

};
export declare const Mokuji: (element: HTMLElement | null, externalOptions?: MokujiOption) => HTMLUListElement | HTMLOListElement | undefined;
export {};
declare const Mokuji: (element: HTMLElement | null, externalOptions?: MokujiOption) => HTMLUListElement | HTMLOListElement | undefined;
declare const destory: () => void;
export { Mokuji, MokujiOption, destory };
{
"name": "mokuji.js",
"version": "4.3.0",
"version": "4.4.0",
"description": "A table of content JavaScript Library",
"scripts": {
"build": "microbundle",
"clean": "rimraf lib/",
"watch": "microbundle watch",
"test": "npm run lint",
"prepare": "npm run clean && npm run build && husky install"
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint --cache ./src/**/*.ts",
"prepare": "npm run build && husky install"
},
"source": "src/index.ts",
"main": "dist/mokuji.js",
"types": "dist/index.d.ts",
"module": "dist/mokuji.module.js",
"esmodule": "dist/mokuji.modern.js",
"unpkg": "dist/mokuji.umd.js",
"type": "module",
"main": "./dist/index.js",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"directories": {

@@ -22,11 +23,15 @@ "lib": "lib"

"files": [
"dist/",
"lib/",
"src/",
"dist",
"LICENSE",
"package.json",
"READNME.md"
],
"lint-staged": {
"*.{js,ts}": [
"prettier --write"
"*.{js,ts,tsx}": [
"eslint --fix --cache",
"eslint --cache",
"prettier --write --cache"
],
"*.{ts,tsx}": [
"bash -c 'tsc --noEmit --skipLibCheck'"
]

@@ -51,11 +56,13 @@ },

"devDependencies": {
"@types/node": "~18.13.0",
"@types/node": "~20.2.3",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-unicorn": "^47.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.1",
"microbundle": "^0.15.1",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"typescript": "~4.9.5"
},
"dependencies": {}
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"tsup": "^6.7.0",
"typescript": "~5.0.4"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc