Socket
Socket
Sign inDemoInstall

@es-joy/jsdoccomment

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-joy/jsdoccomment - npm Package Compare versions

Comparing version 0.9.0-alpha.4 to 0.9.0-alpha.5

11

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.9.0-alpha.5
### User-impacting
- npm: Bump `comment-parser` (for true ESM)
- Update: Remove extensions for packages for native ESM in `comment-parser` fix
### Dev-impacting
- npm: Update devDeps.
## 0.9.0-alpha.4

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

155

package.json
{
"name": "@es-joy/jsdoccomment",
"version": "0.9.0-alpha.4",
"author": "Brett Zamir <brettz9@yahoo.com>",
"contributors": [],
"description": "Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities",
"license": "MIT",
"keywords": [
"eslint",
"sourcecode"
],
"type": "module",
"main": "./dist/index.cjs.cjs",
"exports": {
"require": "./dist/index.cjs.cjs",
"import": "./src/index.js"
},
"c8": {
"checkCoverage": true,
"branches": 100,
"statements": 100,
"lines": 100,
"functions": 100
},
"browserslist": [
"cover 100%"
],
"repository": {
"type": "git",
"url": "git+https://github.com/es-joy/jsdoccomment.git"
},
"bugs": {
"url": "https://github.com/es-joy/jsdoccomment/issues"
},
"homepage": "https://github.com/es-joy/jsdoccomment",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"comment-parser": "1.1.6-beta.0",
"esquery": "^1.4.0",
"jsdoc-type-pratt-parser": "1.0.4"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/preset-env": "^7.14.7",
"@brettz9/eslint-plugin": "^1.0.3",
"@rollup/plugin-babel": "^5.3.0",
"c8": "^7.7.3",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint-config-ash-nazg": "31.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-compat": "^3.11.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsdoc": "^35.5.0",
"eslint-plugin-markdown": "^2.2.0",
"eslint-plugin-no-unsanitized": "^3.1.5",
"eslint-plugin-no-use-extend-native": "^0.5.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-sonarjs": "^0.9.1",
"eslint-plugin-unicorn": "^34.0.1",
"mocha": "^9.0.2",
"rollup": "^2.52.7"
},
"scripts": {
"rollup": "rollup -c",
"eslint": "eslint --ext=js,cjs,md,html .",
"lint": "npm run eslint",
"mocha": "mocha --require chai/register-expect",
"c8": "c8 npm run mocha",
"test": "npm run lint && npm run rollup && npm run c8"
}
"name": "@es-joy/jsdoccomment",
"version": "0.9.0-alpha.5",
"author": "Brett Zamir <brettz9@yahoo.com>",
"contributors": [],
"description": "Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities",
"license": "MIT",
"keywords": [
"eslint",
"sourcecode"
],
"type": "module",
"main": "./dist/index.cjs.cjs",
"exports": {
"import": "./src/index.js",
"require": "./dist/index.cjs.cjs"
},
"c8": {
"checkCoverage": true,
"branches": 100,
"statements": 100,
"lines": 100,
"functions": 100
},
"browserslist": [
"cover 100%"
],
"scripts": {
"prepublishOnly": "pnpm i && npm run rollup",
"rollup": "rollup -c",
"eslint": "eslint --ext=js,cjs,md,html .",
"lint": "npm run eslint",
"mocha": "mocha --require chai/register-expect",
"c8": "c8 npm run mocha",
"test": "npm run lint && npm run rollup && npm run c8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/es-joy/jsdoccomment.git"
},
"bugs": {
"url": "https://github.com/es-joy/jsdoccomment/issues"
},
"homepage": "https://github.com/es-joy/jsdoccomment",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"comment-parser": "1.1.6-beta.2",
"esquery": "^1.4.0",
"jsdoc-type-pratt-parser": "1.0.4"
},
"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/preset-env": "^7.14.8",
"@brettz9/eslint-plugin": "^1.0.3",
"@rollup/plugin-babel": "^5.3.0",
"c8": "^7.7.3",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint-config-ash-nazg": "31.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-compat": "^3.11.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsdoc": "^35.5.1",
"eslint-plugin-markdown": "^2.2.0",
"eslint-plugin-no-unsanitized": "^3.1.5",
"eslint-plugin-no-use-extend-native": "^0.5.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-sonarjs": "^0.9.1",
"eslint-plugin-unicorn": "^34.0.1",
"mocha": "^9.0.2",
"rollup": "^2.53.3"
}
}

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

// Todo: We ideally would use comment-parser's es6 directory, but as the repo
// is CommonJS, it will not be properly treated as ESM from here
/* eslint-disable prefer-named-capture-group -- Temporary */

@@ -8,11 +6,11 @@ import {

getJoiner
} from 'comment-parser/lib/parser/tokenizers/description.js';
} from 'comment-parser/parser/tokenizers/description';
import {
seedBlock,
seedTokens
} from 'comment-parser/lib/util.js';
} from 'comment-parser/util';
import {parse as commentParser} from 'comment-parser';
import nameTokenizer from 'comment-parser/lib/parser/tokenizers/name.js';
import tagTokenizer from 'comment-parser/lib/parser/tokenizers/tag.js';
import typeTokenizer from 'comment-parser/lib/parser/tokenizers/type.js';
import nameTokenizer from 'comment-parser/parser/tokenizers/name';
import tagTokenizer from 'comment-parser/parser/tokenizers/tag';
import typeTokenizer from 'comment-parser/parser/tokenizers/type';

@@ -19,0 +17,0 @@ export const hasSeeWithLink = (spec) => {

Sorry, the diff of this file is not supported yet

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