pax_global_header00006660000000000000000000000064137334736040014524gustar00rootroot0000000000000052 comment=3cc3b7edd4ea11c8eddc6f1a9d2983b2184f7fb6 node-dashdash-2.0.0/000077500000000000000000000000001373347360400142255ustar00rootroot00000000000000node-dashdash-2.0.0/.eslintrc.json000066400000000000000000000006221373347360400170210ustar00rootroot00000000000000{ "plugins": [ "prettier" ], "extends": [ "eslint:recommended", "plugin:prettier/recommended" ], "parserOptions": { "ecmaVersion": 6, "sourceType": "script", "ecmaFeatures": { } }, "env": { "node": true }, "rules": { "curly": ["error", "all"], "func-names": ["error", "always"] } } node-dashdash-2.0.0/.github/000077500000000000000000000000001373347360400155655ustar00rootroot00000000000000node-dashdash-2.0.0/.github/workflows/000077500000000000000000000000001373347360400176225ustar00rootroot00000000000000node-dashdash-2.0.0/.github/workflows/node.js.yml000066400000000000000000000024271373347360400217120ustar00rootroot00000000000000# This workflow will do a clean install of node dependencies, build the source # code and run tests across different versions of node. # https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: # Check lint and style. check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: '12.x' - run: npm ci - run: npm run check # Test once on every (available) plat, using LTS node version. test-plats: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: '12.x' - run: npm ci - run: npm test # Test once for every supported node version. Only test on one # platform to not overkill the number of builds. test-vers: strategy: matrix: node: ['10.x', '12.x', '14.x'] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - run: npm ci - run: npm test node-dashdash-2.0.0/.gitignore000066400000000000000000000000571373347360400162170ustar00rootroot00000000000000/tmp /node_modules /npm-debug.log /.nyc_output node-dashdash-2.0.0/.prettierrc000066400000000000000000000002321373347360400164060ustar00rootroot00000000000000{ "printWidth": 80, "useTabs": false, "semi": true, "trailingComma": "none", "bracketSpacing": false, "singleQuote": true, "tabWidth": 4 } node-dashdash-2.0.0/CHANGES.md000066400000000000000000000264011373347360400156220ustar00rootroot00000000000000# node-dashdash changelog ## not yet released (nothing yet) ## 2.0.0 - [Backward incompatible change] This version drops official support for versions of node.js before 10.x. Dashdash 1.x supports back to node 0.10.x. I've no direct intention of breaking compat, but new changes won't be tested on older node versions. Moving to a newer node allows me to switch to a modernish node-tap for better testing. Dev changes: - Switch from nodeunit to node-tap for testing. - Switch from jsstyle to eslint for linting, and prettier for formatting. - Prefix release tags with a "v", e.g. "v2.0.0", as is I think more typical with other projects. ## 1.14.1 - [issue #30] Change the output used by dashdash's Bash completion support to indicate "there are no completions for this argument" to cope with different sorting rules on different Bash/platforms. For example: $ triton -v -p test2 package get # before ##-no -tritonpackage- completions-## $ triton -v -p test2 package get # after ##-no-completion- -results-## ## 1.14.0 - New `synopsisFromOpt(