projen-pipelines 0.3.4 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +124 -24
- package/API.md +345 -0
- package/lib/assign-approver/base.js +1 -1
- package/lib/assign-approver/github.js +1 -1
- package/lib/awscdk/base.js +12 -2
- package/lib/awscdk/bash.js +1 -1
- package/lib/awscdk/github.js +1 -1
- package/lib/awscdk/gitlab.js +1 -1
- package/lib/drift/base.js +1 -1
- package/lib/drift/bash.js +1 -1
- package/lib/drift/github.js +1 -1
- package/lib/drift/gitlab.js +1 -1
- package/lib/drift/step.js +1 -1
- package/lib/release.js +4 -3
- package/lib/steps/amplify-deploy.step.js +1 -1
- package/lib/steps/artifact-steps.js +2 -2
- package/lib/steps/aws-assume-role.step.js +1 -1
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/index.js +2 -1
- package/lib/steps/package-manager-setup.step.d.ts +24 -0
- package/lib/steps/package-manager-setup.step.js +36 -0
- package/lib/steps/registries.js +3 -3
- package/lib/steps/step.js +4 -4
- package/lib/versioning/computation.js +3 -3
- package/lib/versioning/config.js +2 -2
- package/lib/versioning/outputs.js +5 -5
- package/lib/versioning/setup.js +1 -1
- package/lib/versioning/strategy.js +1 -1
- package/lib/versioning/version-info.js +2 -2
- package/node_modules/cliui/build/index.d.cts +43 -0
- package/node_modules/cliui/package.json +83 -0
- package/node_modules/commit-and-tag-version/.gitattributes +2 -0
- package/node_modules/commit-and-tag-version/.github/ISSUE_TEMPLATE/ask-a-question.md +7 -0
- package/node_modules/commit-and-tag-version/.github/ISSUE_TEMPLATE/bug-report.md +29 -0
- package/node_modules/commit-and-tag-version/.github/dependabot.yml +19 -0
- package/node_modules/commit-and-tag-version/.github/workflows/ci.yaml +39 -0
- package/node_modules/commit-and-tag-version/.github/workflows/release-please.yml +36 -0
- package/node_modules/commit-and-tag-version/.prettierrc +3 -0
- package/node_modules/commit-and-tag-version/CHANGELOG.md +781 -0
- package/node_modules/commit-and-tag-version/CONTRIBUTING.md +41 -0
- package/node_modules/commit-and-tag-version/README.md +674 -0
- package/node_modules/commit-and-tag-version/bin/cli.js +14 -0
- package/node_modules/commit-and-tag-version/command.js +179 -0
- package/node_modules/commit-and-tag-version/defaults.js +45 -0
- package/node_modules/commit-and-tag-version/eslint.config.mjs +67 -0
- package/node_modules/commit-and-tag-version/index.js +96 -0
- package/node_modules/commit-and-tag-version/jest.config.js +28 -0
- package/node_modules/commit-and-tag-version/lib/checkpoint.js +23 -0
- package/node_modules/commit-and-tag-version/lib/configuration.js +45 -0
- package/node_modules/commit-and-tag-version/lib/detect-package-manager.js +53 -0
- package/node_modules/commit-and-tag-version/lib/format-commit-message.js +4 -0
- package/node_modules/commit-and-tag-version/lib/latest-semver-tag.js +34 -0
- package/node_modules/commit-and-tag-version/lib/lifecycles/bump.js +417 -0
- package/node_modules/commit-and-tag-version/lib/lifecycles/changelog.js +113 -0
- package/node_modules/commit-and-tag-version/lib/lifecycles/commit.js +68 -0
- package/node_modules/commit-and-tag-version/lib/lifecycles/tag.js +60 -0
- package/node_modules/commit-and-tag-version/lib/preset-loader.js +19 -0
- package/node_modules/commit-and-tag-version/lib/print-error.js +15 -0
- package/node_modules/commit-and-tag-version/lib/run-exec.js +18 -0
- package/node_modules/commit-and-tag-version/lib/run-execFile.js +18 -0
- package/node_modules/commit-and-tag-version/lib/run-lifecycle-script.js +18 -0
- package/node_modules/commit-and-tag-version/lib/stringify-package.js +36 -0
- package/node_modules/commit-and-tag-version/lib/updaters/index.js +120 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/csproj.js +15 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/gradle.js +18 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/json.js +25 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/maven.js +43 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/openapi.js +15 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/plain-text.js +7 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/python.js +30 -0
- package/node_modules/commit-and-tag-version/lib/updaters/types/yaml.js +15 -0
- package/node_modules/commit-and-tag-version/lib/write-file.js +6 -0
- package/node_modules/commit-and-tag-version/package.json +72 -0
- package/node_modules/commit-and-tag-version/test/commit-message-config.integration-test.js +106 -0
- package/node_modules/commit-and-tag-version/test/config-files.integration-test.js +138 -0
- package/node_modules/commit-and-tag-version/test/config-keys.integration-test.js +83 -0
- package/node_modules/commit-and-tag-version/test/core.spec.js +2089 -0
- package/node_modules/commit-and-tag-version/test/git.integration-test.js +410 -0
- package/node_modules/commit-and-tag-version/test/invalid-config.integration-test.js +73 -0
- package/node_modules/commit-and-tag-version/test/mocks/Project-6.3.1.csproj +18 -0
- package/node_modules/commit-and-tag-version/test/mocks/Project-6.4.0.csproj +18 -0
- package/node_modules/commit-and-tag-version/test/mocks/build-6.3.1.gradle.kts +14 -0
- package/node_modules/commit-and-tag-version/test/mocks/build-6.4.0-snapshot.gradle.kts +14 -0
- package/node_modules/commit-and-tag-version/test/mocks/build-6.4.0.gradle.kts +14 -0
- package/node_modules/commit-and-tag-version/test/mocks/increment-version.txt +1 -0
- package/node_modules/commit-and-tag-version/test/mocks/jest-mocks.js +66 -0
- package/node_modules/commit-and-tag-version/test/mocks/openapi-1.2.3-crlf.yaml +12 -0
- package/node_modules/commit-and-tag-version/test/mocks/openapi-1.2.3-lf.yaml +12 -0
- package/node_modules/commit-and-tag-version/test/mocks/openapi-1.3.0-crlf.yaml +12 -0
- package/node_modules/commit-and-tag-version/test/mocks/openapi-1.3.0-lf.yaml +12 -0
- package/node_modules/commit-and-tag-version/test/mocks/pom-6.3.1-crlf.xml +30 -0
- package/node_modules/commit-and-tag-version/test/mocks/pom-6.3.1-lf.xml +30 -0
- package/node_modules/commit-and-tag-version/test/mocks/pom-6.4.0-crlf.xml +27 -0
- package/node_modules/commit-and-tag-version/test/mocks/pom-6.4.0-lf.xml +27 -0
- package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.3.1-crlf.yaml +33 -0
- package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.3.1.yaml +33 -0
- package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.4.0-crlf.yaml +33 -0
- package/node_modules/commit-and-tag-version/test/mocks/pubspec-6.4.0.yaml +33 -0
- package/node_modules/commit-and-tag-version/test/mocks/pyproject-1.0.0.toml +12 -0
- package/node_modules/commit-and-tag-version/test/mocks/pyproject-1.1.0.toml +12 -0
- package/node_modules/commit-and-tag-version/test/mocks/updater/customer-updater.js +9 -0
- package/node_modules/commit-and-tag-version/test/mocks/updater/increment-updater.js +7 -0
- package/node_modules/commit-and-tag-version/test/pre-commit-hook.integration-test.js +192 -0
- package/node_modules/commit-and-tag-version/test/preset.integration-test.js +56 -0
- package/node_modules/commit-and-tag-version/test/stringify-package.spec.js +35 -0
- package/node_modules/commit-and-tag-version/test/utils.spec.js +36 -0
- package/node_modules/conventional-changelog/README.md +66 -0
- package/node_modules/conventional-changelog/package.json +53 -0
- package/node_modules/conventional-changelog-angular/README.md +104 -0
- package/node_modules/conventional-changelog-angular/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-angular/index.js +13 -0
- package/node_modules/conventional-changelog-angular/package.json +38 -0
- package/node_modules/conventional-changelog-angular/writer-opts.js +108 -0
- package/node_modules/conventional-changelog-atom/README.md +41 -0
- package/node_modules/conventional-changelog-atom/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-atom/index.js +19 -0
- package/node_modules/conventional-changelog-atom/package.json +35 -0
- package/node_modules/conventional-changelog-atom/writer-opts.js +45 -0
- package/node_modules/conventional-changelog-codemirror/README.md +13 -0
- package/node_modules/conventional-changelog-codemirror/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-codemirror/index.js +19 -0
- package/node_modules/conventional-changelog-codemirror/package.json +35 -0
- package/node_modules/conventional-changelog-codemirror/writer-opts.js +38 -0
- package/node_modules/conventional-changelog-conventionalcommits/README.md +50 -0
- package/node_modules/conventional-changelog-conventionalcommits/conventional-changelog.js +12 -0
- package/node_modules/conventional-changelog-conventionalcommits/index.js +47 -0
- package/node_modules/conventional-changelog-conventionalcommits/package.json +39 -0
- package/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +9 -0
- package/node_modules/conventional-changelog-conventionalcommits/writer-opts.js +213 -0
- package/node_modules/conventional-changelog-core/README.md +255 -0
- package/node_modules/conventional-changelog-core/index.js +153 -0
- package/node_modules/conventional-changelog-core/lib/merge-config.js +374 -0
- package/node_modules/conventional-changelog-core/package.json +47 -0
- package/node_modules/conventional-changelog-ember/README.md +63 -0
- package/node_modules/conventional-changelog-ember/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-ember/index.js +22 -0
- package/node_modules/conventional-changelog-ember/package.json +35 -0
- package/node_modules/conventional-changelog-ember/writer-opts.js +52 -0
- package/node_modules/conventional-changelog-eslint/README.md +53 -0
- package/node_modules/conventional-changelog-eslint/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-eslint/index.js +19 -0
- package/node_modules/conventional-changelog-eslint/package.json +35 -0
- package/node_modules/conventional-changelog-eslint/writer-opts.js +36 -0
- package/node_modules/conventional-changelog-express/README.md +14 -0
- package/node_modules/conventional-changelog-express/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-express/index.js +19 -0
- package/node_modules/conventional-changelog-express/package.json +35 -0
- package/node_modules/conventional-changelog-express/writer-opts.js +38 -0
- package/node_modules/conventional-changelog-jquery/README.md +52 -0
- package/node_modules/conventional-changelog-jquery/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-jquery/index.js +13 -0
- package/node_modules/conventional-changelog-jquery/package.json +35 -0
- package/node_modules/conventional-changelog-jquery/writer-opts.js +44 -0
- package/node_modules/conventional-changelog-jshint/README.md +90 -0
- package/node_modules/conventional-changelog-jshint/conventional-changelog.js +10 -0
- package/node_modules/conventional-changelog-jshint/index.js +19 -0
- package/node_modules/conventional-changelog-jshint/package.json +38 -0
- package/node_modules/conventional-changelog-jshint/writer-opts.js +55 -0
- package/node_modules/conventional-changelog-preset-loader/README.md +41 -0
- package/node_modules/conventional-changelog-preset-loader/package.json +33 -0
- package/node_modules/conventional-changelog-writer/README.md +369 -0
- package/node_modules/conventional-changelog-writer/cli.js +114 -0
- package/node_modules/conventional-changelog-writer/index.js +212 -0
- package/node_modules/conventional-changelog-writer/lib/util.js +281 -0
- package/node_modules/conventional-changelog-writer/package.json +57 -0
- package/node_modules/conventional-changelog-writer/templates/commit.hbs +54 -0
- package/node_modules/conventional-commits-filter/README.md +184 -0
- package/node_modules/conventional-commits-filter/package.json +38 -0
- package/node_modules/conventional-commits-parser/README.md +383 -0
- package/node_modules/conventional-commits-parser/cli.js +170 -0
- package/node_modules/conventional-commits-parser/index.js +105 -0
- package/node_modules/conventional-commits-parser/lib/parser.js +316 -0
- package/node_modules/conventional-commits-parser/package.json +50 -0
- package/node_modules/conventional-recommended-bump/index.js +104 -0
- package/node_modules/conventional-recommended-bump/package.json +49 -0
- package/node_modules/conventional-recommended-bump/preset-resolver.js +19 -0
- package/node_modules/dotgitignore/node_modules/minimatch/README.md +37 -0
- package/node_modules/dotgitignore/node_modules/minimatch/minimatch.js +160 -102
- package/node_modules/dotgitignore/node_modules/minimatch/package.json +2 -2
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +23 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +80 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
- package/node_modules/fast-xml-builder/src/fxb.js +529 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +752 -0
- package/node_modules/fast-xml-parser/LICENSE +21 -0
- package/node_modules/fast-xml-parser/README.md +225 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +595 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +94 -0
- package/node_modules/fast-xml-parser/src/cli/cli.js +97 -0
- package/node_modules/fast-xml-parser/src/cli/man.js +17 -0
- package/node_modules/fast-xml-parser/src/cli/read.js +43 -0
- package/node_modules/fast-xml-parser/src/fxp.d.ts +577 -0
- package/node_modules/fast-xml-parser/src/fxp.js +14 -0
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +61 -0
- package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +106 -0
- package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
- package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
- package/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
- package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
- package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
- package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
- package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
- package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
- package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
- package/node_modules/fast-xml-parser/src/validator.js +425 -0
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +6 -0
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +401 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +159 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +905 -0
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +174 -0
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
- package/node_modules/git-raw-commits/README.md +101 -0
- package/node_modules/git-raw-commits/index.js +100 -0
- package/node_modules/git-raw-commits/package.json +46 -0
- package/node_modules/git-semver-tags/README.md +54 -0
- package/node_modules/git-semver-tags/package.json +44 -0
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +635 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/node_modules/semver/README.md +3 -2
- package/node_modules/semver/bin/semver.js +1 -1
- package/node_modules/semver/functions/diff.js +1 -1
- package/node_modules/semver/internal/re.js +2 -2
- package/node_modules/semver/package.json +4 -4
- package/node_modules/semver/ranges/subset.js +1 -1
- package/node_modules/spdx-license-ids/index.json +28 -0
- package/node_modules/spdx-license-ids/package.json +1 -1
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/.vscode/launch.json +25 -0
- package/node_modules/strnum/CHANGELOG.md +33 -0
- package/node_modules/strnum/LICENSE +21 -0
- package/node_modules/strnum/README.md +104 -0
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +31 -0
- package/node_modules/strnum/strnum.js +155 -0
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/strnum/tests/strnum_test.js +172 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +967 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +222 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +344 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +972 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +131 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/node_modules/yargs/README.md +204 -0
- package/node_modules/yargs/browser.d.ts +5 -0
- package/node_modules/yargs/browser.mjs +7 -0
- package/node_modules/yargs/build/index.cjs +1 -0
- package/node_modules/yargs/build/lib/command.js +449 -0
- package/node_modules/yargs/build/lib/completion-templates.js +48 -0
- package/node_modules/yargs/build/lib/completion.js +243 -0
- package/node_modules/yargs/build/lib/middleware.js +88 -0
- package/node_modules/yargs/build/lib/usage.js +584 -0
- package/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/node_modules/yargs/build/lib/validation.js +305 -0
- package/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
- package/node_modules/yargs/build/lib/yerror.js +9 -0
- package/node_modules/yargs/index.cjs +53 -0
- package/node_modules/yargs/index.mjs +8 -0
- package/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- package/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- package/node_modules/yargs/locales/cs.json +51 -0
- package/node_modules/yargs/locales/en.json +55 -0
- package/node_modules/yargs/locales/fi.json +49 -0
- package/node_modules/yargs/locales/ko.json +49 -0
- package/node_modules/yargs/locales/ru.json +51 -0
- package/node_modules/yargs/locales/uk_UA.json +51 -0
- package/node_modules/yargs/locales/uz.json +52 -0
- package/node_modules/yargs/locales/zh_TW.json +51 -0
- package/node_modules/yargs/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/node_modules/yargs/node_modules/yargs-parser/README.md +518 -0
- package/node_modules/yargs/node_modules/yargs-parser/browser.js +29 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/index.cjs +1050 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/index.js +62 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- package/node_modules/yargs/node_modules/yargs-parser/package.json +92 -0
- package/node_modules/yargs/package.json +123 -0
- package/node_modules/yargs/yargs.mjs +10 -0
- package/package.json +10 -12
- package/node_modules/lodash/LICENSE +0 -47
- package/node_modules/lodash/README.md +0 -39
- package/node_modules/lodash/_DataView.js +0 -7
- package/node_modules/lodash/_Hash.js +0 -32
- package/node_modules/lodash/_LazyWrapper.js +0 -28
- package/node_modules/lodash/_ListCache.js +0 -32
- package/node_modules/lodash/_LodashWrapper.js +0 -22
- package/node_modules/lodash/_Map.js +0 -7
- package/node_modules/lodash/_MapCache.js +0 -32
- package/node_modules/lodash/_Promise.js +0 -7
- package/node_modules/lodash/_Set.js +0 -7
- package/node_modules/lodash/_SetCache.js +0 -27
- package/node_modules/lodash/_Stack.js +0 -27
- package/node_modules/lodash/_Symbol.js +0 -6
- package/node_modules/lodash/_Uint8Array.js +0 -6
- package/node_modules/lodash/_WeakMap.js +0 -7
- package/node_modules/lodash/_apply.js +0 -21
- package/node_modules/lodash/_arrayAggregator.js +0 -22
- package/node_modules/lodash/_arrayEach.js +0 -22
- package/node_modules/lodash/_arrayEachRight.js +0 -21
- package/node_modules/lodash/_arrayEvery.js +0 -23
- package/node_modules/lodash/_arrayFilter.js +0 -25
- package/node_modules/lodash/_arrayIncludes.js +0 -17
- package/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/node_modules/lodash/_arrayMap.js +0 -21
- package/node_modules/lodash/_arrayPush.js +0 -20
- package/node_modules/lodash/_arrayReduce.js +0 -26
- package/node_modules/lodash/_arrayReduceRight.js +0 -24
- package/node_modules/lodash/_arraySample.js +0 -15
- package/node_modules/lodash/_arraySampleSize.js +0 -17
- package/node_modules/lodash/_arrayShuffle.js +0 -15
- package/node_modules/lodash/_arraySome.js +0 -23
- package/node_modules/lodash/_asciiSize.js +0 -12
- package/node_modules/lodash/_asciiToArray.js +0 -12
- package/node_modules/lodash/_asciiWords.js +0 -15
- package/node_modules/lodash/_assignMergeValue.js +0 -20
- package/node_modules/lodash/_assignValue.js +0 -28
- package/node_modules/lodash/_assocIndexOf.js +0 -21
- package/node_modules/lodash/_baseAggregator.js +0 -21
- package/node_modules/lodash/_baseAssign.js +0 -17
- package/node_modules/lodash/_baseAssignIn.js +0 -17
- package/node_modules/lodash/_baseAssignValue.js +0 -25
- package/node_modules/lodash/_baseAt.js +0 -23
- package/node_modules/lodash/_baseClamp.js +0 -22
- package/node_modules/lodash/_baseClone.js +0 -166
- package/node_modules/lodash/_baseConforms.js +0 -18
- package/node_modules/lodash/_baseConformsTo.js +0 -27
- package/node_modules/lodash/_baseCreate.js +0 -30
- package/node_modules/lodash/_baseDelay.js +0 -21
- package/node_modules/lodash/_baseDifference.js +0 -67
- package/node_modules/lodash/_baseEach.js +0 -14
- package/node_modules/lodash/_baseEachRight.js +0 -14
- package/node_modules/lodash/_baseEvery.js +0 -21
- package/node_modules/lodash/_baseExtremum.js +0 -32
- package/node_modules/lodash/_baseFill.js +0 -32
- package/node_modules/lodash/_baseFilter.js +0 -21
- package/node_modules/lodash/_baseFindIndex.js +0 -24
- package/node_modules/lodash/_baseFindKey.js +0 -23
- package/node_modules/lodash/_baseFlatten.js +0 -38
- package/node_modules/lodash/_baseFor.js +0 -16
- package/node_modules/lodash/_baseForOwn.js +0 -16
- package/node_modules/lodash/_baseForOwnRight.js +0 -16
- package/node_modules/lodash/_baseForRight.js +0 -15
- package/node_modules/lodash/_baseFunctions.js +0 -19
- package/node_modules/lodash/_baseGet.js +0 -24
- package/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/node_modules/lodash/_baseGetTag.js +0 -28
- package/node_modules/lodash/_baseGt.js +0 -14
- package/node_modules/lodash/_baseHas.js +0 -19
- package/node_modules/lodash/_baseHasIn.js +0 -13
- package/node_modules/lodash/_baseInRange.js +0 -18
- package/node_modules/lodash/_baseIndexOf.js +0 -20
- package/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/node_modules/lodash/_baseIntersection.js +0 -74
- package/node_modules/lodash/_baseInverter.js +0 -21
- package/node_modules/lodash/_baseInvoke.js +0 -24
- package/node_modules/lodash/_baseIsArguments.js +0 -18
- package/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- package/node_modules/lodash/_baseIsDate.js +0 -18
- package/node_modules/lodash/_baseIsEqual.js +0 -28
- package/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/node_modules/lodash/_baseIsMap.js +0 -18
- package/node_modules/lodash/_baseIsMatch.js +0 -62
- package/node_modules/lodash/_baseIsNaN.js +0 -12
- package/node_modules/lodash/_baseIsNative.js +0 -47
- package/node_modules/lodash/_baseIsRegExp.js +0 -18
- package/node_modules/lodash/_baseIsSet.js +0 -18
- package/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/node_modules/lodash/_baseIteratee.js +0 -31
- package/node_modules/lodash/_baseKeys.js +0 -30
- package/node_modules/lodash/_baseKeysIn.js +0 -33
- package/node_modules/lodash/_baseLodash.js +0 -10
- package/node_modules/lodash/_baseLt.js +0 -14
- package/node_modules/lodash/_baseMap.js +0 -22
- package/node_modules/lodash/_baseMatches.js +0 -22
- package/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/node_modules/lodash/_baseMean.js +0 -20
- package/node_modules/lodash/_baseMerge.js +0 -42
- package/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/node_modules/lodash/_baseNth.js +0 -20
- package/node_modules/lodash/_baseOrderBy.js +0 -49
- package/node_modules/lodash/_basePick.js +0 -19
- package/node_modules/lodash/_basePickBy.js +0 -30
- package/node_modules/lodash/_baseProperty.js +0 -14
- package/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/node_modules/lodash/_basePropertyOf.js +0 -14
- package/node_modules/lodash/_basePullAll.js +0 -51
- package/node_modules/lodash/_basePullAt.js +0 -37
- package/node_modules/lodash/_baseRandom.js +0 -18
- package/node_modules/lodash/_baseRange.js +0 -28
- package/node_modules/lodash/_baseReduce.js +0 -23
- package/node_modules/lodash/_baseRepeat.js +0 -35
- package/node_modules/lodash/_baseRest.js +0 -17
- package/node_modules/lodash/_baseSample.js +0 -15
- package/node_modules/lodash/_baseSampleSize.js +0 -18
- package/node_modules/lodash/_baseSet.js +0 -51
- package/node_modules/lodash/_baseSetData.js +0 -17
- package/node_modules/lodash/_baseSetToString.js +0 -22
- package/node_modules/lodash/_baseShuffle.js +0 -15
- package/node_modules/lodash/_baseSlice.js +0 -31
- package/node_modules/lodash/_baseSome.js +0 -22
- package/node_modules/lodash/_baseSortBy.js +0 -21
- package/node_modules/lodash/_baseSortedIndex.js +0 -42
- package/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- package/node_modules/lodash/_baseSortedUniq.js +0 -30
- package/node_modules/lodash/_baseSum.js +0 -24
- package/node_modules/lodash/_baseTimes.js +0 -20
- package/node_modules/lodash/_baseToNumber.js +0 -24
- package/node_modules/lodash/_baseToPairs.js +0 -18
- package/node_modules/lodash/_baseToString.js +0 -37
- package/node_modules/lodash/_baseTrim.js +0 -19
- package/node_modules/lodash/_baseUnary.js +0 -14
- package/node_modules/lodash/_baseUniq.js +0 -72
- package/node_modules/lodash/_baseUnset.js +0 -65
- package/node_modules/lodash/_baseUpdate.js +0 -18
- package/node_modules/lodash/_baseValues.js +0 -19
- package/node_modules/lodash/_baseWhile.js +0 -26
- package/node_modules/lodash/_baseWrapperValue.js +0 -25
- package/node_modules/lodash/_baseXor.js +0 -36
- package/node_modules/lodash/_baseZipObject.js +0 -23
- package/node_modules/lodash/_cacheHas.js +0 -13
- package/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/node_modules/lodash/_castFunction.js +0 -14
- package/node_modules/lodash/_castPath.js +0 -21
- package/node_modules/lodash/_castRest.js +0 -14
- package/node_modules/lodash/_castSlice.js +0 -18
- package/node_modules/lodash/_charsEndIndex.js +0 -19
- package/node_modules/lodash/_charsStartIndex.js +0 -20
- package/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/node_modules/lodash/_cloneBuffer.js +0 -35
- package/node_modules/lodash/_cloneDataView.js +0 -16
- package/node_modules/lodash/_cloneRegExp.js +0 -17
- package/node_modules/lodash/_cloneSymbol.js +0 -18
- package/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/node_modules/lodash/_compareAscending.js +0 -41
- package/node_modules/lodash/_compareMultiple.js +0 -44
- package/node_modules/lodash/_composeArgs.js +0 -39
- package/node_modules/lodash/_composeArgsRight.js +0 -41
- package/node_modules/lodash/_copyArray.js +0 -20
- package/node_modules/lodash/_copyObject.js +0 -40
- package/node_modules/lodash/_copySymbols.js +0 -16
- package/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/node_modules/lodash/_coreJsData.js +0 -6
- package/node_modules/lodash/_countHolders.js +0 -21
- package/node_modules/lodash/_createAggregator.js +0 -23
- package/node_modules/lodash/_createAssigner.js +0 -37
- package/node_modules/lodash/_createBaseEach.js +0 -32
- package/node_modules/lodash/_createBaseFor.js +0 -25
- package/node_modules/lodash/_createBind.js +0 -28
- package/node_modules/lodash/_createCaseFirst.js +0 -33
- package/node_modules/lodash/_createCompounder.js +0 -24
- package/node_modules/lodash/_createCtor.js +0 -37
- package/node_modules/lodash/_createCurry.js +0 -46
- package/node_modules/lodash/_createFind.js +0 -25
- package/node_modules/lodash/_createFlow.js +0 -78
- package/node_modules/lodash/_createHybrid.js +0 -92
- package/node_modules/lodash/_createInverter.js +0 -17
- package/node_modules/lodash/_createMathOperation.js +0 -38
- package/node_modules/lodash/_createOver.js +0 -27
- package/node_modules/lodash/_createPadding.js +0 -33
- package/node_modules/lodash/_createPartial.js +0 -43
- package/node_modules/lodash/_createRange.js +0 -30
- package/node_modules/lodash/_createRecurry.js +0 -56
- package/node_modules/lodash/_createRelationalOperation.js +0 -20
- package/node_modules/lodash/_createRound.js +0 -35
- package/node_modules/lodash/_createSet.js +0 -19
- package/node_modules/lodash/_createToPairs.js +0 -30
- package/node_modules/lodash/_createWrap.js +0 -106
- package/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- package/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/node_modules/lodash/_customOmitClone.js +0 -16
- package/node_modules/lodash/_deburrLetter.js +0 -71
- package/node_modules/lodash/_defineProperty.js +0 -11
- package/node_modules/lodash/_equalArrays.js +0 -84
- package/node_modules/lodash/_equalByTag.js +0 -112
- package/node_modules/lodash/_equalObjects.js +0 -90
- package/node_modules/lodash/_escapeHtmlChar.js +0 -21
- package/node_modules/lodash/_escapeStringChar.js +0 -22
- package/node_modules/lodash/_flatRest.js +0 -16
- package/node_modules/lodash/_freeGlobal.js +0 -4
- package/node_modules/lodash/_getAllKeys.js +0 -16
- package/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/node_modules/lodash/_getData.js +0 -15
- package/node_modules/lodash/_getFuncName.js +0 -31
- package/node_modules/lodash/_getHolder.js +0 -13
- package/node_modules/lodash/_getMapData.js +0 -18
- package/node_modules/lodash/_getMatchData.js +0 -24
- package/node_modules/lodash/_getNative.js +0 -17
- package/node_modules/lodash/_getPrototype.js +0 -6
- package/node_modules/lodash/_getRawTag.js +0 -46
- package/node_modules/lodash/_getSymbols.js +0 -30
- package/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/node_modules/lodash/_getTag.js +0 -58
- package/node_modules/lodash/_getValue.js +0 -13
- package/node_modules/lodash/_getView.js +0 -33
- package/node_modules/lodash/_getWrapDetails.js +0 -17
- package/node_modules/lodash/_hasPath.js +0 -39
- package/node_modules/lodash/_hasUnicode.js +0 -26
- package/node_modules/lodash/_hasUnicodeWord.js +0 -15
- package/node_modules/lodash/_hashClear.js +0 -15
- package/node_modules/lodash/_hashDelete.js +0 -17
- package/node_modules/lodash/_hashGet.js +0 -30
- package/node_modules/lodash/_hashHas.js +0 -23
- package/node_modules/lodash/_hashSet.js +0 -23
- package/node_modules/lodash/_initCloneArray.js +0 -26
- package/node_modules/lodash/_initCloneByTag.js +0 -77
- package/node_modules/lodash/_initCloneObject.js +0 -18
- package/node_modules/lodash/_insertWrapDetails.js +0 -23
- package/node_modules/lodash/_isFlattenable.js +0 -20
- package/node_modules/lodash/_isIndex.js +0 -25
- package/node_modules/lodash/_isIterateeCall.js +0 -30
- package/node_modules/lodash/_isKey.js +0 -29
- package/node_modules/lodash/_isKeyable.js +0 -15
- package/node_modules/lodash/_isLaziable.js +0 -28
- package/node_modules/lodash/_isMaskable.js +0 -14
- package/node_modules/lodash/_isMasked.js +0 -20
- package/node_modules/lodash/_isPrototype.js +0 -18
- package/node_modules/lodash/_isStrictComparable.js +0 -15
- package/node_modules/lodash/_iteratorToArray.js +0 -18
- package/node_modules/lodash/_lazyClone.js +0 -23
- package/node_modules/lodash/_lazyReverse.js +0 -23
- package/node_modules/lodash/_lazyValue.js +0 -69
- package/node_modules/lodash/_listCacheClear.js +0 -13
- package/node_modules/lodash/_listCacheDelete.js +0 -35
- package/node_modules/lodash/_listCacheGet.js +0 -19
- package/node_modules/lodash/_listCacheHas.js +0 -16
- package/node_modules/lodash/_listCacheSet.js +0 -26
- package/node_modules/lodash/_mapCacheClear.js +0 -21
- package/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/node_modules/lodash/_mapCacheGet.js +0 -16
- package/node_modules/lodash/_mapCacheHas.js +0 -16
- package/node_modules/lodash/_mapCacheSet.js +0 -22
- package/node_modules/lodash/_mapToArray.js +0 -18
- package/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/node_modules/lodash/_memoizeCapped.js +0 -26
- package/node_modules/lodash/_mergeData.js +0 -90
- package/node_modules/lodash/_metaMap.js +0 -6
- package/node_modules/lodash/_nativeCreate.js +0 -6
- package/node_modules/lodash/_nativeKeys.js +0 -6
- package/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/node_modules/lodash/_nodeUtil.js +0 -30
- package/node_modules/lodash/_objectToString.js +0 -22
- package/node_modules/lodash/_overArg.js +0 -15
- package/node_modules/lodash/_overRest.js +0 -36
- package/node_modules/lodash/_parent.js +0 -16
- package/node_modules/lodash/_reEscape.js +0 -4
- package/node_modules/lodash/_reEvaluate.js +0 -4
- package/node_modules/lodash/_reInterpolate.js +0 -4
- package/node_modules/lodash/_realNames.js +0 -4
- package/node_modules/lodash/_reorder.js +0 -29
- package/node_modules/lodash/_replaceHolders.js +0 -29
- package/node_modules/lodash/_root.js +0 -9
- package/node_modules/lodash/_safeGet.js +0 -21
- package/node_modules/lodash/_setCacheAdd.js +0 -19
- package/node_modules/lodash/_setCacheHas.js +0 -14
- package/node_modules/lodash/_setData.js +0 -20
- package/node_modules/lodash/_setToArray.js +0 -18
- package/node_modules/lodash/_setToPairs.js +0 -18
- package/node_modules/lodash/_setToString.js +0 -14
- package/node_modules/lodash/_setWrapToString.js +0 -21
- package/node_modules/lodash/_shortOut.js +0 -37
- package/node_modules/lodash/_shuffleSelf.js +0 -28
- package/node_modules/lodash/_stackClear.js +0 -15
- package/node_modules/lodash/_stackDelete.js +0 -18
- package/node_modules/lodash/_stackGet.js +0 -14
- package/node_modules/lodash/_stackHas.js +0 -14
- package/node_modules/lodash/_stackSet.js +0 -34
- package/node_modules/lodash/_strictIndexOf.js +0 -23
- package/node_modules/lodash/_strictLastIndexOf.js +0 -21
- package/node_modules/lodash/_stringSize.js +0 -18
- package/node_modules/lodash/_stringToArray.js +0 -18
- package/node_modules/lodash/_stringToPath.js +0 -27
- package/node_modules/lodash/_toKey.js +0 -21
- package/node_modules/lodash/_toSource.js +0 -26
- package/node_modules/lodash/_trimmedEndIndex.js +0 -19
- package/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- package/node_modules/lodash/_unicodeSize.js +0 -44
- package/node_modules/lodash/_unicodeToArray.js +0 -40
- package/node_modules/lodash/_unicodeWords.js +0 -69
- package/node_modules/lodash/_updateWrapDetails.js +0 -46
- package/node_modules/lodash/_wrapperClone.js +0 -23
- package/node_modules/lodash/add.js +0 -22
- package/node_modules/lodash/after.js +0 -42
- package/node_modules/lodash/array.js +0 -67
- package/node_modules/lodash/ary.js +0 -29
- package/node_modules/lodash/assign.js +0 -58
- package/node_modules/lodash/assignIn.js +0 -40
- package/node_modules/lodash/assignInWith.js +0 -38
- package/node_modules/lodash/assignWith.js +0 -37
- package/node_modules/lodash/at.js +0 -23
- package/node_modules/lodash/attempt.js +0 -35
- package/node_modules/lodash/before.js +0 -40
- package/node_modules/lodash/bind.js +0 -57
- package/node_modules/lodash/bindAll.js +0 -41
- package/node_modules/lodash/bindKey.js +0 -68
- package/node_modules/lodash/camelCase.js +0 -29
- package/node_modules/lodash/capitalize.js +0 -23
- package/node_modules/lodash/castArray.js +0 -44
- package/node_modules/lodash/ceil.js +0 -26
- package/node_modules/lodash/chain.js +0 -38
- package/node_modules/lodash/chunk.js +0 -50
- package/node_modules/lodash/clamp.js +0 -39
- package/node_modules/lodash/clone.js +0 -36
- package/node_modules/lodash/cloneDeep.js +0 -29
- package/node_modules/lodash/cloneDeepWith.js +0 -40
- package/node_modules/lodash/cloneWith.js +0 -42
- package/node_modules/lodash/collection.js +0 -30
- package/node_modules/lodash/commit.js +0 -33
- package/node_modules/lodash/compact.js +0 -31
- package/node_modules/lodash/concat.js +0 -43
- package/node_modules/lodash/cond.js +0 -60
- package/node_modules/lodash/conforms.js +0 -35
- package/node_modules/lodash/conformsTo.js +0 -32
- package/node_modules/lodash/constant.js +0 -26
- package/node_modules/lodash/core.js +0 -3877
- package/node_modules/lodash/core.min.js +0 -29
- package/node_modules/lodash/countBy.js +0 -40
- package/node_modules/lodash/create.js +0 -43
- package/node_modules/lodash/curry.js +0 -57
- package/node_modules/lodash/curryRight.js +0 -54
- package/node_modules/lodash/date.js +0 -3
- package/node_modules/lodash/debounce.js +0 -191
- package/node_modules/lodash/deburr.js +0 -45
- package/node_modules/lodash/defaultTo.js +0 -25
- package/node_modules/lodash/defaults.js +0 -64
- package/node_modules/lodash/defaultsDeep.js +0 -30
- package/node_modules/lodash/defer.js +0 -26
- package/node_modules/lodash/delay.js +0 -28
- package/node_modules/lodash/difference.js +0 -33
- package/node_modules/lodash/differenceBy.js +0 -44
- package/node_modules/lodash/differenceWith.js +0 -40
- package/node_modules/lodash/divide.js +0 -22
- package/node_modules/lodash/drop.js +0 -38
- package/node_modules/lodash/dropRight.js +0 -39
- package/node_modules/lodash/dropRightWhile.js +0 -45
- package/node_modules/lodash/dropWhile.js +0 -45
- package/node_modules/lodash/each.js +0 -1
- package/node_modules/lodash/eachRight.js +0 -1
- package/node_modules/lodash/endsWith.js +0 -43
- package/node_modules/lodash/entries.js +0 -1
- package/node_modules/lodash/entriesIn.js +0 -1
- package/node_modules/lodash/eq.js +0 -37
- package/node_modules/lodash/escape.js +0 -43
- package/node_modules/lodash/escapeRegExp.js +0 -32
- package/node_modules/lodash/every.js +0 -56
- package/node_modules/lodash/extend.js +0 -1
- package/node_modules/lodash/extendWith.js +0 -1
- package/node_modules/lodash/fill.js +0 -45
- package/node_modules/lodash/filter.js +0 -52
- package/node_modules/lodash/find.js +0 -42
- package/node_modules/lodash/findIndex.js +0 -55
- package/node_modules/lodash/findKey.js +0 -44
- package/node_modules/lodash/findLast.js +0 -25
- package/node_modules/lodash/findLastIndex.js +0 -59
- package/node_modules/lodash/findLastKey.js +0 -44
- package/node_modules/lodash/first.js +0 -1
- package/node_modules/lodash/flatMap.js +0 -29
- package/node_modules/lodash/flatMapDeep.js +0 -31
- package/node_modules/lodash/flatMapDepth.js +0 -31
- package/node_modules/lodash/flatten.js +0 -22
- package/node_modules/lodash/flattenDeep.js +0 -25
- package/node_modules/lodash/flattenDepth.js +0 -33
- package/node_modules/lodash/flip.js +0 -28
- package/node_modules/lodash/floor.js +0 -26
- package/node_modules/lodash/flow.js +0 -27
- package/node_modules/lodash/flowRight.js +0 -26
- package/node_modules/lodash/forEach.js +0 -41
- package/node_modules/lodash/forEachRight.js +0 -31
- package/node_modules/lodash/forIn.js +0 -39
- package/node_modules/lodash/forInRight.js +0 -37
- package/node_modules/lodash/forOwn.js +0 -36
- package/node_modules/lodash/forOwnRight.js +0 -34
- package/node_modules/lodash/fp/F.js +0 -1
- package/node_modules/lodash/fp/T.js +0 -1
- package/node_modules/lodash/fp/__.js +0 -1
- package/node_modules/lodash/fp/_baseConvert.js +0 -569
- package/node_modules/lodash/fp/_convertBrowser.js +0 -18
- package/node_modules/lodash/fp/_falseOptions.js +0 -7
- package/node_modules/lodash/fp/_mapping.js +0 -358
- package/node_modules/lodash/fp/_util.js +0 -16
- package/node_modules/lodash/fp/add.js +0 -5
- package/node_modules/lodash/fp/after.js +0 -5
- package/node_modules/lodash/fp/all.js +0 -1
- package/node_modules/lodash/fp/allPass.js +0 -1
- package/node_modules/lodash/fp/always.js +0 -1
- package/node_modules/lodash/fp/any.js +0 -1
- package/node_modules/lodash/fp/anyPass.js +0 -1
- package/node_modules/lodash/fp/apply.js +0 -1
- package/node_modules/lodash/fp/array.js +0 -2
- package/node_modules/lodash/fp/ary.js +0 -5
- package/node_modules/lodash/fp/assign.js +0 -5
- package/node_modules/lodash/fp/assignAll.js +0 -5
- package/node_modules/lodash/fp/assignAllWith.js +0 -5
- package/node_modules/lodash/fp/assignIn.js +0 -5
- package/node_modules/lodash/fp/assignInAll.js +0 -5
- package/node_modules/lodash/fp/assignInAllWith.js +0 -5
- package/node_modules/lodash/fp/assignInWith.js +0 -5
- package/node_modules/lodash/fp/assignWith.js +0 -5
- package/node_modules/lodash/fp/assoc.js +0 -1
- package/node_modules/lodash/fp/assocPath.js +0 -1
- package/node_modules/lodash/fp/at.js +0 -5
- package/node_modules/lodash/fp/attempt.js +0 -5
- package/node_modules/lodash/fp/before.js +0 -5
- package/node_modules/lodash/fp/bind.js +0 -5
- package/node_modules/lodash/fp/bindAll.js +0 -5
- package/node_modules/lodash/fp/bindKey.js +0 -5
- package/node_modules/lodash/fp/camelCase.js +0 -5
- package/node_modules/lodash/fp/capitalize.js +0 -5
- package/node_modules/lodash/fp/castArray.js +0 -5
- package/node_modules/lodash/fp/ceil.js +0 -5
- package/node_modules/lodash/fp/chain.js +0 -5
- package/node_modules/lodash/fp/chunk.js +0 -5
- package/node_modules/lodash/fp/clamp.js +0 -5
- package/node_modules/lodash/fp/clone.js +0 -5
- package/node_modules/lodash/fp/cloneDeep.js +0 -5
- package/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- package/node_modules/lodash/fp/cloneWith.js +0 -5
- package/node_modules/lodash/fp/collection.js +0 -2
- package/node_modules/lodash/fp/commit.js +0 -5
- package/node_modules/lodash/fp/compact.js +0 -5
- package/node_modules/lodash/fp/complement.js +0 -1
- package/node_modules/lodash/fp/compose.js +0 -1
- package/node_modules/lodash/fp/concat.js +0 -5
- package/node_modules/lodash/fp/cond.js +0 -5
- package/node_modules/lodash/fp/conforms.js +0 -1
- package/node_modules/lodash/fp/conformsTo.js +0 -5
- package/node_modules/lodash/fp/constant.js +0 -5
- package/node_modules/lodash/fp/contains.js +0 -1
- package/node_modules/lodash/fp/convert.js +0 -18
- package/node_modules/lodash/fp/countBy.js +0 -5
- package/node_modules/lodash/fp/create.js +0 -5
- package/node_modules/lodash/fp/curry.js +0 -5
- package/node_modules/lodash/fp/curryN.js +0 -5
- package/node_modules/lodash/fp/curryRight.js +0 -5
- package/node_modules/lodash/fp/curryRightN.js +0 -5
- package/node_modules/lodash/fp/date.js +0 -2
- package/node_modules/lodash/fp/debounce.js +0 -5
- package/node_modules/lodash/fp/deburr.js +0 -5
- package/node_modules/lodash/fp/defaultTo.js +0 -5
- package/node_modules/lodash/fp/defaults.js +0 -5
- package/node_modules/lodash/fp/defaultsAll.js +0 -5
- package/node_modules/lodash/fp/defaultsDeep.js +0 -5
- package/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- package/node_modules/lodash/fp/defer.js +0 -5
- package/node_modules/lodash/fp/delay.js +0 -5
- package/node_modules/lodash/fp/difference.js +0 -5
- package/node_modules/lodash/fp/differenceBy.js +0 -5
- package/node_modules/lodash/fp/differenceWith.js +0 -5
- package/node_modules/lodash/fp/dissoc.js +0 -1
- package/node_modules/lodash/fp/dissocPath.js +0 -1
- package/node_modules/lodash/fp/divide.js +0 -5
- package/node_modules/lodash/fp/drop.js +0 -5
- package/node_modules/lodash/fp/dropLast.js +0 -1
- package/node_modules/lodash/fp/dropLastWhile.js +0 -1
- package/node_modules/lodash/fp/dropRight.js +0 -5
- package/node_modules/lodash/fp/dropRightWhile.js +0 -5
- package/node_modules/lodash/fp/dropWhile.js +0 -5
- package/node_modules/lodash/fp/each.js +0 -1
- package/node_modules/lodash/fp/eachRight.js +0 -1
- package/node_modules/lodash/fp/endsWith.js +0 -5
- package/node_modules/lodash/fp/entries.js +0 -1
- package/node_modules/lodash/fp/entriesIn.js +0 -1
- package/node_modules/lodash/fp/eq.js +0 -5
- package/node_modules/lodash/fp/equals.js +0 -1
- package/node_modules/lodash/fp/escape.js +0 -5
- package/node_modules/lodash/fp/escapeRegExp.js +0 -5
- package/node_modules/lodash/fp/every.js +0 -5
- package/node_modules/lodash/fp/extend.js +0 -1
- package/node_modules/lodash/fp/extendAll.js +0 -1
- package/node_modules/lodash/fp/extendAllWith.js +0 -1
- package/node_modules/lodash/fp/extendWith.js +0 -1
- package/node_modules/lodash/fp/fill.js +0 -5
- package/node_modules/lodash/fp/filter.js +0 -5
- package/node_modules/lodash/fp/find.js +0 -5
- package/node_modules/lodash/fp/findFrom.js +0 -5
- package/node_modules/lodash/fp/findIndex.js +0 -5
- package/node_modules/lodash/fp/findIndexFrom.js +0 -5
- package/node_modules/lodash/fp/findKey.js +0 -5
- package/node_modules/lodash/fp/findLast.js +0 -5
- package/node_modules/lodash/fp/findLastFrom.js +0 -5
- package/node_modules/lodash/fp/findLastIndex.js +0 -5
- package/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- package/node_modules/lodash/fp/findLastKey.js +0 -5
- package/node_modules/lodash/fp/first.js +0 -1
- package/node_modules/lodash/fp/flatMap.js +0 -5
- package/node_modules/lodash/fp/flatMapDeep.js +0 -5
- package/node_modules/lodash/fp/flatMapDepth.js +0 -5
- package/node_modules/lodash/fp/flatten.js +0 -5
- package/node_modules/lodash/fp/flattenDeep.js +0 -5
- package/node_modules/lodash/fp/flattenDepth.js +0 -5
- package/node_modules/lodash/fp/flip.js +0 -5
- package/node_modules/lodash/fp/floor.js +0 -5
- package/node_modules/lodash/fp/flow.js +0 -5
- package/node_modules/lodash/fp/flowRight.js +0 -5
- package/node_modules/lodash/fp/forEach.js +0 -5
- package/node_modules/lodash/fp/forEachRight.js +0 -5
- package/node_modules/lodash/fp/forIn.js +0 -5
- package/node_modules/lodash/fp/forInRight.js +0 -5
- package/node_modules/lodash/fp/forOwn.js +0 -5
- package/node_modules/lodash/fp/forOwnRight.js +0 -5
- package/node_modules/lodash/fp/fromPairs.js +0 -5
- package/node_modules/lodash/fp/function.js +0 -2
- package/node_modules/lodash/fp/functions.js +0 -5
- package/node_modules/lodash/fp/functionsIn.js +0 -5
- package/node_modules/lodash/fp/get.js +0 -5
- package/node_modules/lodash/fp/getOr.js +0 -5
- package/node_modules/lodash/fp/groupBy.js +0 -5
- package/node_modules/lodash/fp/gt.js +0 -5
- package/node_modules/lodash/fp/gte.js +0 -5
- package/node_modules/lodash/fp/has.js +0 -5
- package/node_modules/lodash/fp/hasIn.js +0 -5
- package/node_modules/lodash/fp/head.js +0 -5
- package/node_modules/lodash/fp/identical.js +0 -1
- package/node_modules/lodash/fp/identity.js +0 -5
- package/node_modules/lodash/fp/inRange.js +0 -5
- package/node_modules/lodash/fp/includes.js +0 -5
- package/node_modules/lodash/fp/includesFrom.js +0 -5
- package/node_modules/lodash/fp/indexBy.js +0 -1
- package/node_modules/lodash/fp/indexOf.js +0 -5
- package/node_modules/lodash/fp/indexOfFrom.js +0 -5
- package/node_modules/lodash/fp/init.js +0 -1
- package/node_modules/lodash/fp/initial.js +0 -5
- package/node_modules/lodash/fp/intersection.js +0 -5
- package/node_modules/lodash/fp/intersectionBy.js +0 -5
- package/node_modules/lodash/fp/intersectionWith.js +0 -5
- package/node_modules/lodash/fp/invert.js +0 -5
- package/node_modules/lodash/fp/invertBy.js +0 -5
- package/node_modules/lodash/fp/invertObj.js +0 -1
- package/node_modules/lodash/fp/invoke.js +0 -5
- package/node_modules/lodash/fp/invokeArgs.js +0 -5
- package/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- package/node_modules/lodash/fp/invokeMap.js +0 -5
- package/node_modules/lodash/fp/isArguments.js +0 -5
- package/node_modules/lodash/fp/isArray.js +0 -5
- package/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- package/node_modules/lodash/fp/isArrayLike.js +0 -5
- package/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- package/node_modules/lodash/fp/isBoolean.js +0 -5
- package/node_modules/lodash/fp/isBuffer.js +0 -5
- package/node_modules/lodash/fp/isDate.js +0 -5
- package/node_modules/lodash/fp/isElement.js +0 -5
- package/node_modules/lodash/fp/isEmpty.js +0 -5
- package/node_modules/lodash/fp/isEqual.js +0 -5
- package/node_modules/lodash/fp/isEqualWith.js +0 -5
- package/node_modules/lodash/fp/isError.js +0 -5
- package/node_modules/lodash/fp/isFinite.js +0 -5
- package/node_modules/lodash/fp/isFunction.js +0 -5
- package/node_modules/lodash/fp/isInteger.js +0 -5
- package/node_modules/lodash/fp/isLength.js +0 -5
- package/node_modules/lodash/fp/isMap.js +0 -5
- package/node_modules/lodash/fp/isMatch.js +0 -5
- package/node_modules/lodash/fp/isMatchWith.js +0 -5
- package/node_modules/lodash/fp/isNaN.js +0 -5
- package/node_modules/lodash/fp/isNative.js +0 -5
- package/node_modules/lodash/fp/isNil.js +0 -5
- package/node_modules/lodash/fp/isNull.js +0 -5
- package/node_modules/lodash/fp/isNumber.js +0 -5
- package/node_modules/lodash/fp/isObject.js +0 -5
- package/node_modules/lodash/fp/isObjectLike.js +0 -5
- package/node_modules/lodash/fp/isPlainObject.js +0 -5
- package/node_modules/lodash/fp/isRegExp.js +0 -5
- package/node_modules/lodash/fp/isSafeInteger.js +0 -5
- package/node_modules/lodash/fp/isSet.js +0 -5
- package/node_modules/lodash/fp/isString.js +0 -5
- package/node_modules/lodash/fp/isSymbol.js +0 -5
- package/node_modules/lodash/fp/isTypedArray.js +0 -5
- package/node_modules/lodash/fp/isUndefined.js +0 -5
- package/node_modules/lodash/fp/isWeakMap.js +0 -5
- package/node_modules/lodash/fp/isWeakSet.js +0 -5
- package/node_modules/lodash/fp/iteratee.js +0 -5
- package/node_modules/lodash/fp/join.js +0 -5
- package/node_modules/lodash/fp/juxt.js +0 -1
- package/node_modules/lodash/fp/kebabCase.js +0 -5
- package/node_modules/lodash/fp/keyBy.js +0 -5
- package/node_modules/lodash/fp/keys.js +0 -5
- package/node_modules/lodash/fp/keysIn.js +0 -5
- package/node_modules/lodash/fp/lang.js +0 -2
- package/node_modules/lodash/fp/last.js +0 -5
- package/node_modules/lodash/fp/lastIndexOf.js +0 -5
- package/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- package/node_modules/lodash/fp/lowerCase.js +0 -5
- package/node_modules/lodash/fp/lowerFirst.js +0 -5
- package/node_modules/lodash/fp/lt.js +0 -5
- package/node_modules/lodash/fp/lte.js +0 -5
- package/node_modules/lodash/fp/map.js +0 -5
- package/node_modules/lodash/fp/mapKeys.js +0 -5
- package/node_modules/lodash/fp/mapValues.js +0 -5
- package/node_modules/lodash/fp/matches.js +0 -1
- package/node_modules/lodash/fp/matchesProperty.js +0 -5
- package/node_modules/lodash/fp/math.js +0 -2
- package/node_modules/lodash/fp/max.js +0 -5
- package/node_modules/lodash/fp/maxBy.js +0 -5
- package/node_modules/lodash/fp/mean.js +0 -5
- package/node_modules/lodash/fp/meanBy.js +0 -5
- package/node_modules/lodash/fp/memoize.js +0 -5
- package/node_modules/lodash/fp/merge.js +0 -5
- package/node_modules/lodash/fp/mergeAll.js +0 -5
- package/node_modules/lodash/fp/mergeAllWith.js +0 -5
- package/node_modules/lodash/fp/mergeWith.js +0 -5
- package/node_modules/lodash/fp/method.js +0 -5
- package/node_modules/lodash/fp/methodOf.js +0 -5
- package/node_modules/lodash/fp/min.js +0 -5
- package/node_modules/lodash/fp/minBy.js +0 -5
- package/node_modules/lodash/fp/mixin.js +0 -5
- package/node_modules/lodash/fp/multiply.js +0 -5
- package/node_modules/lodash/fp/nAry.js +0 -1
- package/node_modules/lodash/fp/negate.js +0 -5
- package/node_modules/lodash/fp/next.js +0 -5
- package/node_modules/lodash/fp/noop.js +0 -5
- package/node_modules/lodash/fp/now.js +0 -5
- package/node_modules/lodash/fp/nth.js +0 -5
- package/node_modules/lodash/fp/nthArg.js +0 -5
- package/node_modules/lodash/fp/number.js +0 -2
- package/node_modules/lodash/fp/object.js +0 -2
- package/node_modules/lodash/fp/omit.js +0 -5
- package/node_modules/lodash/fp/omitAll.js +0 -1
- package/node_modules/lodash/fp/omitBy.js +0 -5
- package/node_modules/lodash/fp/once.js +0 -5
- package/node_modules/lodash/fp/orderBy.js +0 -5
- package/node_modules/lodash/fp/over.js +0 -5
- package/node_modules/lodash/fp/overArgs.js +0 -5
- package/node_modules/lodash/fp/overEvery.js +0 -5
- package/node_modules/lodash/fp/overSome.js +0 -5
- package/node_modules/lodash/fp/pad.js +0 -5
- package/node_modules/lodash/fp/padChars.js +0 -5
- package/node_modules/lodash/fp/padCharsEnd.js +0 -5
- package/node_modules/lodash/fp/padCharsStart.js +0 -5
- package/node_modules/lodash/fp/padEnd.js +0 -5
- package/node_modules/lodash/fp/padStart.js +0 -5
- package/node_modules/lodash/fp/parseInt.js +0 -5
- package/node_modules/lodash/fp/partial.js +0 -5
- package/node_modules/lodash/fp/partialRight.js +0 -5
- package/node_modules/lodash/fp/partition.js +0 -5
- package/node_modules/lodash/fp/path.js +0 -1
- package/node_modules/lodash/fp/pathEq.js +0 -1
- package/node_modules/lodash/fp/pathOr.js +0 -1
- package/node_modules/lodash/fp/paths.js +0 -1
- package/node_modules/lodash/fp/pick.js +0 -5
- package/node_modules/lodash/fp/pickAll.js +0 -1
- package/node_modules/lodash/fp/pickBy.js +0 -5
- package/node_modules/lodash/fp/pipe.js +0 -1
- package/node_modules/lodash/fp/placeholder.js +0 -6
- package/node_modules/lodash/fp/plant.js +0 -5
- package/node_modules/lodash/fp/pluck.js +0 -1
- package/node_modules/lodash/fp/prop.js +0 -1
- package/node_modules/lodash/fp/propEq.js +0 -1
- package/node_modules/lodash/fp/propOr.js +0 -1
- package/node_modules/lodash/fp/property.js +0 -1
- package/node_modules/lodash/fp/propertyOf.js +0 -5
- package/node_modules/lodash/fp/props.js +0 -1
- package/node_modules/lodash/fp/pull.js +0 -5
- package/node_modules/lodash/fp/pullAll.js +0 -5
- package/node_modules/lodash/fp/pullAllBy.js +0 -5
- package/node_modules/lodash/fp/pullAllWith.js +0 -5
- package/node_modules/lodash/fp/pullAt.js +0 -5
- package/node_modules/lodash/fp/random.js +0 -5
- package/node_modules/lodash/fp/range.js +0 -5
- package/node_modules/lodash/fp/rangeRight.js +0 -5
- package/node_modules/lodash/fp/rangeStep.js +0 -5
- package/node_modules/lodash/fp/rangeStepRight.js +0 -5
- package/node_modules/lodash/fp/rearg.js +0 -5
- package/node_modules/lodash/fp/reduce.js +0 -5
- package/node_modules/lodash/fp/reduceRight.js +0 -5
- package/node_modules/lodash/fp/reject.js +0 -5
- package/node_modules/lodash/fp/remove.js +0 -5
- package/node_modules/lodash/fp/repeat.js +0 -5
- package/node_modules/lodash/fp/replace.js +0 -5
- package/node_modules/lodash/fp/rest.js +0 -5
- package/node_modules/lodash/fp/restFrom.js +0 -5
- package/node_modules/lodash/fp/result.js +0 -5
- package/node_modules/lodash/fp/reverse.js +0 -5
- package/node_modules/lodash/fp/round.js +0 -5
- package/node_modules/lodash/fp/sample.js +0 -5
- package/node_modules/lodash/fp/sampleSize.js +0 -5
- package/node_modules/lodash/fp/seq.js +0 -2
- package/node_modules/lodash/fp/set.js +0 -5
- package/node_modules/lodash/fp/setWith.js +0 -5
- package/node_modules/lodash/fp/shuffle.js +0 -5
- package/node_modules/lodash/fp/size.js +0 -5
- package/node_modules/lodash/fp/slice.js +0 -5
- package/node_modules/lodash/fp/snakeCase.js +0 -5
- package/node_modules/lodash/fp/some.js +0 -5
- package/node_modules/lodash/fp/sortBy.js +0 -5
- package/node_modules/lodash/fp/sortedIndex.js +0 -5
- package/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- package/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- package/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- package/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- package/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- package/node_modules/lodash/fp/sortedUniq.js +0 -5
- package/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- package/node_modules/lodash/fp/split.js +0 -5
- package/node_modules/lodash/fp/spread.js +0 -5
- package/node_modules/lodash/fp/spreadFrom.js +0 -5
- package/node_modules/lodash/fp/startCase.js +0 -5
- package/node_modules/lodash/fp/startsWith.js +0 -5
- package/node_modules/lodash/fp/string.js +0 -2
- package/node_modules/lodash/fp/stubArray.js +0 -5
- package/node_modules/lodash/fp/stubFalse.js +0 -5
- package/node_modules/lodash/fp/stubObject.js +0 -5
- package/node_modules/lodash/fp/stubString.js +0 -5
- package/node_modules/lodash/fp/stubTrue.js +0 -5
- package/node_modules/lodash/fp/subtract.js +0 -5
- package/node_modules/lodash/fp/sum.js +0 -5
- package/node_modules/lodash/fp/sumBy.js +0 -5
- package/node_modules/lodash/fp/symmetricDifference.js +0 -1
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- package/node_modules/lodash/fp/tail.js +0 -5
- package/node_modules/lodash/fp/take.js +0 -5
- package/node_modules/lodash/fp/takeLast.js +0 -1
- package/node_modules/lodash/fp/takeLastWhile.js +0 -1
- package/node_modules/lodash/fp/takeRight.js +0 -5
- package/node_modules/lodash/fp/takeRightWhile.js +0 -5
- package/node_modules/lodash/fp/takeWhile.js +0 -5
- package/node_modules/lodash/fp/tap.js +0 -5
- package/node_modules/lodash/fp/template.js +0 -5
- package/node_modules/lodash/fp/templateSettings.js +0 -5
- package/node_modules/lodash/fp/throttle.js +0 -5
- package/node_modules/lodash/fp/thru.js +0 -5
- package/node_modules/lodash/fp/times.js +0 -5
- package/node_modules/lodash/fp/toArray.js +0 -5
- package/node_modules/lodash/fp/toFinite.js +0 -5
- package/node_modules/lodash/fp/toInteger.js +0 -5
- package/node_modules/lodash/fp/toIterator.js +0 -5
- package/node_modules/lodash/fp/toJSON.js +0 -5
- package/node_modules/lodash/fp/toLength.js +0 -5
- package/node_modules/lodash/fp/toLower.js +0 -5
- package/node_modules/lodash/fp/toNumber.js +0 -5
- package/node_modules/lodash/fp/toPairs.js +0 -5
- package/node_modules/lodash/fp/toPairsIn.js +0 -5
- package/node_modules/lodash/fp/toPath.js +0 -5
- package/node_modules/lodash/fp/toPlainObject.js +0 -5
- package/node_modules/lodash/fp/toSafeInteger.js +0 -5
- package/node_modules/lodash/fp/toString.js +0 -5
- package/node_modules/lodash/fp/toUpper.js +0 -5
- package/node_modules/lodash/fp/transform.js +0 -5
- package/node_modules/lodash/fp/trim.js +0 -5
- package/node_modules/lodash/fp/trimChars.js +0 -5
- package/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- package/node_modules/lodash/fp/trimCharsStart.js +0 -5
- package/node_modules/lodash/fp/trimEnd.js +0 -5
- package/node_modules/lodash/fp/trimStart.js +0 -5
- package/node_modules/lodash/fp/truncate.js +0 -5
- package/node_modules/lodash/fp/unapply.js +0 -1
- package/node_modules/lodash/fp/unary.js +0 -5
- package/node_modules/lodash/fp/unescape.js +0 -5
- package/node_modules/lodash/fp/union.js +0 -5
- package/node_modules/lodash/fp/unionBy.js +0 -5
- package/node_modules/lodash/fp/unionWith.js +0 -5
- package/node_modules/lodash/fp/uniq.js +0 -5
- package/node_modules/lodash/fp/uniqBy.js +0 -5
- package/node_modules/lodash/fp/uniqWith.js +0 -5
- package/node_modules/lodash/fp/uniqueId.js +0 -5
- package/node_modules/lodash/fp/unnest.js +0 -1
- package/node_modules/lodash/fp/unset.js +0 -5
- package/node_modules/lodash/fp/unzip.js +0 -5
- package/node_modules/lodash/fp/unzipWith.js +0 -5
- package/node_modules/lodash/fp/update.js +0 -5
- package/node_modules/lodash/fp/updateWith.js +0 -5
- package/node_modules/lodash/fp/upperCase.js +0 -5
- package/node_modules/lodash/fp/upperFirst.js +0 -5
- package/node_modules/lodash/fp/useWith.js +0 -1
- package/node_modules/lodash/fp/util.js +0 -2
- package/node_modules/lodash/fp/value.js +0 -5
- package/node_modules/lodash/fp/valueOf.js +0 -5
- package/node_modules/lodash/fp/values.js +0 -5
- package/node_modules/lodash/fp/valuesIn.js +0 -5
- package/node_modules/lodash/fp/where.js +0 -1
- package/node_modules/lodash/fp/whereEq.js +0 -1
- package/node_modules/lodash/fp/without.js +0 -5
- package/node_modules/lodash/fp/words.js +0 -5
- package/node_modules/lodash/fp/wrap.js +0 -5
- package/node_modules/lodash/fp/wrapperAt.js +0 -5
- package/node_modules/lodash/fp/wrapperChain.js +0 -5
- package/node_modules/lodash/fp/wrapperLodash.js +0 -5
- package/node_modules/lodash/fp/wrapperReverse.js +0 -5
- package/node_modules/lodash/fp/wrapperValue.js +0 -5
- package/node_modules/lodash/fp/xor.js +0 -5
- package/node_modules/lodash/fp/xorBy.js +0 -5
- package/node_modules/lodash/fp/xorWith.js +0 -5
- package/node_modules/lodash/fp/zip.js +0 -5
- package/node_modules/lodash/fp/zipAll.js +0 -5
- package/node_modules/lodash/fp/zipObj.js +0 -1
- package/node_modules/lodash/fp/zipObject.js +0 -5
- package/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- package/node_modules/lodash/fp/zipWith.js +0 -5
- package/node_modules/lodash/fp.js +0 -2
- package/node_modules/lodash/fromPairs.js +0 -28
- package/node_modules/lodash/function.js +0 -25
- package/node_modules/lodash/functions.js +0 -31
- package/node_modules/lodash/functionsIn.js +0 -31
- package/node_modules/lodash/get.js +0 -33
- package/node_modules/lodash/groupBy.js +0 -41
- package/node_modules/lodash/gt.js +0 -29
- package/node_modules/lodash/gte.js +0 -30
- package/node_modules/lodash/has.js +0 -35
- package/node_modules/lodash/hasIn.js +0 -34
- package/node_modules/lodash/head.js +0 -23
- package/node_modules/lodash/identity.js +0 -21
- package/node_modules/lodash/inRange.js +0 -55
- package/node_modules/lodash/includes.js +0 -53
- package/node_modules/lodash/index.js +0 -1
- package/node_modules/lodash/indexOf.js +0 -42
- package/node_modules/lodash/initial.js +0 -22
- package/node_modules/lodash/intersection.js +0 -30
- package/node_modules/lodash/intersectionBy.js +0 -45
- package/node_modules/lodash/intersectionWith.js +0 -41
- package/node_modules/lodash/invert.js +0 -42
- package/node_modules/lodash/invertBy.js +0 -56
- package/node_modules/lodash/invoke.js +0 -24
- package/node_modules/lodash/invokeMap.js +0 -41
- package/node_modules/lodash/isArguments.js +0 -36
- package/node_modules/lodash/isArray.js +0 -26
- package/node_modules/lodash/isArrayBuffer.js +0 -27
- package/node_modules/lodash/isArrayLike.js +0 -33
- package/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/node_modules/lodash/isBoolean.js +0 -29
- package/node_modules/lodash/isBuffer.js +0 -38
- package/node_modules/lodash/isDate.js +0 -27
- package/node_modules/lodash/isElement.js +0 -25
- package/node_modules/lodash/isEmpty.js +0 -77
- package/node_modules/lodash/isEqual.js +0 -35
- package/node_modules/lodash/isEqualWith.js +0 -41
- package/node_modules/lodash/isError.js +0 -36
- package/node_modules/lodash/isFinite.js +0 -36
- package/node_modules/lodash/isFunction.js +0 -37
- package/node_modules/lodash/isInteger.js +0 -33
- package/node_modules/lodash/isLength.js +0 -35
- package/node_modules/lodash/isMap.js +0 -27
- package/node_modules/lodash/isMatch.js +0 -36
- package/node_modules/lodash/isMatchWith.js +0 -41
- package/node_modules/lodash/isNaN.js +0 -38
- package/node_modules/lodash/isNative.js +0 -40
- package/node_modules/lodash/isNil.js +0 -25
- package/node_modules/lodash/isNull.js +0 -22
- package/node_modules/lodash/isNumber.js +0 -38
- package/node_modules/lodash/isObject.js +0 -31
- package/node_modules/lodash/isObjectLike.js +0 -29
- package/node_modules/lodash/isPlainObject.js +0 -62
- package/node_modules/lodash/isRegExp.js +0 -27
- package/node_modules/lodash/isSafeInteger.js +0 -37
- package/node_modules/lodash/isSet.js +0 -27
- package/node_modules/lodash/isString.js +0 -30
- package/node_modules/lodash/isSymbol.js +0 -29
- package/node_modules/lodash/isTypedArray.js +0 -27
- package/node_modules/lodash/isUndefined.js +0 -22
- package/node_modules/lodash/isWeakMap.js +0 -28
- package/node_modules/lodash/isWeakSet.js +0 -28
- package/node_modules/lodash/iteratee.js +0 -53
- package/node_modules/lodash/join.js +0 -26
- package/node_modules/lodash/kebabCase.js +0 -28
- package/node_modules/lodash/keyBy.js +0 -36
- package/node_modules/lodash/keys.js +0 -37
- package/node_modules/lodash/keysIn.js +0 -32
- package/node_modules/lodash/lang.js +0 -58
- package/node_modules/lodash/last.js +0 -20
- package/node_modules/lodash/lastIndexOf.js +0 -46
- package/node_modules/lodash/lodash.js +0 -17248
- package/node_modules/lodash/lodash.min.js +0 -140
- package/node_modules/lodash/lowerCase.js +0 -27
- package/node_modules/lodash/lowerFirst.js +0 -22
- package/node_modules/lodash/lt.js +0 -29
- package/node_modules/lodash/lte.js +0 -30
- package/node_modules/lodash/map.js +0 -53
- package/node_modules/lodash/mapKeys.js +0 -36
- package/node_modules/lodash/mapValues.js +0 -43
- package/node_modules/lodash/matches.js +0 -46
- package/node_modules/lodash/matchesProperty.js +0 -44
- package/node_modules/lodash/math.js +0 -17
- package/node_modules/lodash/max.js +0 -29
- package/node_modules/lodash/maxBy.js +0 -34
- package/node_modules/lodash/mean.js +0 -22
- package/node_modules/lodash/meanBy.js +0 -31
- package/node_modules/lodash/memoize.js +0 -73
- package/node_modules/lodash/merge.js +0 -39
- package/node_modules/lodash/mergeWith.js +0 -39
- package/node_modules/lodash/method.js +0 -34
- package/node_modules/lodash/methodOf.js +0 -33
- package/node_modules/lodash/min.js +0 -29
- package/node_modules/lodash/minBy.js +0 -34
- package/node_modules/lodash/mixin.js +0 -74
- package/node_modules/lodash/multiply.js +0 -22
- package/node_modules/lodash/negate.js +0 -40
- package/node_modules/lodash/next.js +0 -35
- package/node_modules/lodash/noop.js +0 -17
- package/node_modules/lodash/now.js +0 -23
- package/node_modules/lodash/nth.js +0 -29
- package/node_modules/lodash/nthArg.js +0 -32
- package/node_modules/lodash/number.js +0 -5
- package/node_modules/lodash/object.js +0 -49
- package/node_modules/lodash/omit.js +0 -57
- package/node_modules/lodash/omitBy.js +0 -29
- package/node_modules/lodash/once.js +0 -25
- package/node_modules/lodash/orderBy.js +0 -47
- package/node_modules/lodash/over.js +0 -24
- package/node_modules/lodash/overArgs.js +0 -61
- package/node_modules/lodash/overEvery.js +0 -34
- package/node_modules/lodash/overSome.js +0 -37
- package/node_modules/lodash/package.json +0 -17
- package/node_modules/lodash/pad.js +0 -49
- package/node_modules/lodash/padEnd.js +0 -39
- package/node_modules/lodash/padStart.js +0 -39
- package/node_modules/lodash/parseInt.js +0 -43
- package/node_modules/lodash/partial.js +0 -50
- package/node_modules/lodash/partialRight.js +0 -49
- package/node_modules/lodash/partition.js +0 -43
- package/node_modules/lodash/pick.js +0 -25
- package/node_modules/lodash/pickBy.js +0 -37
- package/node_modules/lodash/plant.js +0 -48
- package/node_modules/lodash/property.js +0 -32
- package/node_modules/lodash/propertyOf.js +0 -30
- package/node_modules/lodash/pull.js +0 -29
- package/node_modules/lodash/pullAll.js +0 -29
- package/node_modules/lodash/pullAllBy.js +0 -33
- package/node_modules/lodash/pullAllWith.js +0 -32
- package/node_modules/lodash/pullAt.js +0 -43
- package/node_modules/lodash/random.js +0 -82
- package/node_modules/lodash/range.js +0 -46
- package/node_modules/lodash/rangeRight.js +0 -41
- package/node_modules/lodash/rearg.js +0 -33
- package/node_modules/lodash/reduce.js +0 -51
- package/node_modules/lodash/reduceRight.js +0 -36
- package/node_modules/lodash/reject.js +0 -46
- package/node_modules/lodash/remove.js +0 -53
- package/node_modules/lodash/repeat.js +0 -37
- package/node_modules/lodash/replace.js +0 -29
- package/node_modules/lodash/rest.js +0 -40
- package/node_modules/lodash/result.js +0 -56
- package/node_modules/lodash/reverse.js +0 -34
- package/node_modules/lodash/round.js +0 -26
- package/node_modules/lodash/sample.js +0 -24
- package/node_modules/lodash/sampleSize.js +0 -37
- package/node_modules/lodash/seq.js +0 -16
- package/node_modules/lodash/set.js +0 -35
- package/node_modules/lodash/setWith.js +0 -32
- package/node_modules/lodash/shuffle.js +0 -25
- package/node_modules/lodash/size.js +0 -46
- package/node_modules/lodash/slice.js +0 -37
- package/node_modules/lodash/snakeCase.js +0 -28
- package/node_modules/lodash/some.js +0 -51
- package/node_modules/lodash/sortBy.js +0 -48
- package/node_modules/lodash/sortedIndex.js +0 -24
- package/node_modules/lodash/sortedIndexBy.js +0 -33
- package/node_modules/lodash/sortedIndexOf.js +0 -31
- package/node_modules/lodash/sortedLastIndex.js +0 -25
- package/node_modules/lodash/sortedLastIndexBy.js +0 -33
- package/node_modules/lodash/sortedLastIndexOf.js +0 -31
- package/node_modules/lodash/sortedUniq.js +0 -24
- package/node_modules/lodash/sortedUniqBy.js +0 -26
- package/node_modules/lodash/split.js +0 -52
- package/node_modules/lodash/spread.js +0 -63
- package/node_modules/lodash/startCase.js +0 -29
- package/node_modules/lodash/startsWith.js +0 -39
- package/node_modules/lodash/string.js +0 -33
- package/node_modules/lodash/stubArray.js +0 -23
- package/node_modules/lodash/stubFalse.js +0 -18
- package/node_modules/lodash/stubObject.js +0 -23
- package/node_modules/lodash/stubString.js +0 -18
- package/node_modules/lodash/stubTrue.js +0 -18
- package/node_modules/lodash/subtract.js +0 -22
- package/node_modules/lodash/sum.js +0 -24
- package/node_modules/lodash/sumBy.js +0 -33
- package/node_modules/lodash/tail.js +0 -22
- package/node_modules/lodash/take.js +0 -37
- package/node_modules/lodash/takeRight.js +0 -39
- package/node_modules/lodash/takeRightWhile.js +0 -45
- package/node_modules/lodash/takeWhile.js +0 -45
- package/node_modules/lodash/tap.js +0 -29
- package/node_modules/lodash/template.js +0 -272
- package/node_modules/lodash/templateSettings.js +0 -67
- package/node_modules/lodash/throttle.js +0 -69
- package/node_modules/lodash/thru.js +0 -28
- package/node_modules/lodash/times.js +0 -51
- package/node_modules/lodash/toArray.js +0 -58
- package/node_modules/lodash/toFinite.js +0 -42
- package/node_modules/lodash/toInteger.js +0 -36
- package/node_modules/lodash/toIterator.js +0 -23
- package/node_modules/lodash/toJSON.js +0 -1
- package/node_modules/lodash/toLength.js +0 -38
- package/node_modules/lodash/toLower.js +0 -28
- package/node_modules/lodash/toNumber.js +0 -64
- package/node_modules/lodash/toPairs.js +0 -30
- package/node_modules/lodash/toPairsIn.js +0 -30
- package/node_modules/lodash/toPath.js +0 -33
- package/node_modules/lodash/toPlainObject.js +0 -32
- package/node_modules/lodash/toSafeInteger.js +0 -37
- package/node_modules/lodash/toString.js +0 -28
- package/node_modules/lodash/toUpper.js +0 -28
- package/node_modules/lodash/transform.js +0 -65
- package/node_modules/lodash/trim.js +0 -47
- package/node_modules/lodash/trimEnd.js +0 -41
- package/node_modules/lodash/trimStart.js +0 -43
- package/node_modules/lodash/truncate.js +0 -111
- package/node_modules/lodash/unary.js +0 -22
- package/node_modules/lodash/unescape.js +0 -34
- package/node_modules/lodash/union.js +0 -26
- package/node_modules/lodash/unionBy.js +0 -39
- package/node_modules/lodash/unionWith.js +0 -34
- package/node_modules/lodash/uniq.js +0 -25
- package/node_modules/lodash/uniqBy.js +0 -31
- package/node_modules/lodash/uniqWith.js +0 -28
- package/node_modules/lodash/uniqueId.js +0 -28
- package/node_modules/lodash/unset.js +0 -34
- package/node_modules/lodash/unzip.js +0 -45
- package/node_modules/lodash/unzipWith.js +0 -39
- package/node_modules/lodash/update.js +0 -35
- package/node_modules/lodash/updateWith.js +0 -33
- package/node_modules/lodash/upperCase.js +0 -27
- package/node_modules/lodash/upperFirst.js +0 -22
- package/node_modules/lodash/util.js +0 -34
- package/node_modules/lodash/value.js +0 -1
- package/node_modules/lodash/valueOf.js +0 -1
- package/node_modules/lodash/values.js +0 -34
- package/node_modules/lodash/valuesIn.js +0 -32
- package/node_modules/lodash/without.js +0 -31
- package/node_modules/lodash/words.js +0 -35
- package/node_modules/lodash/wrap.js +0 -30
- package/node_modules/lodash/wrapperAt.js +0 -48
- package/node_modules/lodash/wrapperChain.js +0 -34
- package/node_modules/lodash/wrapperLodash.js +0 -147
- package/node_modules/lodash/wrapperReverse.js +0 -44
- package/node_modules/lodash/wrapperValue.js +0 -21
- package/node_modules/lodash/xor.js +0 -28
- package/node_modules/lodash/xorBy.js +0 -39
- package/node_modules/lodash/xorWith.js +0 -34
- package/node_modules/lodash/zip.js +0 -22
- package/node_modules/lodash/zipObject.js +0 -24
- package/node_modules/lodash/zipObjectDeep.js +0 -23
- package/node_modules/lodash/zipWith.js +0 -32
- package/node_modules/q/LICENSE +0 -18
- package/node_modules/q/README.md +0 -874
- package/node_modules/q/package.json +0 -76
- package/node_modules/q/q.js +0 -2076
- package/node_modules/q/queue.js +0 -35
- package/node_modules/standard-version/.eslintrc +0 -6
- package/node_modules/standard-version/.github/ISSUE_TEMPLATE/ask-a-question.md +0 -10
- package/node_modules/standard-version/.github/ISSUE_TEMPLATE/bug-report.md +0 -31
- package/node_modules/standard-version/.github/workflows/ci.yaml +0 -33
- package/node_modules/standard-version/.github/workflows/release-please.yml +0 -31
- package/node_modules/standard-version/CHANGELOG.md +0 -524
- package/node_modules/standard-version/README.md +0 -470
- package/node_modules/standard-version/bin/cli.js +0 -13
- package/node_modules/standard-version/command.js +0 -133
- package/node_modules/standard-version/defaults.js +0 -43
- package/node_modules/standard-version/index.js +0 -80
- package/node_modules/standard-version/lib/checkpoint.js +0 -12
- package/node_modules/standard-version/lib/configuration.js +0 -41
- package/node_modules/standard-version/lib/format-commit-message.js +0 -4
- package/node_modules/standard-version/lib/latest-semver-tag.js +0 -17
- package/node_modules/standard-version/lib/lifecycles/bump.js +0 -172
- package/node_modules/standard-version/lib/lifecycles/changelog.js +0 -66
- package/node_modules/standard-version/lib/lifecycles/commit.js +0 -69
- package/node_modules/standard-version/lib/lifecycles/tag.js +0 -39
- package/node_modules/standard-version/lib/preset-loader.js +0 -17
- package/node_modules/standard-version/lib/print-error.js +0 -12
- package/node_modules/standard-version/lib/run-exec.js +0 -18
- package/node_modules/standard-version/lib/run-execFile.js +0 -18
- package/node_modules/standard-version/lib/run-lifecycle-script.js +0 -13
- package/node_modules/standard-version/lib/updaters/index.js +0 -85
- package/node_modules/standard-version/lib/updaters/types/json.js +0 -25
- package/node_modules/standard-version/lib/updaters/types/plain-text.js +0 -7
- package/node_modules/standard-version/lib/write-file.js +0 -6
- package/node_modules/standard-version/node_modules/cliui/package.json +0 -83
- package/node_modules/standard-version/node_modules/conventional-changelog/README.md +0 -66
- package/node_modules/standard-version/node_modules/conventional-changelog/package.json +0 -53
- package/node_modules/standard-version/node_modules/conventional-changelog-angular/README.md +0 -104
- package/node_modules/standard-version/node_modules/conventional-changelog-angular/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-angular/index.js +0 -11
- package/node_modules/standard-version/node_modules/conventional-changelog-angular/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-angular/writer-opts.js +0 -109
- package/node_modules/standard-version/node_modules/conventional-changelog-atom/README.md +0 -41
- package/node_modules/standard-version/node_modules/conventional-changelog-atom/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-atom/index.js +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-atom/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-atom/writer-opts.js +0 -46
- package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/README.md +0 -13
- package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/index.js +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/writer-opts.js +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/README.md +0 -50
- package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/conventional-changelog.js +0 -12
- package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/index.js +0 -38
- package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/package.json +0 -41
- package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +0 -13
- package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/writer-opts.js +0 -214
- package/node_modules/standard-version/node_modules/conventional-changelog-core/README.md +0 -255
- package/node_modules/standard-version/node_modules/conventional-changelog-core/index.js +0 -144
- package/node_modules/standard-version/node_modules/conventional-changelog-core/lib/merge-config.js +0 -345
- package/node_modules/standard-version/node_modules/conventional-changelog-core/package.json +0 -50
- package/node_modules/standard-version/node_modules/conventional-changelog-ember/README.md +0 -63
- package/node_modules/standard-version/node_modules/conventional-changelog-ember/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-ember/index.js +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-ember/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-ember/writer-opts.js +0 -53
- package/node_modules/standard-version/node_modules/conventional-changelog-eslint/README.md +0 -53
- package/node_modules/standard-version/node_modules/conventional-changelog-eslint/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-eslint/index.js +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-eslint/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-eslint/writer-opts.js +0 -37
- package/node_modules/standard-version/node_modules/conventional-changelog-express/README.md +0 -14
- package/node_modules/standard-version/node_modules/conventional-changelog-express/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-express/index.js +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-express/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-express/writer-opts.js +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-jquery/README.md +0 -52
- package/node_modules/standard-version/node_modules/conventional-changelog-jquery/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-jquery/index.js +0 -11
- package/node_modules/standard-version/node_modules/conventional-changelog-jquery/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-changelog-jquery/writer-opts.js +0 -45
- package/node_modules/standard-version/node_modules/conventional-changelog-jshint/README.md +0 -90
- package/node_modules/standard-version/node_modules/conventional-changelog-jshint/conventional-changelog.js +0 -10
- package/node_modules/standard-version/node_modules/conventional-changelog-jshint/index.js +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-jshint/package.json +0 -40
- package/node_modules/standard-version/node_modules/conventional-changelog-jshint/writer-opts.js +0 -56
- package/node_modules/standard-version/node_modules/conventional-changelog-preset-loader/README.md +0 -41
- package/node_modules/standard-version/node_modules/conventional-changelog-preset-loader/package.json +0 -32
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/README.md +0 -369
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/cli.js +0 -120
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/index.js +0 -204
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/lib/util.js +0 -216
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/LICENSE +0 -15
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/README.md +0 -443
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/bin/semver.js +0 -174
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/package.json +0 -38
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/range.bnf +0 -16
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/node_modules/semver/semver.js +0 -1643
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/package.json +0 -59
- package/node_modules/standard-version/node_modules/conventional-changelog-writer/templates/commit.hbs +0 -56
- package/node_modules/standard-version/node_modules/conventional-commits-filter/README.md +0 -184
- package/node_modules/standard-version/node_modules/conventional-commits-filter/package.json +0 -39
- package/node_modules/standard-version/node_modules/conventional-commits-parser/README.md +0 -383
- package/node_modules/standard-version/node_modules/conventional-commits-parser/cli.js +0 -165
- package/node_modules/standard-version/node_modules/conventional-commits-parser/index.js +0 -101
- package/node_modules/standard-version/node_modules/conventional-commits-parser/lib/parser.js +0 -316
- package/node_modules/standard-version/node_modules/conventional-commits-parser/package.json +0 -52
- package/node_modules/standard-version/node_modules/conventional-recommended-bump/index.js +0 -100
- package/node_modules/standard-version/node_modules/conventional-recommended-bump/package.json +0 -50
- package/node_modules/standard-version/node_modules/conventional-recommended-bump/preset-resolver.js +0 -22
- package/node_modules/standard-version/node_modules/git-raw-commits/README.md +0 -101
- package/node_modules/standard-version/node_modules/git-raw-commits/index.js +0 -91
- package/node_modules/standard-version/node_modules/git-raw-commits/package.json +0 -48
- package/node_modules/standard-version/node_modules/git-semver-tags/README.md +0 -54
- package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/LICENSE +0 -15
- package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/README.md +0 -443
- package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/bin/semver.js +0 -174
- package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/package.json +0 -38
- package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/range.bnf +0 -16
- package/node_modules/standard-version/node_modules/git-semver-tags/node_modules/semver/semver.js +0 -1643
- package/node_modules/standard-version/node_modules/git-semver-tags/package.json +0 -45
- package/node_modules/standard-version/node_modules/through2/LICENSE.md +0 -9
- package/node_modules/standard-version/node_modules/through2/README.md +0 -140
- package/node_modules/standard-version/node_modules/through2/package.json +0 -38
- package/node_modules/standard-version/node_modules/through2/through2.js +0 -83
- package/node_modules/standard-version/node_modules/yargs/README.md +0 -202
- package/node_modules/standard-version/node_modules/yargs/browser.mjs +0 -7
- package/node_modules/standard-version/node_modules/yargs/build/index.cjs +0 -2920
- package/node_modules/standard-version/node_modules/yargs/build/lib/command.js +0 -382
- package/node_modules/standard-version/node_modules/yargs/build/lib/completion-templates.js +0 -47
- package/node_modules/standard-version/node_modules/yargs/build/lib/completion.js +0 -128
- package/node_modules/standard-version/node_modules/yargs/build/lib/middleware.js +0 -53
- package/node_modules/standard-version/node_modules/yargs/build/lib/usage.js +0 -548
- package/node_modules/standard-version/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
- package/node_modules/standard-version/node_modules/yargs/build/lib/validation.js +0 -308
- package/node_modules/standard-version/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
- package/node_modules/standard-version/node_modules/yargs/build/lib/yerror.js +0 -7
- package/node_modules/standard-version/node_modules/yargs/index.cjs +0 -39
- package/node_modules/standard-version/node_modules/yargs/index.mjs +0 -8
- package/node_modules/standard-version/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
- package/node_modules/standard-version/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
- package/node_modules/standard-version/node_modules/yargs/locales/en.json +0 -51
- package/node_modules/standard-version/node_modules/yargs/locales/fi.json +0 -49
- package/node_modules/standard-version/node_modules/yargs/locales/ko.json +0 -49
- package/node_modules/standard-version/node_modules/yargs/locales/ru.json +0 -46
- package/node_modules/standard-version/node_modules/yargs/locales/zh_TW.json +0 -47
- package/node_modules/standard-version/node_modules/yargs/package.json +0 -122
- package/node_modules/standard-version/package.json +0 -69
- package/node_modules/standard-version/renovate.json +0 -9
- package/node_modules/standard-version/test/config-files.spec.js +0 -174
- package/node_modules/standard-version/test/core.spec.js +0 -829
- package/node_modules/standard-version/test/git.spec.js +0 -375
- package/node_modules/standard-version/test/mocks/updater/customer-updater.js +0 -12
- package/node_modules/standard-version/test/preset.spec.js +0 -52
- package/node_modules/stringify-package/LICENSE +0 -13
- package/node_modules/stringify-package/README.md +0 -55
- package/node_modules/stringify-package/index.js +0 -18
- package/node_modules/stringify-package/package.json +0 -38
- /package/node_modules/{standard-version/node_modules/cliui → cliui}/LICENSE.txt +0 -0
- /package/node_modules/{standard-version/node_modules/cliui → cliui}/README.md +0 -0
- /package/node_modules/{standard-version/node_modules/cliui → cliui}/build/index.cjs +0 -0
- /package/node_modules/{standard-version/node_modules/cliui → cliui}/build/lib/index.js +0 -0
- /package/node_modules/{standard-version/node_modules/cliui → cliui}/build/lib/string-utils.js +0 -0
- /package/node_modules/{standard-version/node_modules/cliui → cliui}/index.mjs +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/.editorconfig +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/.versionrc +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/LICENSE.txt +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/VERSION-1.0.0.txt +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/VERSION-6.3.1.txt +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/manifest-6.3.1.json +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/mix.exs +0 -0
- /package/node_modules/{standard-version → commit-and-tag-version}/test/mocks/version.txt +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog → conventional-changelog}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog → conventional-changelog}/index.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/footer.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-angular → conventional-changelog-angular}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-atom → conventional-changelog-atom}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-codemirror → conventional-changelog-codemirror}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/add-bang-notes.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/templates/footer.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-conventionalcommits → conventional-changelog-conventionalcommits}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/hosts/bitbucket.json +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/hosts/github.json +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-core → conventional-changelog-core}/hosts/gitlab.json +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-ember → conventional-changelog-ember}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-eslint → conventional-changelog-eslint}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-express → conventional-changelog-express}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jquery → conventional-changelog-jquery}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/parser-opts.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/commit.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/footer.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-jshint → conventional-changelog-jshint}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-preset-loader → conventional-changelog-preset-loader}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-preset-loader → conventional-changelog-preset-loader}/index.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/templates/footer.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/templates/header.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-changelog-writer → conventional-changelog-writer}/templates/template.hbs +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-commits-filter → conventional-commits-filter}/LICENSE +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-commits-filter → conventional-commits-filter}/index.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-commits-parser → conventional-commits-parser}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-commits-parser → conventional-commits-parser}/lib/regex.js +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-recommended-bump → conventional-recommended-bump}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-recommended-bump → conventional-recommended-bump}/README.md +0 -0
- /package/node_modules/{standard-version/node_modules/conventional-recommended-bump → conventional-recommended-bump}/cli.js +0 -0
- /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/.github/FUNDING.yml +0 -0
- /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/LICENSE.md +0 -0
- /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/README.md +0 -0
- /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/index.js +0 -0
- /package/node_modules/{balanced-match → dotgitignore/node_modules/balanced-match}/package.json +0 -0
- /package/node_modules/{standard-version/node_modules/git-raw-commits → git-raw-commits}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/git-raw-commits → git-raw-commits}/cli.js +0 -0
- /package/node_modules/{standard-version/node_modules/git-semver-tags → git-semver-tags}/LICENSE.md +0 -0
- /package/node_modules/{standard-version/node_modules/git-semver-tags → git-semver-tags}/cli.js +0 -0
- /package/node_modules/{standard-version/node_modules/git-semver-tags → git-semver-tags}/index.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/LICENSE +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/argsert.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/parse-command.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/typings/common-types.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/typings/yargs-parser-types.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/apply-extends.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/is-promise.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/obj-filter.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/process-argv.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/set-blocking.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/build/lib/utils/which-module.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/helpers/helpers.mjs +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/helpers/index.js +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/helpers/package.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/be.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/de.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/es.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/fr.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/hi.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/hu.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/id.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/it.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/ja.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/nb.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/nl.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/nn.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pirate.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pl.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pt.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/pt_BR.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/th.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/tr.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/locales/zh_CN.json +0 -0
- /package/node_modules/{standard-version/node_modules/yargs → yargs}/yargs +0 -0
|
@@ -0,0 +1,2089 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const shell = require('shelljs');
|
|
4
|
+
const stripAnsi = require('strip-ansi');
|
|
5
|
+
const fs = require('fs');
|
|
6
|
+
|
|
7
|
+
const mockers = require('./mocks/jest-mocks');
|
|
8
|
+
|
|
9
|
+
const runExecFile = require('../lib/run-execFile');
|
|
10
|
+
|
|
11
|
+
const cli = require('../command');
|
|
12
|
+
const formatCommitMessage = require('../lib/format-commit-message');
|
|
13
|
+
|
|
14
|
+
// set by mock()
|
|
15
|
+
let standardVersion;
|
|
16
|
+
let readFileSyncSpy;
|
|
17
|
+
let lstatSyncSpy;
|
|
18
|
+
|
|
19
|
+
// Rather than trying to re-read something written out during tests, we can spy on writeFileSync
|
|
20
|
+
// we can trust fs is capable of writing the file
|
|
21
|
+
let writeFileSyncSpy;
|
|
22
|
+
|
|
23
|
+
const consoleErrorSpy = jest.spyOn(console, 'warn').mockImplementation();
|
|
24
|
+
const consoleInfoSpy = jest.spyOn(console, 'info').mockImplementation();
|
|
25
|
+
|
|
26
|
+
jest.mock('../lib/run-execFile');
|
|
27
|
+
|
|
28
|
+
const { readFileSync: readFileSyncActual, lstatSync: lstatSyncActual } = fs;
|
|
29
|
+
|
|
30
|
+
function exec(opt = '', git) {
|
|
31
|
+
if (typeof opt === 'string') {
|
|
32
|
+
opt = cli.parse(`commit-and-tag-version ${opt}`);
|
|
33
|
+
}
|
|
34
|
+
if (!git) opt.skip = Object.assign({}, opt.skip, { commit: true, tag: true });
|
|
35
|
+
return standardVersion(opt);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function attemptingToReadPackageJson(path) {
|
|
39
|
+
return path.includes('package.json') || path.includes('package-lock.json');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @param fs - reference to 'fs' - needs to be defined in the root test class so that mocking works correctly
|
|
44
|
+
* @param readFileSyncActual - actual implementation of fs.readFileSync - reference should be defined as a variable in root test class so we can unset spy after
|
|
45
|
+
* @param existingChangelog ?: string - Existing CHANGELOG.md content
|
|
46
|
+
* @param testFiles ?: object[] - with Path and Value fields, for mocking readFileSynch on packageFiles such as package.json, bower.json, manifest.json
|
|
47
|
+
* @param realTestFiles ?: object[] - with Filename (e.g. mix.exs) and Path to real file in a directory
|
|
48
|
+
* @return Jest spy on readFileSync
|
|
49
|
+
*/
|
|
50
|
+
const mockReadFilesFromDisk = ({
|
|
51
|
+
fs,
|
|
52
|
+
readFileSyncActual,
|
|
53
|
+
existingChangelog,
|
|
54
|
+
testFiles,
|
|
55
|
+
realTestFiles,
|
|
56
|
+
}) =>
|
|
57
|
+
jest.spyOn(fs, 'readFileSync').mockImplementation((path, opts) => {
|
|
58
|
+
if (path === 'CHANGELOG.md') {
|
|
59
|
+
if (existingChangelog) {
|
|
60
|
+
return existingChangelog;
|
|
61
|
+
}
|
|
62
|
+
return '';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// If deliberately set to null when mocking, don't create a fake package.json
|
|
66
|
+
if (testFiles === null && attemptingToReadPackageJson(path)) {
|
|
67
|
+
return '{}';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (testFiles) {
|
|
71
|
+
const file = testFiles.find((otherFile) => {
|
|
72
|
+
return path.includes(otherFile.path);
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
if (file) {
|
|
76
|
+
if (file.value instanceof String || typeof file.value === 'string') {
|
|
77
|
+
return file.value;
|
|
78
|
+
}
|
|
79
|
+
return JSON.stringify(file.value);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// For scenarios where we have defined testFiles such as bower.json
|
|
83
|
+
// Do not create a fake package.json file
|
|
84
|
+
if (attemptingToReadPackageJson(path)) {
|
|
85
|
+
return '{}';
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// If no package files defined and not explicitly set to null, create a fake package json
|
|
90
|
+
// otherwise fs will read the real package.json in the root of this project!
|
|
91
|
+
if (attemptingToReadPackageJson(path)) {
|
|
92
|
+
return JSON.stringify({ version: '1.0.0' });
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (realTestFiles) {
|
|
96
|
+
const testFile = realTestFiles.find((testFile) => {
|
|
97
|
+
return path.includes(testFile.filename);
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
if (testFile) {
|
|
101
|
+
return readFileSyncActual(testFile.path, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return readFileSyncActual(path, opts);
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @param fs - reference to 'fs' - needs to be defined in the root test class so that mocking works correctly
|
|
110
|
+
* @param lstatSyncActual - actual implementation of fs.lstatSync
|
|
111
|
+
* @param testFiles ?: object[] - with Path and Value fields, for mocking lstatSync on packageFiles such as package.json, bower.json, manifest.json
|
|
112
|
+
* @param realTestFiles ?: object[] - with Filename (e.g. mix.exs) and Path to real file in a directory
|
|
113
|
+
* @return Jest spy on lstatSync
|
|
114
|
+
*/
|
|
115
|
+
const mockFsLStat = ({ fs, lstatSyncActual, testFiles, realTestFiles }) =>
|
|
116
|
+
jest.spyOn(fs, 'lstatSync').mockImplementation((path) => {
|
|
117
|
+
if (testFiles) {
|
|
118
|
+
const file = testFiles.find((otherFile) => {
|
|
119
|
+
return path.includes(otherFile.path);
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
if (file) {
|
|
123
|
+
return {
|
|
124
|
+
isFile: () => true,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (realTestFiles) {
|
|
130
|
+
const file = realTestFiles.find((otherFile) => {
|
|
131
|
+
return path.includes(otherFile.filename);
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
if (file) {
|
|
135
|
+
return {
|
|
136
|
+
isFile: () => true,
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return lstatSyncActual(path);
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Mock external conventional-changelog modules
|
|
146
|
+
*
|
|
147
|
+
* Mocks should be unregistered in test cleanup by calling unmock()
|
|
148
|
+
*
|
|
149
|
+
* bump?: 'major' | 'minor' | 'patch' | Error | (opt, parserOpts, cb) => { cb(err) | cb(null, { releaseType }) }
|
|
150
|
+
* changelog?: string | Error | Array<string | Error | (opt) => string | null> - Changelog to be "generated" by conventional-changelog when reading commit history
|
|
151
|
+
* execFile?: ({ dryRun, silent }, cmd, cmdArgs) => Promise<string>
|
|
152
|
+
* tags?: string[] | Error
|
|
153
|
+
* existingChangelog?: string - Existing CHANGELOG.md content
|
|
154
|
+
* testFiles?: object[] - with Path and Value fields, for mocking readFileSynch on packageFiles such as package.json, bower.json, manifest.json
|
|
155
|
+
* realTestFiles?: object[] - with Filename (e.g. mix.exs) and Path to real file in test directory
|
|
156
|
+
*/
|
|
157
|
+
function mock({
|
|
158
|
+
bump,
|
|
159
|
+
changelog,
|
|
160
|
+
tags,
|
|
161
|
+
commits,
|
|
162
|
+
existingChangelog,
|
|
163
|
+
testFiles,
|
|
164
|
+
realTestFiles,
|
|
165
|
+
} = {}) {
|
|
166
|
+
mockers.mockRecommendedBump({ bump });
|
|
167
|
+
|
|
168
|
+
if (!Array.isArray(changelog)) changelog = [changelog];
|
|
169
|
+
|
|
170
|
+
mockers.mockConventionalChangelog({
|
|
171
|
+
changelog,
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
mockers.mockGitSemverTags({
|
|
175
|
+
tags,
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
mockers.mockGitRawCommits({
|
|
179
|
+
commits,
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
// needs to be set after mockery, but before mock-fs
|
|
183
|
+
standardVersion = require('../index');
|
|
184
|
+
|
|
185
|
+
// For fake and injected test files pretend they exist at root level when Fs queries lstat
|
|
186
|
+
// Package.json works without this as it'll check the one in this actual repo...
|
|
187
|
+
lstatSyncSpy = mockFsLStat({
|
|
188
|
+
fs,
|
|
189
|
+
lstatSyncActual,
|
|
190
|
+
testFiles,
|
|
191
|
+
realTestFiles,
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
readFileSyncSpy = mockReadFilesFromDisk({
|
|
195
|
+
fs,
|
|
196
|
+
readFileSyncActual,
|
|
197
|
+
existingChangelog,
|
|
198
|
+
testFiles,
|
|
199
|
+
realTestFiles,
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
// Spies on writeFileSync to capture calls and ensure we don't actually try write anything to disc
|
|
203
|
+
writeFileSyncSpy = jest.spyOn(fs, 'writeFileSync').mockImplementation();
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function clearCapturedSpyCalls() {
|
|
207
|
+
consoleInfoSpy.mockClear();
|
|
208
|
+
consoleErrorSpy.mockClear();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function restoreMocksToRealImplementation() {
|
|
212
|
+
readFileSyncSpy.mockRestore();
|
|
213
|
+
writeFileSyncSpy.mockRestore();
|
|
214
|
+
lstatSyncSpy.mockRestore();
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function unmock() {
|
|
218
|
+
clearCapturedSpyCalls();
|
|
219
|
+
|
|
220
|
+
restoreMocksToRealImplementation();
|
|
221
|
+
|
|
222
|
+
standardVersion = null;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
describe('format-commit-message', function () {
|
|
226
|
+
it('works for no {{currentTag}}', function () {
|
|
227
|
+
expect(formatCommitMessage('chore(release): 1.0.0', '1.0.0')).toEqual(
|
|
228
|
+
'chore(release): 1.0.0',
|
|
229
|
+
);
|
|
230
|
+
});
|
|
231
|
+
it('works for one {{currentTag}}', function () {
|
|
232
|
+
expect(
|
|
233
|
+
formatCommitMessage('chore(release): {{currentTag}}', '1.0.0'),
|
|
234
|
+
).toEqual('chore(release): 1.0.0');
|
|
235
|
+
});
|
|
236
|
+
it('works for two {{currentTag}}', function () {
|
|
237
|
+
expect(
|
|
238
|
+
formatCommitMessage(
|
|
239
|
+
'chore(release): {{currentTag}} \n\n* CHANGELOG: https://github.com/absolute-version/commit-and-tag-version/blob/v{{currentTag}}/CHANGELOG.md',
|
|
240
|
+
'1.0.0',
|
|
241
|
+
),
|
|
242
|
+
).toEqual(
|
|
243
|
+
'chore(release): 1.0.0 \n\n* CHANGELOG: https://github.com/absolute-version/commit-and-tag-version/blob/v1.0.0/CHANGELOG.md',
|
|
244
|
+
);
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
describe('cli', function () {
|
|
249
|
+
afterEach(unmock);
|
|
250
|
+
|
|
251
|
+
describe('CHANGELOG.md does not exist', function () {
|
|
252
|
+
it('populates changelog with commits since last tag by default', async function () {
|
|
253
|
+
mock({ bump: 'patch', changelog: 'patch release\n', tags: ['v1.0.0'] });
|
|
254
|
+
await exec();
|
|
255
|
+
verifyNewChangelogContentMatches({
|
|
256
|
+
writeFileSyncSpy,
|
|
257
|
+
expectedContent: /patch release/,
|
|
258
|
+
});
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
it('includes all commits if --first-release is true', async function () {
|
|
262
|
+
mock({
|
|
263
|
+
bump: 'minor',
|
|
264
|
+
changelog: 'first commit\npatch release\n',
|
|
265
|
+
testFiles: [{ path: 'package.json', value: { version: '1.0.1' } }],
|
|
266
|
+
});
|
|
267
|
+
await exec('--first-release');
|
|
268
|
+
verifyNewChangelogContentMatches({
|
|
269
|
+
writeFileSyncSpy,
|
|
270
|
+
expectedContent: /patch release/,
|
|
271
|
+
});
|
|
272
|
+
verifyNewChangelogContentMatches({
|
|
273
|
+
writeFileSyncSpy,
|
|
274
|
+
expectedContent: /first commit/,
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
it('skipping changelog will not create a changelog file', async function () {
|
|
279
|
+
mock({ bump: 'minor', changelog: 'foo\n' });
|
|
280
|
+
await exec('--skip.changelog true');
|
|
281
|
+
|
|
282
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
283
|
+
expect(writeFileSyncSpy).not.toHaveBeenCalledWith('CHANGELOG.md');
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
describe('CHANGELOG.md exists', function () {
|
|
288
|
+
afterEach(unmock);
|
|
289
|
+
|
|
290
|
+
it('appends the new release above the last release, removing the old header (legacy format), and does not retain any front matter', async function () {
|
|
291
|
+
const frontMatter = '---\nstatus: new\n---\n';
|
|
292
|
+
mock({
|
|
293
|
+
bump: 'patch',
|
|
294
|
+
changelog: 'release 1.0.1\n',
|
|
295
|
+
existingChangelog:
|
|
296
|
+
frontMatter + 'legacy header format<a name="1.0.0">\n',
|
|
297
|
+
tags: ['v1.0.0'],
|
|
298
|
+
});
|
|
299
|
+
await exec();
|
|
300
|
+
|
|
301
|
+
verifyNewChangelogContentMatches({
|
|
302
|
+
writeFileSyncSpy,
|
|
303
|
+
expectedContent: /1\.0\.1/,
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
verifyNewChangelogContentDoesNotMatch({
|
|
307
|
+
writeFileSyncSpy,
|
|
308
|
+
expectedContent: /legacy header format/,
|
|
309
|
+
});
|
|
310
|
+
verifyNewChangelogContentDoesNotMatch({
|
|
311
|
+
writeFileSyncSpy,
|
|
312
|
+
expectedContent: /---status: new---/,
|
|
313
|
+
});
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
it('appends the new release above the last release, replacing the old header (standard-version format) with header (new format), and retains any front matter', async function () {
|
|
317
|
+
const { header } = require('../defaults');
|
|
318
|
+
|
|
319
|
+
const standardVersionHeader =
|
|
320
|
+
'# Changelog\n\nAll notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.';
|
|
321
|
+
|
|
322
|
+
const frontMatter = '---\nstatus: new\n---\n';
|
|
323
|
+
|
|
324
|
+
const changelog101 =
|
|
325
|
+
'### [1.0.1](/compare/v1.0.0...v1.0.1) (YYYY-MM-DD)\n\n\n### Bug Fixes\n\n* patch release ABCDEFXY\n';
|
|
326
|
+
|
|
327
|
+
const changelog100 =
|
|
328
|
+
'### [1.0.0](/compare/v0.0.1...v1.0.0) (YYYY-MM-DD)\n\n\n### Features\n\n* Version one feature set\n';
|
|
329
|
+
|
|
330
|
+
const initialChangelog =
|
|
331
|
+
frontMatter + '\n' + standardVersionHeader + '\n' + changelog100;
|
|
332
|
+
|
|
333
|
+
mock({
|
|
334
|
+
bump: 'patch',
|
|
335
|
+
changelog: changelog101,
|
|
336
|
+
existingChangelog: initialChangelog,
|
|
337
|
+
tags: ['v1.0.0'],
|
|
338
|
+
});
|
|
339
|
+
await exec();
|
|
340
|
+
|
|
341
|
+
verifyNewChangelogContentEquals({
|
|
342
|
+
writeFileSyncSpy,
|
|
343
|
+
expectedContent:
|
|
344
|
+
frontMatter + '\n' + header + '\n' + changelog101 + changelog100,
|
|
345
|
+
});
|
|
346
|
+
});
|
|
347
|
+
|
|
348
|
+
it('appends the new release above the last release, removing the old header (new format), and retains any front matter', async function () {
|
|
349
|
+
const { header } = require('../defaults');
|
|
350
|
+
const frontMatter = '---\nstatus: new\n---\n';
|
|
351
|
+
|
|
352
|
+
const changelog101 =
|
|
353
|
+
'### [1.0.1](/compare/v1.0.0...v1.0.1) (YYYY-MM-DD)\n\n\n### Bug Fixes\n\n* patch release ABCDEFXY\n';
|
|
354
|
+
|
|
355
|
+
const changelog100 =
|
|
356
|
+
'### [1.0.0](/compare/v0.0.1...v1.0.0) (YYYY-MM-DD)\n\n\n### Features\n\n* Version one feature set\n';
|
|
357
|
+
|
|
358
|
+
const initialChangelog =
|
|
359
|
+
frontMatter + '\n' + header + '\n' + changelog100;
|
|
360
|
+
|
|
361
|
+
mock({
|
|
362
|
+
bump: 'patch',
|
|
363
|
+
changelog: changelog101,
|
|
364
|
+
existingChangelog: initialChangelog,
|
|
365
|
+
tags: ['v1.0.0'],
|
|
366
|
+
});
|
|
367
|
+
await exec();
|
|
368
|
+
|
|
369
|
+
verifyNewChangelogContentEquals({
|
|
370
|
+
writeFileSyncSpy,
|
|
371
|
+
expectedContent:
|
|
372
|
+
frontMatter + '\n' + header + '\n' + changelog101 + changelog100,
|
|
373
|
+
});
|
|
374
|
+
});
|
|
375
|
+
|
|
376
|
+
it('appends the new release above the last release, removing the old header (new format)', async function () {
|
|
377
|
+
const { header } = require('../defaults');
|
|
378
|
+
const changelog1 =
|
|
379
|
+
'### [1.0.1](/compare/v1.0.0...v1.0.1) (YYYY-MM-DD)\n\n\n### Bug Fixes\n\n* patch release ABCDEFXY\n';
|
|
380
|
+
mock({ bump: 'patch', changelog: changelog1, tags: ['v1.0.0'] });
|
|
381
|
+
await exec();
|
|
382
|
+
const content = header + '\n' + changelog1;
|
|
383
|
+
verifyNewChangelogContentEquals({
|
|
384
|
+
writeFileSyncSpy,
|
|
385
|
+
expectedContent: content,
|
|
386
|
+
});
|
|
387
|
+
|
|
388
|
+
const changelog2 =
|
|
389
|
+
'### [1.0.2](/compare/v1.0.1...v1.0.2) (YYYY-MM-DD)\n\n\n### Bug Fixes\n\n* another patch release ABCDEFXY\n';
|
|
390
|
+
unmock();
|
|
391
|
+
|
|
392
|
+
mock({
|
|
393
|
+
bump: 'patch',
|
|
394
|
+
changelog: changelog2,
|
|
395
|
+
existingChangelog: content,
|
|
396
|
+
tags: ['v1.0.0', 'v1.0.1'],
|
|
397
|
+
});
|
|
398
|
+
await exec();
|
|
399
|
+
verifyNewChangelogContentEquals({
|
|
400
|
+
writeFileSyncSpy,
|
|
401
|
+
expectedContent: header + '\n' + changelog2 + changelog1,
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
it('[DEPRECATED] (--changelogHeader) allows for a custom changelog header', async function () {
|
|
406
|
+
const header = '# Pork Chop Log';
|
|
407
|
+
mock({
|
|
408
|
+
bump: 'minor',
|
|
409
|
+
changelog: header + '\n',
|
|
410
|
+
existingChangelog: '',
|
|
411
|
+
});
|
|
412
|
+
await exec(`--changelogHeader="${header}"`);
|
|
413
|
+
verifyNewChangelogContentMatches({
|
|
414
|
+
writeFileSyncSpy,
|
|
415
|
+
expectedContent: new RegExp(header),
|
|
416
|
+
});
|
|
417
|
+
});
|
|
418
|
+
|
|
419
|
+
it('[DEPRECATED] (--changelogHeader) exits with error if changelog header matches last version search regex', async function () {
|
|
420
|
+
mock({ bump: 'minor', existingChangelog: '' });
|
|
421
|
+
await expect(exec('--changelogHeader="## 3.0.2"')).rejects.toThrow(
|
|
422
|
+
/custom changelog header must not match/,
|
|
423
|
+
);
|
|
424
|
+
});
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
describe('lifecycle scripts', function () {
|
|
428
|
+
afterEach(unmock);
|
|
429
|
+
|
|
430
|
+
describe('prerelease hook', function () {
|
|
431
|
+
it('should run the prerelease hook when provided', async function () {
|
|
432
|
+
mock({
|
|
433
|
+
bump: 'minor',
|
|
434
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
await exec({
|
|
438
|
+
scripts: {
|
|
439
|
+
prerelease: "node -e \"console.error('prerelease' + ' ran')\"",
|
|
440
|
+
},
|
|
441
|
+
});
|
|
442
|
+
|
|
443
|
+
const expectedLog = 'prerelease ran';
|
|
444
|
+
verifyLogPrinted({ consoleInfoSpy: consoleErrorSpy, expectedLog });
|
|
445
|
+
});
|
|
446
|
+
|
|
447
|
+
it('should abort if the hook returns a non-zero exit code', async function () {
|
|
448
|
+
mock({
|
|
449
|
+
bump: 'minor',
|
|
450
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
451
|
+
});
|
|
452
|
+
|
|
453
|
+
await expect(
|
|
454
|
+
exec({
|
|
455
|
+
scripts: {
|
|
456
|
+
prerelease: "node -e \"throw new Error('prerelease' + ' fail')\"",
|
|
457
|
+
},
|
|
458
|
+
}),
|
|
459
|
+
).rejects.toThrow(/prerelease fail/);
|
|
460
|
+
});
|
|
461
|
+
});
|
|
462
|
+
|
|
463
|
+
describe('prebump hook', function () {
|
|
464
|
+
it('should allow prebump hook to return an alternate version #', async function () {
|
|
465
|
+
mock({
|
|
466
|
+
bump: 'minor',
|
|
467
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
await exec({
|
|
471
|
+
scripts: {
|
|
472
|
+
prebump: 'node -e "console.log(Array.of(9, 9, 9).join(\'.\'))"',
|
|
473
|
+
},
|
|
474
|
+
});
|
|
475
|
+
verifyLogPrinted({ consoleInfoSpy, expectedLog: '9.9.9' });
|
|
476
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '9.9.9' });
|
|
477
|
+
});
|
|
478
|
+
|
|
479
|
+
it('should not allow prebump hook to return a releaseAs command', async function () {
|
|
480
|
+
mock({
|
|
481
|
+
bump: 'minor',
|
|
482
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
483
|
+
});
|
|
484
|
+
|
|
485
|
+
await exec({
|
|
486
|
+
scripts: {
|
|
487
|
+
prebump: 'node -e "console.log(\'major\')"',
|
|
488
|
+
},
|
|
489
|
+
});
|
|
490
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
491
|
+
});
|
|
492
|
+
|
|
493
|
+
it('should allow prebump hook to return an arbitrary string', async function () {
|
|
494
|
+
mock({
|
|
495
|
+
bump: 'minor',
|
|
496
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
497
|
+
});
|
|
498
|
+
|
|
499
|
+
await exec({
|
|
500
|
+
scripts: {
|
|
501
|
+
prebump: 'node -e "console.log(\'Hello World\')"',
|
|
502
|
+
},
|
|
503
|
+
});
|
|
504
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
505
|
+
});
|
|
506
|
+
|
|
507
|
+
it('should allow prebump hook to return a version with build info', async function () {
|
|
508
|
+
mock({
|
|
509
|
+
bump: 'minor',
|
|
510
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
511
|
+
});
|
|
512
|
+
|
|
513
|
+
await exec({
|
|
514
|
+
scripts: {
|
|
515
|
+
prebump: 'node -e "console.log(\'9.9.9-test+build\')"',
|
|
516
|
+
},
|
|
517
|
+
});
|
|
518
|
+
verifyPackageVersion({
|
|
519
|
+
writeFileSyncSpy,
|
|
520
|
+
expectedVersion: '9.9.9-test+build',
|
|
521
|
+
});
|
|
522
|
+
});
|
|
523
|
+
});
|
|
524
|
+
|
|
525
|
+
describe('postbump hook', function () {
|
|
526
|
+
it('should run the postbump hook when provided', async function () {
|
|
527
|
+
mock({
|
|
528
|
+
bump: 'minor',
|
|
529
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
await exec({
|
|
533
|
+
scripts: {
|
|
534
|
+
postbump: "node -e \"console.error('postbump' + ' ran')\"",
|
|
535
|
+
},
|
|
536
|
+
});
|
|
537
|
+
|
|
538
|
+
const expectedLog = 'postbump ran';
|
|
539
|
+
verifyLogPrinted({ consoleInfoSpy: consoleErrorSpy, expectedLog });
|
|
540
|
+
});
|
|
541
|
+
|
|
542
|
+
it('should run the postbump and exit with error when postbump fails', async function () {
|
|
543
|
+
mock({
|
|
544
|
+
bump: 'minor',
|
|
545
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
await expect(
|
|
549
|
+
exec({
|
|
550
|
+
scripts: {
|
|
551
|
+
postbump: "node -e \"throw new Error('postbump' + ' fail')\"",
|
|
552
|
+
},
|
|
553
|
+
}),
|
|
554
|
+
).rejects.toThrow(/postbump fail/);
|
|
555
|
+
});
|
|
556
|
+
});
|
|
557
|
+
|
|
558
|
+
describe('manual-release', function () {
|
|
559
|
+
describe('release-types', function () {
|
|
560
|
+
const regularTypes = ['major', 'minor', 'patch'];
|
|
561
|
+
const nextVersion = { major: '2.0.0', minor: '1.1.0', patch: '1.0.1' };
|
|
562
|
+
|
|
563
|
+
regularTypes.forEach(function (type) {
|
|
564
|
+
it('creates a ' + type + ' release', async function () {
|
|
565
|
+
mock({
|
|
566
|
+
bump: 'patch',
|
|
567
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
568
|
+
});
|
|
569
|
+
await exec('--release-as ' + type);
|
|
570
|
+
verifyPackageVersion({
|
|
571
|
+
writeFileSyncSpy,
|
|
572
|
+
expectedVersion: nextVersion[type],
|
|
573
|
+
});
|
|
574
|
+
});
|
|
575
|
+
});
|
|
576
|
+
|
|
577
|
+
// this is for pre-releases
|
|
578
|
+
regularTypes.forEach(function (type) {
|
|
579
|
+
it('creates a pre' + type + ' release', async function () {
|
|
580
|
+
mock({
|
|
581
|
+
bump: 'patch',
|
|
582
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
583
|
+
});
|
|
584
|
+
await exec('--release-as ' + type + ' --prerelease ' + type);
|
|
585
|
+
verifyPackageVersion({
|
|
586
|
+
writeFileSyncSpy,
|
|
587
|
+
expectedVersion: `${nextVersion[type]}-${type}.0`,
|
|
588
|
+
});
|
|
589
|
+
});
|
|
590
|
+
});
|
|
591
|
+
|
|
592
|
+
it('exits with error if an invalid release type is provided', async function () {
|
|
593
|
+
mock({ bump: 'minor', existingChangelog: '' });
|
|
594
|
+
|
|
595
|
+
await expect(exec('--release-as invalid')).rejects.toThrow(
|
|
596
|
+
/releaseAs must be one of/,
|
|
597
|
+
);
|
|
598
|
+
});
|
|
599
|
+
});
|
|
600
|
+
|
|
601
|
+
describe('release-as-exact', function () {
|
|
602
|
+
it('releases as v100.0.0', async function () {
|
|
603
|
+
mock({
|
|
604
|
+
bump: 'patch',
|
|
605
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
606
|
+
});
|
|
607
|
+
await exec('--release-as v100.0.0');
|
|
608
|
+
verifyPackageVersion({
|
|
609
|
+
writeFileSyncSpy,
|
|
610
|
+
expectedVersion: '100.0.0',
|
|
611
|
+
});
|
|
612
|
+
});
|
|
613
|
+
|
|
614
|
+
it('releases as 200.0.0-amazing', async function () {
|
|
615
|
+
mock({
|
|
616
|
+
bump: 'patch',
|
|
617
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
618
|
+
});
|
|
619
|
+
await exec('--release-as 200.0.0-amazing');
|
|
620
|
+
verifyPackageVersion({
|
|
621
|
+
writeFileSyncSpy,
|
|
622
|
+
expectedVersion: '200.0.0-amazing',
|
|
623
|
+
});
|
|
624
|
+
});
|
|
625
|
+
|
|
626
|
+
it('releases as 100.0.0 with prerelease amazing', async function () {
|
|
627
|
+
mock({
|
|
628
|
+
bump: 'patch',
|
|
629
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
630
|
+
testFiles: [
|
|
631
|
+
{
|
|
632
|
+
path: 'package.json',
|
|
633
|
+
value: {
|
|
634
|
+
version: '1.0.0',
|
|
635
|
+
},
|
|
636
|
+
},
|
|
637
|
+
],
|
|
638
|
+
});
|
|
639
|
+
await exec('--release-as 100.0.0 --prerelease amazing');
|
|
640
|
+
verifyPackageVersion({
|
|
641
|
+
writeFileSyncSpy,
|
|
642
|
+
expectedVersion: '100.0.0-amazing.0',
|
|
643
|
+
});
|
|
644
|
+
});
|
|
645
|
+
|
|
646
|
+
it('release 100.0.0 with prerelease amazing bumps build', async function () {
|
|
647
|
+
mock({
|
|
648
|
+
bump: 'patch',
|
|
649
|
+
fs: {
|
|
650
|
+
'CHANGELOG.md':
|
|
651
|
+
'legacy header format<a name="100.0.0-amazing.0">\n',
|
|
652
|
+
},
|
|
653
|
+
testFiles: [
|
|
654
|
+
{
|
|
655
|
+
path: 'package.json',
|
|
656
|
+
value: {
|
|
657
|
+
version: '100.0.0-amazing.0',
|
|
658
|
+
},
|
|
659
|
+
},
|
|
660
|
+
],
|
|
661
|
+
});
|
|
662
|
+
await exec('--release-as 100.0.0 --prerelease amazing');
|
|
663
|
+
verifyPackageVersion({
|
|
664
|
+
writeFileSyncSpy,
|
|
665
|
+
expectedVersion: '100.0.0-amazing.1',
|
|
666
|
+
});
|
|
667
|
+
});
|
|
668
|
+
|
|
669
|
+
it('release 100.0.0-amazing.0 with prerelease amazing bumps build', async function () {
|
|
670
|
+
mock({
|
|
671
|
+
bump: 'patch',
|
|
672
|
+
fs: {
|
|
673
|
+
'CHANGELOG.md':
|
|
674
|
+
'legacy header format<a name="100.0.0-amazing.0">\n',
|
|
675
|
+
},
|
|
676
|
+
testFiles: [
|
|
677
|
+
{
|
|
678
|
+
path: 'package.json',
|
|
679
|
+
value: {
|
|
680
|
+
version: '100.0.0-amazing.1',
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
});
|
|
685
|
+
await exec('--release-as 100.0.0-amazing.0 --prerelease amazing');
|
|
686
|
+
verifyPackageVersion({
|
|
687
|
+
writeFileSyncSpy,
|
|
688
|
+
expectedVersion: '100.0.0-amazing.2',
|
|
689
|
+
});
|
|
690
|
+
});
|
|
691
|
+
|
|
692
|
+
it('release 100.0.0 with prerelease amazing correctly sets version', async function () {
|
|
693
|
+
mock({
|
|
694
|
+
bump: 'patch',
|
|
695
|
+
fs: {
|
|
696
|
+
'CHANGELOG.md':
|
|
697
|
+
'legacy header format<a name="100.0.0-amazing.0">\n',
|
|
698
|
+
},
|
|
699
|
+
testFiles: [
|
|
700
|
+
{
|
|
701
|
+
path: 'package.json',
|
|
702
|
+
value: {
|
|
703
|
+
version: '99.0.0-amazing.0',
|
|
704
|
+
},
|
|
705
|
+
},
|
|
706
|
+
],
|
|
707
|
+
});
|
|
708
|
+
await exec('--release-as 100.0.0 --prerelease amazing');
|
|
709
|
+
verifyPackageVersion({
|
|
710
|
+
writeFileSyncSpy,
|
|
711
|
+
expectedVersion: '100.0.0-amazing.0',
|
|
712
|
+
});
|
|
713
|
+
});
|
|
714
|
+
|
|
715
|
+
it('release 100.0.0-amazing.0 with prerelease amazing correctly sets version', async function () {
|
|
716
|
+
mock({
|
|
717
|
+
bump: 'patch',
|
|
718
|
+
fs: {
|
|
719
|
+
'CHANGELOG.md':
|
|
720
|
+
'legacy header format<a name="100.0.0-amazing.0">\n',
|
|
721
|
+
},
|
|
722
|
+
testFiles: [
|
|
723
|
+
{
|
|
724
|
+
path: 'package.json',
|
|
725
|
+
value: {
|
|
726
|
+
version: '99.0.0-amazing.0',
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
],
|
|
730
|
+
});
|
|
731
|
+
await exec('--release-as 100.0.0-amazing.0 --prerelease amazing');
|
|
732
|
+
verifyPackageVersion({
|
|
733
|
+
writeFileSyncSpy,
|
|
734
|
+
expectedVersion: '100.0.0-amazing.0',
|
|
735
|
+
});
|
|
736
|
+
});
|
|
737
|
+
|
|
738
|
+
it('release 100.0.0-amazing.0 with prerelease amazing retains build metadata', async function () {
|
|
739
|
+
mock({
|
|
740
|
+
bump: 'patch',
|
|
741
|
+
fs: {
|
|
742
|
+
'CHANGELOG.md':
|
|
743
|
+
'legacy header format<a name="100.0.0-amazing.0">\n',
|
|
744
|
+
},
|
|
745
|
+
testFiles: [
|
|
746
|
+
{
|
|
747
|
+
path: 'package.json',
|
|
748
|
+
value: {
|
|
749
|
+
version: '100.0.0-amazing.0',
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
],
|
|
753
|
+
});
|
|
754
|
+
await exec(
|
|
755
|
+
'--release-as 100.0.0-amazing.0+build.1234 --prerelease amazing',
|
|
756
|
+
);
|
|
757
|
+
verifyPackageVersion({
|
|
758
|
+
writeFileSyncSpy,
|
|
759
|
+
expectedVersion: '100.0.0-amazing.1+build.1234',
|
|
760
|
+
});
|
|
761
|
+
});
|
|
762
|
+
|
|
763
|
+
it('release 100.0.0-amazing.3 with prerelease amazing correctly sets prerelease version', async function () {
|
|
764
|
+
mock({
|
|
765
|
+
bump: 'patch',
|
|
766
|
+
fs: {
|
|
767
|
+
'CHANGELOG.md':
|
|
768
|
+
'legacy header format<a name="100.0.0-amazing.0">\n',
|
|
769
|
+
},
|
|
770
|
+
testFiles: [
|
|
771
|
+
{
|
|
772
|
+
path: 'package.json',
|
|
773
|
+
value: {
|
|
774
|
+
version: '100.0.0-amazing.0',
|
|
775
|
+
},
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
});
|
|
779
|
+
await exec('--release-as 100.0.0-amazing.3 --prerelease amazing');
|
|
780
|
+
verifyPackageVersion({
|
|
781
|
+
writeFileSyncSpy,
|
|
782
|
+
expectedVersion: '100.0.0-amazing.3',
|
|
783
|
+
});
|
|
784
|
+
});
|
|
785
|
+
});
|
|
786
|
+
|
|
787
|
+
it('creates a prerelease with a new minor version after two prerelease patches', async function () {
|
|
788
|
+
let releaseType = 'patch';
|
|
789
|
+
mock({
|
|
790
|
+
bump: (_, __, cb) => cb(null, { releaseType }),
|
|
791
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
792
|
+
});
|
|
793
|
+
|
|
794
|
+
let version = '1.0.1-dev.0';
|
|
795
|
+
await exec('--release-as patch --prerelease dev');
|
|
796
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: version });
|
|
797
|
+
|
|
798
|
+
unmock();
|
|
799
|
+
mock({
|
|
800
|
+
bump: (_, __, cb) => cb(null, { releaseType }),
|
|
801
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
802
|
+
testFiles: [{ path: 'package.json', value: { version } }],
|
|
803
|
+
});
|
|
804
|
+
|
|
805
|
+
version = '1.0.1-dev.1';
|
|
806
|
+
await exec('--prerelease dev');
|
|
807
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: version });
|
|
808
|
+
|
|
809
|
+
releaseType = 'minor';
|
|
810
|
+
unmock();
|
|
811
|
+
mock({
|
|
812
|
+
bump: (_, __, cb) => cb(null, { releaseType }),
|
|
813
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
814
|
+
testFiles: [{ path: 'package.json', value: { version } }],
|
|
815
|
+
});
|
|
816
|
+
|
|
817
|
+
version = '1.1.0-dev.0';
|
|
818
|
+
await exec('--release-as minor --prerelease dev');
|
|
819
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: version });
|
|
820
|
+
|
|
821
|
+
unmock();
|
|
822
|
+
mock({
|
|
823
|
+
bump: (_, __, cb) => cb(null, { releaseType }),
|
|
824
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
825
|
+
testFiles: [{ path: 'package.json', value: { version } }],
|
|
826
|
+
});
|
|
827
|
+
|
|
828
|
+
version = '1.1.0-dev.1';
|
|
829
|
+
await exec('--release-as minor --prerelease dev');
|
|
830
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: version });
|
|
831
|
+
|
|
832
|
+
unmock();
|
|
833
|
+
mock({
|
|
834
|
+
bump: (_, __, cb) => cb(null, { releaseType }),
|
|
835
|
+
existingChangelog: 'legacy header format<a name="1.0.0">\n',
|
|
836
|
+
testFiles: [{ path: 'package.json', value: { version } }],
|
|
837
|
+
});
|
|
838
|
+
|
|
839
|
+
version = '1.1.0-dev.2';
|
|
840
|
+
await exec('--prerelease dev');
|
|
841
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: version });
|
|
842
|
+
});
|
|
843
|
+
|
|
844
|
+
it('exits with error if an invalid release version is provided', async function () {
|
|
845
|
+
mock({ bump: 'minor', existingChangelog: '' });
|
|
846
|
+
|
|
847
|
+
await expect(exec('--release-as 10.2')).rejects.toThrow(
|
|
848
|
+
/releaseAs must be one of/,
|
|
849
|
+
);
|
|
850
|
+
});
|
|
851
|
+
|
|
852
|
+
it('exits with error if release version conflicts with prerelease', async function () {
|
|
853
|
+
mock({ bump: 'minor', existingChangelog: '' });
|
|
854
|
+
|
|
855
|
+
await expect(
|
|
856
|
+
exec('--release-as 1.2.3-amazing.2 --prerelease awesome'),
|
|
857
|
+
).rejects.toThrow(
|
|
858
|
+
/releaseAs and prerelease have conflicting prerelease identifiers/,
|
|
859
|
+
);
|
|
860
|
+
});
|
|
861
|
+
});
|
|
862
|
+
|
|
863
|
+
it('appends line feed at end of package.json', async function () {
|
|
864
|
+
mock({ bump: 'patch' });
|
|
865
|
+
await exec();
|
|
866
|
+
verifyFileContentEquals({
|
|
867
|
+
writeFileSyncSpy,
|
|
868
|
+
content: '{\n "version": "1.0.1"\n}\n',
|
|
869
|
+
});
|
|
870
|
+
});
|
|
871
|
+
|
|
872
|
+
it('preserves indentation of tabs in package.json', async function () {
|
|
873
|
+
mock({
|
|
874
|
+
bump: 'patch',
|
|
875
|
+
testFiles: [
|
|
876
|
+
{ path: 'package.json', value: '{\n\t"version": "1.0.0"\n}\n' },
|
|
877
|
+
],
|
|
878
|
+
});
|
|
879
|
+
await exec();
|
|
880
|
+
// TODO: a) not bumping to 1.0.1, b) need to check how jest might handle tabbing etc
|
|
881
|
+
verifyFileContentEquals({
|
|
882
|
+
writeFileSyncSpy,
|
|
883
|
+
content: '{\n\t"version": "1.0.1"\n}\n',
|
|
884
|
+
});
|
|
885
|
+
});
|
|
886
|
+
|
|
887
|
+
it('preserves indentation of spaces in package.json', async function () {
|
|
888
|
+
mock({
|
|
889
|
+
bump: 'patch',
|
|
890
|
+
testFiles: [
|
|
891
|
+
{ path: 'package.json', value: '{\n "version": "1.0.0"\n}\n' },
|
|
892
|
+
],
|
|
893
|
+
});
|
|
894
|
+
await exec();
|
|
895
|
+
verifyFileContentEquals({
|
|
896
|
+
writeFileSyncSpy,
|
|
897
|
+
content: '{\n "version": "1.0.1"\n}\n',
|
|
898
|
+
});
|
|
899
|
+
});
|
|
900
|
+
|
|
901
|
+
it('preserves carriage return + line feed in package.json', async function () {
|
|
902
|
+
mock({
|
|
903
|
+
bump: 'patch',
|
|
904
|
+
testFiles: [
|
|
905
|
+
{ path: 'package.json', value: '{\r\n "version": "1.0.0"\r\n}\r\n' },
|
|
906
|
+
],
|
|
907
|
+
});
|
|
908
|
+
await exec();
|
|
909
|
+
verifyFileContentEquals({
|
|
910
|
+
writeFileSyncSpy,
|
|
911
|
+
content: '{\r\n "version": "1.0.1"\r\n}\r\n',
|
|
912
|
+
});
|
|
913
|
+
});
|
|
914
|
+
|
|
915
|
+
it('does not print output when the --silent flag is passed', async function () {
|
|
916
|
+
mock();
|
|
917
|
+
await exec('--silent');
|
|
918
|
+
expect(consoleErrorSpy).not.toHaveBeenCalled();
|
|
919
|
+
expect(consoleInfoSpy).not.toHaveBeenCalled();
|
|
920
|
+
});
|
|
921
|
+
|
|
922
|
+
it('bumps using actual recommendedBump when there are no semver relevant changes and --noBumpWhenEmptyChanges flag is not set', async function () {
|
|
923
|
+
mock({
|
|
924
|
+
bump: jest.requireActual('conventional-recommended-bump'),
|
|
925
|
+
changelog: ['chore release\n'],
|
|
926
|
+
tags: ['v1.0.0'],
|
|
927
|
+
commits: ['chore: update deps\n\n-hash-\nabc123\n'],
|
|
928
|
+
});
|
|
929
|
+
|
|
930
|
+
await exec();
|
|
931
|
+
|
|
932
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.0.1' });
|
|
933
|
+
});
|
|
934
|
+
|
|
935
|
+
it('bumps using actual recommendedBump when there are semver relevant changes and --noBumpWhenEmptyChanges flag is not set', async function () {
|
|
936
|
+
mock({
|
|
937
|
+
bump: jest.requireActual('conventional-recommended-bump'),
|
|
938
|
+
changelog: ['feat release\n'],
|
|
939
|
+
tags: ['v1.0.0'],
|
|
940
|
+
commits: ['feat: shiny new stuff\n\n-hash-\nabc123\n'],
|
|
941
|
+
});
|
|
942
|
+
|
|
943
|
+
await exec();
|
|
944
|
+
|
|
945
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
946
|
+
});
|
|
947
|
+
|
|
948
|
+
it('does not bump when there are no semver relevant changes and --noBumpWhenEmptyChanges flag is set', async function () {
|
|
949
|
+
mock({
|
|
950
|
+
bump: jest.requireActual('conventional-recommended-bump'),
|
|
951
|
+
changelog: ['chore release\n'],
|
|
952
|
+
tags: ['v1.0.0'],
|
|
953
|
+
commits: ['chore: update deps\n\n-hash-\nabc123\n'],
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
await exec('--noBumpWhenEmptyChanges');
|
|
957
|
+
|
|
958
|
+
expect(writeFileSyncSpy).not.toHaveBeenCalled();
|
|
959
|
+
});
|
|
960
|
+
|
|
961
|
+
it('bumps when there are semver relevant changes and --noBumpWhenEmptyChanges flag is set', async function () {
|
|
962
|
+
mock({
|
|
963
|
+
bump: jest.requireActual('conventional-recommended-bump'),
|
|
964
|
+
changelog: ['feat release\n'],
|
|
965
|
+
tags: ['v1.0.0'],
|
|
966
|
+
commits: ['feat: shiny new stuff\n\n-hash-\nabc123\n'],
|
|
967
|
+
});
|
|
968
|
+
|
|
969
|
+
await exec('--noBumpWhenEmptyChanges');
|
|
970
|
+
|
|
971
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
972
|
+
});
|
|
973
|
+
});
|
|
974
|
+
|
|
975
|
+
describe('commit-and-tag-version', function () {
|
|
976
|
+
afterEach(unmock);
|
|
977
|
+
|
|
978
|
+
it('should exit on bump error', async function () {
|
|
979
|
+
mock({ bump: new Error('bump err') });
|
|
980
|
+
|
|
981
|
+
await expect(exec()).rejects.toThrow(/bump err/);
|
|
982
|
+
});
|
|
983
|
+
|
|
984
|
+
it('should exit on changelog error', async function () {
|
|
985
|
+
mock({ bump: 'minor', changelog: new Error('changelog err') });
|
|
986
|
+
|
|
987
|
+
await expect(exec()).rejects.toThrow(/changelog err/);
|
|
988
|
+
});
|
|
989
|
+
|
|
990
|
+
it('should exit with error without a package file to bump', async function () {
|
|
991
|
+
mock({ bump: 'patch', testFiles: null });
|
|
992
|
+
|
|
993
|
+
await expect(exec({ gitTagFallback: false })).rejects.toThrow(
|
|
994
|
+
'no package file found',
|
|
995
|
+
);
|
|
996
|
+
});
|
|
997
|
+
|
|
998
|
+
it('bumps version # in bower.json', async function () {
|
|
999
|
+
mock({
|
|
1000
|
+
bump: 'minor',
|
|
1001
|
+
testFiles: [{ path: 'bower.json', value: { version: '1.0.0' } }],
|
|
1002
|
+
tags: ['v1.0.0'],
|
|
1003
|
+
});
|
|
1004
|
+
await exec();
|
|
1005
|
+
|
|
1006
|
+
verifyPackageVersion({
|
|
1007
|
+
writeFileSyncSpy,
|
|
1008
|
+
expectedVersion: '1.1.0',
|
|
1009
|
+
filename: 'bower.json',
|
|
1010
|
+
});
|
|
1011
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
1012
|
+
});
|
|
1013
|
+
|
|
1014
|
+
it('bumps version # in manifest.json', async function () {
|
|
1015
|
+
mock({
|
|
1016
|
+
bump: 'minor',
|
|
1017
|
+
testFiles: [{ path: 'manifest.json', value: { version: '1.0.0' } }],
|
|
1018
|
+
tags: ['v1.0.0'],
|
|
1019
|
+
});
|
|
1020
|
+
await exec();
|
|
1021
|
+
|
|
1022
|
+
verifyPackageVersion({
|
|
1023
|
+
writeFileSyncSpy,
|
|
1024
|
+
expectedVersion: '1.1.0',
|
|
1025
|
+
filename: 'manifest.json',
|
|
1026
|
+
});
|
|
1027
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
1028
|
+
});
|
|
1029
|
+
|
|
1030
|
+
describe('custom `bumpFiles` support', function () {
|
|
1031
|
+
afterEach(unmock);
|
|
1032
|
+
|
|
1033
|
+
it('mix.exs + version.txt', async function () {
|
|
1034
|
+
mock({
|
|
1035
|
+
bump: 'minor',
|
|
1036
|
+
realTestFiles: [
|
|
1037
|
+
{ filename: 'mix.exs', path: './test/mocks/mix.exs' },
|
|
1038
|
+
{ filename: 'version.txt', path: './test/mocks/version.txt' },
|
|
1039
|
+
],
|
|
1040
|
+
tags: ['v1.0.0'],
|
|
1041
|
+
});
|
|
1042
|
+
|
|
1043
|
+
await exec({
|
|
1044
|
+
bumpFiles: [
|
|
1045
|
+
'version.txt',
|
|
1046
|
+
{
|
|
1047
|
+
filename: 'mix.exs',
|
|
1048
|
+
updater: './test/mocks/updater/customer-updater',
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
});
|
|
1052
|
+
|
|
1053
|
+
verifyPackageVersion({
|
|
1054
|
+
writeFileSyncSpy,
|
|
1055
|
+
expectedVersion: '1.1.0',
|
|
1056
|
+
filename: 'mix.exs',
|
|
1057
|
+
asString: true,
|
|
1058
|
+
});
|
|
1059
|
+
|
|
1060
|
+
verifyPackageVersion({
|
|
1061
|
+
writeFileSyncSpy,
|
|
1062
|
+
expectedVersion: '1.1.0',
|
|
1063
|
+
filename: 'version.txt',
|
|
1064
|
+
asString: true,
|
|
1065
|
+
});
|
|
1066
|
+
});
|
|
1067
|
+
|
|
1068
|
+
it('bumps a custom `plain-text` file', async function () {
|
|
1069
|
+
mock({
|
|
1070
|
+
bump: 'minor',
|
|
1071
|
+
realTestFiles: [
|
|
1072
|
+
{
|
|
1073
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1074
|
+
path: './test/mocks/VERSION-1.0.0.txt',
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
});
|
|
1078
|
+
await exec({
|
|
1079
|
+
bumpFiles: [{ filename: 'VERSION_TRACKER.txt', type: 'plain-text' }],
|
|
1080
|
+
});
|
|
1081
|
+
verifyPackageVersion({
|
|
1082
|
+
writeFileSyncSpy,
|
|
1083
|
+
expectedVersion: '1.1.0',
|
|
1084
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1085
|
+
asString: true,
|
|
1086
|
+
});
|
|
1087
|
+
});
|
|
1088
|
+
|
|
1089
|
+
it('displays the new version from custom bumper with --dry-run', async function () {
|
|
1090
|
+
mock({
|
|
1091
|
+
bump: 'minor',
|
|
1092
|
+
realTestFiles: [
|
|
1093
|
+
{
|
|
1094
|
+
filename: 'increment-version.txt',
|
|
1095
|
+
path: './test/mocks/increment-version.txt',
|
|
1096
|
+
},
|
|
1097
|
+
],
|
|
1098
|
+
});
|
|
1099
|
+
|
|
1100
|
+
const origInfo = console.info;
|
|
1101
|
+
const capturedOutput = [];
|
|
1102
|
+
console.info = (...args) => {
|
|
1103
|
+
capturedOutput.push(...args);
|
|
1104
|
+
origInfo(...args);
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
try {
|
|
1108
|
+
await exec({
|
|
1109
|
+
bumpFiles: [
|
|
1110
|
+
{
|
|
1111
|
+
filename: 'increment-version.txt',
|
|
1112
|
+
updater: './test/mocks/updater/increment-updater',
|
|
1113
|
+
},
|
|
1114
|
+
],
|
|
1115
|
+
dryRun: true,
|
|
1116
|
+
});
|
|
1117
|
+
|
|
1118
|
+
const logOutput = capturedOutput.join(' ');
|
|
1119
|
+
expect(stripAnsi(logOutput)).toContain(
|
|
1120
|
+
'bumping version in increment-version.txt from 1 to 2',
|
|
1121
|
+
);
|
|
1122
|
+
} finally {
|
|
1123
|
+
console.info = origInfo;
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
});
|
|
1127
|
+
|
|
1128
|
+
describe('custom `packageFiles` support', function () {
|
|
1129
|
+
afterEach(unmock);
|
|
1130
|
+
|
|
1131
|
+
it('reads and writes to a custom `plain-text` file', async function () {
|
|
1132
|
+
mock({
|
|
1133
|
+
bump: 'minor',
|
|
1134
|
+
realTestFiles: [
|
|
1135
|
+
{
|
|
1136
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1137
|
+
path: './test/mocks/VERSION-6.3.1.txt',
|
|
1138
|
+
},
|
|
1139
|
+
],
|
|
1140
|
+
});
|
|
1141
|
+
|
|
1142
|
+
await exec({
|
|
1143
|
+
packageFiles: [
|
|
1144
|
+
{ filename: 'VERSION_TRACKER.txt', type: 'plain-text' },
|
|
1145
|
+
],
|
|
1146
|
+
bumpFiles: [{ filename: 'VERSION_TRACKER.txt', type: 'plain-text' }],
|
|
1147
|
+
});
|
|
1148
|
+
|
|
1149
|
+
verifyPackageVersion({
|
|
1150
|
+
writeFileSyncSpy,
|
|
1151
|
+
expectedVersion: '6.4.0',
|
|
1152
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1153
|
+
asString: true,
|
|
1154
|
+
});
|
|
1155
|
+
});
|
|
1156
|
+
|
|
1157
|
+
it('allows same object to be used in packageFiles and bumpFiles', async function () {
|
|
1158
|
+
mock({
|
|
1159
|
+
bump: 'minor',
|
|
1160
|
+
realTestFiles: [
|
|
1161
|
+
{
|
|
1162
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1163
|
+
path: './test/mocks/VERSION-6.3.1.txt',
|
|
1164
|
+
},
|
|
1165
|
+
],
|
|
1166
|
+
});
|
|
1167
|
+
const origWarn = console.warn;
|
|
1168
|
+
|
|
1169
|
+
console.warn = () => {
|
|
1170
|
+
throw new Error('console.warn should not be called');
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
const filedesc = {
|
|
1174
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1175
|
+
type: 'plain-text',
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
try {
|
|
1179
|
+
await exec({ packageFiles: [filedesc], bumpFiles: [filedesc] });
|
|
1180
|
+
verifyPackageVersion({
|
|
1181
|
+
writeFileSyncSpy,
|
|
1182
|
+
expectedVersion: '6.4.0',
|
|
1183
|
+
filename: 'VERSION_TRACKER.txt',
|
|
1184
|
+
asString: true,
|
|
1185
|
+
});
|
|
1186
|
+
} finally {
|
|
1187
|
+
console.warn = origWarn;
|
|
1188
|
+
}
|
|
1189
|
+
});
|
|
1190
|
+
|
|
1191
|
+
it('bumps version in Python `pyproject.toml` file', async function () {
|
|
1192
|
+
const expected = fs.readFileSync(
|
|
1193
|
+
'./test/mocks/pyproject-1.1.0.toml',
|
|
1194
|
+
'utf-8',
|
|
1195
|
+
);
|
|
1196
|
+
|
|
1197
|
+
const filename = 'python.toml';
|
|
1198
|
+
mock({
|
|
1199
|
+
bump: 'minor',
|
|
1200
|
+
realTestFiles: [
|
|
1201
|
+
{
|
|
1202
|
+
filename,
|
|
1203
|
+
path: './test/mocks/pyproject-1.0.0.toml',
|
|
1204
|
+
},
|
|
1205
|
+
],
|
|
1206
|
+
});
|
|
1207
|
+
|
|
1208
|
+
await exec({
|
|
1209
|
+
packageFiles: [{ filename, type: 'python' }],
|
|
1210
|
+
bumpFiles: [{ filename, type: 'python' }],
|
|
1211
|
+
});
|
|
1212
|
+
|
|
1213
|
+
// filePath is the first arg passed to writeFileSync
|
|
1214
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1215
|
+
writeFileSyncSpy,
|
|
1216
|
+
filename,
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1220
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1224
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1225
|
+
});
|
|
1226
|
+
});
|
|
1227
|
+
|
|
1228
|
+
it('`packageFiles` are bumped along with `bumpFiles` defaults [commit-and-tag-version#533]', async function () {
|
|
1229
|
+
mock({
|
|
1230
|
+
bump: 'minor',
|
|
1231
|
+
testFiles: [
|
|
1232
|
+
{
|
|
1233
|
+
path: '.gitignore',
|
|
1234
|
+
value: '',
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
path: 'package-lock.json',
|
|
1238
|
+
value: { version: '1.0.0' },
|
|
1239
|
+
},
|
|
1240
|
+
],
|
|
1241
|
+
realTestFiles: [
|
|
1242
|
+
{
|
|
1243
|
+
filename: 'manifest.json',
|
|
1244
|
+
path: './test/mocks/manifest-6.3.1.json',
|
|
1245
|
+
},
|
|
1246
|
+
],
|
|
1247
|
+
tags: ['v1.0.0'],
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
await exec({
|
|
1251
|
+
packageFiles: [
|
|
1252
|
+
{
|
|
1253
|
+
filename: 'manifest.json',
|
|
1254
|
+
type: 'json',
|
|
1255
|
+
},
|
|
1256
|
+
],
|
|
1257
|
+
});
|
|
1258
|
+
|
|
1259
|
+
verifyPackageVersion({
|
|
1260
|
+
writeFileSyncSpy,
|
|
1261
|
+
expectedVersion: '6.4.0',
|
|
1262
|
+
filename: 'package.json',
|
|
1263
|
+
});
|
|
1264
|
+
verifyPackageVersion({
|
|
1265
|
+
writeFileSyncSpy,
|
|
1266
|
+
expectedVersion: '6.4.0',
|
|
1267
|
+
filename: 'package-lock.json',
|
|
1268
|
+
});
|
|
1269
|
+
verifyPackageVersion({
|
|
1270
|
+
writeFileSyncSpy,
|
|
1271
|
+
expectedVersion: '6.4.0',
|
|
1272
|
+
filename: 'manifest.json',
|
|
1273
|
+
});
|
|
1274
|
+
});
|
|
1275
|
+
|
|
1276
|
+
it('bumps version in OpenAPI `openapi.yaml` file with CRLF Line Endings', async function () {
|
|
1277
|
+
const expected = fs.readFileSync(
|
|
1278
|
+
'./test/mocks/openapi-1.3.0-crlf.yaml',
|
|
1279
|
+
'utf-8',
|
|
1280
|
+
);
|
|
1281
|
+
const filename = 'openapi.yaml';
|
|
1282
|
+
mock({
|
|
1283
|
+
bump: 'minor',
|
|
1284
|
+
realTestFiles: [
|
|
1285
|
+
{
|
|
1286
|
+
filename,
|
|
1287
|
+
path: './test/mocks/openapi-1.2.3-crlf.yaml',
|
|
1288
|
+
},
|
|
1289
|
+
],
|
|
1290
|
+
});
|
|
1291
|
+
await exec({
|
|
1292
|
+
packageFiles: [{ filename, type: 'openapi' }],
|
|
1293
|
+
bumpFiles: [{ filename, type: 'openapi' }],
|
|
1294
|
+
});
|
|
1295
|
+
|
|
1296
|
+
// filePath is the first arg passed to writeFileSync
|
|
1297
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1298
|
+
writeFileSyncSpy,
|
|
1299
|
+
filename,
|
|
1300
|
+
});
|
|
1301
|
+
|
|
1302
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1303
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1307
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1308
|
+
});
|
|
1309
|
+
|
|
1310
|
+
it('bumps version in OpenAPI `openapi.yaml` file with LF Line Endings', async function () {
|
|
1311
|
+
const expected = fs.readFileSync(
|
|
1312
|
+
'./test/mocks/openapi-1.3.0-lf.yaml',
|
|
1313
|
+
'utf-8',
|
|
1314
|
+
);
|
|
1315
|
+
const filename = 'openapi.yaml';
|
|
1316
|
+
mock({
|
|
1317
|
+
bump: 'minor',
|
|
1318
|
+
realTestFiles: [
|
|
1319
|
+
{
|
|
1320
|
+
filename,
|
|
1321
|
+
path: './test/mocks/openapi-1.2.3-lf.yaml',
|
|
1322
|
+
},
|
|
1323
|
+
],
|
|
1324
|
+
});
|
|
1325
|
+
await exec({
|
|
1326
|
+
packageFiles: [{ filename, type: 'openapi' }],
|
|
1327
|
+
bumpFiles: [{ filename, type: 'openapi' }],
|
|
1328
|
+
});
|
|
1329
|
+
|
|
1330
|
+
// filePath is the first arg passed to writeFileSync
|
|
1331
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1332
|
+
writeFileSyncSpy,
|
|
1333
|
+
filename,
|
|
1334
|
+
});
|
|
1335
|
+
|
|
1336
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1337
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1341
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1342
|
+
});
|
|
1343
|
+
|
|
1344
|
+
it('bumps version in Maven `pom.xml` file with CRLF Line Endings', async function () {
|
|
1345
|
+
const expected = fs.readFileSync(
|
|
1346
|
+
'./test/mocks/pom-6.4.0-crlf.xml',
|
|
1347
|
+
'utf-8',
|
|
1348
|
+
);
|
|
1349
|
+
const filename = 'pom.xml';
|
|
1350
|
+
mock({
|
|
1351
|
+
bump: 'minor',
|
|
1352
|
+
realTestFiles: [
|
|
1353
|
+
{
|
|
1354
|
+
filename,
|
|
1355
|
+
path: './test/mocks/pom-6.3.1-crlf.xml',
|
|
1356
|
+
},
|
|
1357
|
+
],
|
|
1358
|
+
});
|
|
1359
|
+
await exec({
|
|
1360
|
+
packageFiles: [{ filename, type: 'maven' }],
|
|
1361
|
+
bumpFiles: [{ filename, type: 'maven' }],
|
|
1362
|
+
});
|
|
1363
|
+
|
|
1364
|
+
// filePath is the first arg passed to writeFileSync
|
|
1365
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1366
|
+
writeFileSyncSpy,
|
|
1367
|
+
filename,
|
|
1368
|
+
});
|
|
1369
|
+
|
|
1370
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1371
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1375
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1376
|
+
});
|
|
1377
|
+
|
|
1378
|
+
it('bumps version in Maven `pom.xml` file with LF Line Endings', async function () {
|
|
1379
|
+
const expected = fs.readFileSync(
|
|
1380
|
+
'./test/mocks/pom-6.4.0-lf.xml',
|
|
1381
|
+
'utf-8',
|
|
1382
|
+
);
|
|
1383
|
+
const filename = 'pom.xml';
|
|
1384
|
+
mock({
|
|
1385
|
+
bump: 'minor',
|
|
1386
|
+
realTestFiles: [
|
|
1387
|
+
{
|
|
1388
|
+
filename,
|
|
1389
|
+
path: './test/mocks/pom-6.3.1-lf.xml',
|
|
1390
|
+
},
|
|
1391
|
+
],
|
|
1392
|
+
});
|
|
1393
|
+
await exec({
|
|
1394
|
+
packageFiles: [{ filename, type: 'maven' }],
|
|
1395
|
+
bumpFiles: [{ filename, type: 'maven' }],
|
|
1396
|
+
});
|
|
1397
|
+
|
|
1398
|
+
// filePath is the first arg passed to writeFileSync
|
|
1399
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1400
|
+
writeFileSyncSpy,
|
|
1401
|
+
filename,
|
|
1402
|
+
});
|
|
1403
|
+
|
|
1404
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1405
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1409
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1410
|
+
});
|
|
1411
|
+
|
|
1412
|
+
it('bumps version in Gradle `build.gradle.kts` file', async function () {
|
|
1413
|
+
const expected = fs.readFileSync(
|
|
1414
|
+
'./test/mocks/build-6.4.0.gradle.kts',
|
|
1415
|
+
'utf-8',
|
|
1416
|
+
);
|
|
1417
|
+
|
|
1418
|
+
const filename = 'build.gradle.kts';
|
|
1419
|
+
mock({
|
|
1420
|
+
bump: 'minor',
|
|
1421
|
+
realTestFiles: [
|
|
1422
|
+
{
|
|
1423
|
+
filename,
|
|
1424
|
+
path: './test/mocks/build-6.3.1.gradle.kts',
|
|
1425
|
+
},
|
|
1426
|
+
],
|
|
1427
|
+
});
|
|
1428
|
+
|
|
1429
|
+
await exec({
|
|
1430
|
+
packageFiles: [{ filename, type: 'gradle' }],
|
|
1431
|
+
bumpFiles: [{ filename, type: 'gradle' }],
|
|
1432
|
+
});
|
|
1433
|
+
|
|
1434
|
+
// filePath is the first arg passed to writeFileSync
|
|
1435
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1436
|
+
writeFileSyncSpy,
|
|
1437
|
+
filename,
|
|
1438
|
+
});
|
|
1439
|
+
|
|
1440
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1441
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1445
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1446
|
+
});
|
|
1447
|
+
|
|
1448
|
+
it('bumps to prerelease version in Gradle `build.gradle.kts` file', async function () {
|
|
1449
|
+
const expected = fs.readFileSync(
|
|
1450
|
+
'./test/mocks/build-6.4.0-snapshot.gradle.kts',
|
|
1451
|
+
'utf-8',
|
|
1452
|
+
);
|
|
1453
|
+
|
|
1454
|
+
const filename = 'build.gradle.kts';
|
|
1455
|
+
mock({
|
|
1456
|
+
bump: 'minor',
|
|
1457
|
+
realTestFiles: [
|
|
1458
|
+
{
|
|
1459
|
+
filename,
|
|
1460
|
+
path: './test/mocks/build-6.3.1.gradle.kts',
|
|
1461
|
+
},
|
|
1462
|
+
],
|
|
1463
|
+
});
|
|
1464
|
+
|
|
1465
|
+
await exec({
|
|
1466
|
+
prerelease: 'SNAPSHOT',
|
|
1467
|
+
packageFiles: [{ filename, type: 'gradle' }],
|
|
1468
|
+
bumpFiles: [{ filename, type: 'gradle' }],
|
|
1469
|
+
});
|
|
1470
|
+
|
|
1471
|
+
// filePath is the first arg passed to writeFileSync
|
|
1472
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1473
|
+
writeFileSyncSpy,
|
|
1474
|
+
filename,
|
|
1475
|
+
});
|
|
1476
|
+
|
|
1477
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1478
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1482
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1483
|
+
});
|
|
1484
|
+
|
|
1485
|
+
it('bumps version in .NET `Project.csproj` file', async function () {
|
|
1486
|
+
const expected = fs.readFileSync(
|
|
1487
|
+
'./test/mocks/Project-6.4.0.csproj',
|
|
1488
|
+
'utf-8',
|
|
1489
|
+
);
|
|
1490
|
+
const filename = 'Project.csproj';
|
|
1491
|
+
mock({
|
|
1492
|
+
bump: 'minor',
|
|
1493
|
+
realTestFiles: [
|
|
1494
|
+
{
|
|
1495
|
+
filename,
|
|
1496
|
+
path: './test/mocks/Project-6.3.1.csproj',
|
|
1497
|
+
},
|
|
1498
|
+
],
|
|
1499
|
+
});
|
|
1500
|
+
await exec({
|
|
1501
|
+
packageFiles: [{ filename, type: 'csproj' }],
|
|
1502
|
+
bumpFiles: [{ filename, type: 'csproj' }],
|
|
1503
|
+
});
|
|
1504
|
+
|
|
1505
|
+
// filePath is the first arg passed to writeFileSync
|
|
1506
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1507
|
+
writeFileSyncSpy,
|
|
1508
|
+
filename,
|
|
1509
|
+
});
|
|
1510
|
+
|
|
1511
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1512
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1516
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1517
|
+
});
|
|
1518
|
+
|
|
1519
|
+
it('bumps version # in npm-shrinkwrap.json', async function () {
|
|
1520
|
+
mock({
|
|
1521
|
+
bump: 'minor',
|
|
1522
|
+
testFiles: [
|
|
1523
|
+
{
|
|
1524
|
+
path: 'npm-shrinkwrap.json',
|
|
1525
|
+
value: { version: '1.0.0' },
|
|
1526
|
+
},
|
|
1527
|
+
],
|
|
1528
|
+
tags: ['v1.0.0'],
|
|
1529
|
+
});
|
|
1530
|
+
|
|
1531
|
+
await exec();
|
|
1532
|
+
|
|
1533
|
+
verifyPackageVersion({
|
|
1534
|
+
writeFileSyncSpy,
|
|
1535
|
+
expectedVersion: '1.1.0',
|
|
1536
|
+
filename: 'npm-shrinkwrap.json',
|
|
1537
|
+
});
|
|
1538
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
1539
|
+
});
|
|
1540
|
+
|
|
1541
|
+
it('bumps version # in package-lock.json', async function () {
|
|
1542
|
+
mock({
|
|
1543
|
+
bump: 'minor',
|
|
1544
|
+
testFiles: [
|
|
1545
|
+
{
|
|
1546
|
+
path: '.gitignore',
|
|
1547
|
+
value: '',
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
path: 'package-lock.json',
|
|
1551
|
+
value: { version: '1.0.0' },
|
|
1552
|
+
},
|
|
1553
|
+
],
|
|
1554
|
+
tags: ['v1.0.0'],
|
|
1555
|
+
});
|
|
1556
|
+
await exec();
|
|
1557
|
+
|
|
1558
|
+
verifyPackageVersion({
|
|
1559
|
+
writeFileSyncSpy,
|
|
1560
|
+
expectedVersion: '1.1.0',
|
|
1561
|
+
filename: 'package-lock.json',
|
|
1562
|
+
});
|
|
1563
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
1564
|
+
});
|
|
1565
|
+
|
|
1566
|
+
it('bumps version in Dart `pubspec.yaml` file', async function () {
|
|
1567
|
+
const expected = fs.readFileSync(
|
|
1568
|
+
'./test/mocks/pubspec-6.4.0.yaml',
|
|
1569
|
+
'utf-8',
|
|
1570
|
+
);
|
|
1571
|
+
|
|
1572
|
+
const filename = 'pubspec.yaml';
|
|
1573
|
+
mock({
|
|
1574
|
+
bump: 'minor',
|
|
1575
|
+
realTestFiles: [
|
|
1576
|
+
{
|
|
1577
|
+
filename,
|
|
1578
|
+
path: './test/mocks/pubspec-6.3.1.yaml',
|
|
1579
|
+
},
|
|
1580
|
+
],
|
|
1581
|
+
});
|
|
1582
|
+
|
|
1583
|
+
await exec({
|
|
1584
|
+
packageFiles: [{ filename, type: 'yaml' }],
|
|
1585
|
+
bumpFiles: [{ filename, type: 'yaml' }],
|
|
1586
|
+
});
|
|
1587
|
+
|
|
1588
|
+
// filePath is the first arg passed to writeFileSync
|
|
1589
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1590
|
+
writeFileSyncSpy,
|
|
1591
|
+
filename,
|
|
1592
|
+
});
|
|
1593
|
+
|
|
1594
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1595
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1599
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1600
|
+
});
|
|
1601
|
+
|
|
1602
|
+
it('bumps version in Dart `pubspec.yaml` file with CRLF line endings', async function () {
|
|
1603
|
+
const expected = fs.readFileSync(
|
|
1604
|
+
'./test/mocks/pubspec-6.4.0-crlf.yaml',
|
|
1605
|
+
'utf-8',
|
|
1606
|
+
);
|
|
1607
|
+
|
|
1608
|
+
const filename = 'pubspec.yaml';
|
|
1609
|
+
mock({
|
|
1610
|
+
bump: 'minor',
|
|
1611
|
+
realTestFiles: [
|
|
1612
|
+
{
|
|
1613
|
+
filename,
|
|
1614
|
+
path: './test/mocks/pubspec-6.3.1-crlf.yaml',
|
|
1615
|
+
},
|
|
1616
|
+
],
|
|
1617
|
+
});
|
|
1618
|
+
|
|
1619
|
+
await exec({
|
|
1620
|
+
packageFiles: [{ filename, type: 'yaml' }],
|
|
1621
|
+
bumpFiles: [{ filename, type: 'yaml' }],
|
|
1622
|
+
});
|
|
1623
|
+
|
|
1624
|
+
// filePath is the first arg passed to writeFileSync
|
|
1625
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1626
|
+
writeFileSyncSpy,
|
|
1627
|
+
filename,
|
|
1628
|
+
});
|
|
1629
|
+
|
|
1630
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1631
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1635
|
+
expect(calledWithContentStr).toEqual(expected);
|
|
1636
|
+
});
|
|
1637
|
+
|
|
1638
|
+
describe('skip', function () {
|
|
1639
|
+
it('allows bump and changelog generation to be skipped', async function () {
|
|
1640
|
+
const changelogContent = 'legacy header format<a name="1.0.0">\n';
|
|
1641
|
+
mock({
|
|
1642
|
+
bump: 'minor',
|
|
1643
|
+
changelog: 'foo\n',
|
|
1644
|
+
existingChangelog: changelogContent,
|
|
1645
|
+
});
|
|
1646
|
+
|
|
1647
|
+
await exec('--skip.bump true --skip.changelog true');
|
|
1648
|
+
|
|
1649
|
+
expect(writeFileSyncSpy).not.toHaveBeenCalledWith('package.json');
|
|
1650
|
+
expect(writeFileSyncSpy).not.toHaveBeenCalledWith('CHANGELOG.md');
|
|
1651
|
+
});
|
|
1652
|
+
});
|
|
1653
|
+
|
|
1654
|
+
it('does not update files present in .gitignore', async function () {
|
|
1655
|
+
const DotGitIgnore = require('dotgitignore');
|
|
1656
|
+
jest.mock('dotgitignore');
|
|
1657
|
+
|
|
1658
|
+
DotGitIgnore.mockImplementation(() => {
|
|
1659
|
+
return {
|
|
1660
|
+
ignore: (filename) => {
|
|
1661
|
+
if (filename === 'package-lock.json' || filename === 'bower.json') {
|
|
1662
|
+
return true;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
return false;
|
|
1666
|
+
},
|
|
1667
|
+
};
|
|
1668
|
+
});
|
|
1669
|
+
|
|
1670
|
+
mock({
|
|
1671
|
+
bump: 'minor',
|
|
1672
|
+
testFiles: [
|
|
1673
|
+
{
|
|
1674
|
+
path: 'bower.json',
|
|
1675
|
+
value: { version: '1.0.0' },
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
path: 'package-lock.json',
|
|
1679
|
+
value: {
|
|
1680
|
+
name: '@org/package',
|
|
1681
|
+
version: '1.0.0',
|
|
1682
|
+
lockfileVersion: 1,
|
|
1683
|
+
},
|
|
1684
|
+
},
|
|
1685
|
+
],
|
|
1686
|
+
tags: ['v1.0.0'],
|
|
1687
|
+
});
|
|
1688
|
+
await exec();
|
|
1689
|
+
|
|
1690
|
+
// does not bump these as in .gitignore
|
|
1691
|
+
expect(writeFileSyncSpy).not.toHaveBeenCalledWith('package-lock.json');
|
|
1692
|
+
expect(writeFileSyncSpy).not.toHaveBeenCalledWith('bower.json');
|
|
1693
|
+
|
|
1694
|
+
// should still bump version in package.json
|
|
1695
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.1.0' });
|
|
1696
|
+
|
|
1697
|
+
DotGitIgnore.mockRestore();
|
|
1698
|
+
});
|
|
1699
|
+
|
|
1700
|
+
describe('configuration', function () {
|
|
1701
|
+
it('--header', async function () {
|
|
1702
|
+
mock({ bump: 'minor', existingChangelog: '' });
|
|
1703
|
+
await exec('--header="# Welcome to our CHANGELOG.md"');
|
|
1704
|
+
|
|
1705
|
+
verifyNewChangelogContentMatches({
|
|
1706
|
+
writeFileSyncSpy,
|
|
1707
|
+
expectedContent: /# Welcome to our CHANGELOG.md/,
|
|
1708
|
+
});
|
|
1709
|
+
});
|
|
1710
|
+
|
|
1711
|
+
it('--issuePrefixes and --issueUrlFormat', async function () {
|
|
1712
|
+
const format = 'http://www.foo.com/{{prefix}}{{id}}';
|
|
1713
|
+
const prefix = 'ABC-';
|
|
1714
|
+
const changelog = ({ preset }) =>
|
|
1715
|
+
preset.issueUrlFormat + ':' + preset.issuePrefixes;
|
|
1716
|
+
mock({ bump: 'minor', changelog });
|
|
1717
|
+
await exec(`--issuePrefixes="${prefix}" --issueUrlFormat="${format}"`);
|
|
1718
|
+
|
|
1719
|
+
verifyNewChangelogContentMatches({
|
|
1720
|
+
writeFileSyncSpy,
|
|
1721
|
+
expectedContent: `${format}:${prefix}`,
|
|
1722
|
+
});
|
|
1723
|
+
});
|
|
1724
|
+
});
|
|
1725
|
+
|
|
1726
|
+
describe('pre-major', function () {
|
|
1727
|
+
it('bumps the minor rather than major, if version < 1.0.0', async function () {
|
|
1728
|
+
mock({
|
|
1729
|
+
bump: 'minor',
|
|
1730
|
+
testFiles: [
|
|
1731
|
+
{
|
|
1732
|
+
path: 'package.json',
|
|
1733
|
+
value: {
|
|
1734
|
+
version: '0.5.0',
|
|
1735
|
+
repository: { url: 'https://github.com/yargs/yargs.git' },
|
|
1736
|
+
},
|
|
1737
|
+
},
|
|
1738
|
+
],
|
|
1739
|
+
});
|
|
1740
|
+
await exec();
|
|
1741
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '0.6.0' });
|
|
1742
|
+
});
|
|
1743
|
+
|
|
1744
|
+
it('bumps major if --release-as=major specified, if version < 1.0.0', async function () {
|
|
1745
|
+
mock({
|
|
1746
|
+
bump: 'major',
|
|
1747
|
+
testFiles: [
|
|
1748
|
+
{
|
|
1749
|
+
path: 'package.json',
|
|
1750
|
+
value: {
|
|
1751
|
+
version: '0.5.0',
|
|
1752
|
+
repository: { url: 'https://github.com/yargs/yargs.git' },
|
|
1753
|
+
},
|
|
1754
|
+
},
|
|
1755
|
+
],
|
|
1756
|
+
});
|
|
1757
|
+
await exec('-r major');
|
|
1758
|
+
verifyPackageVersion({ writeFileSyncSpy, expectedVersion: '1.0.0' });
|
|
1759
|
+
});
|
|
1760
|
+
});
|
|
1761
|
+
});
|
|
1762
|
+
|
|
1763
|
+
describe('GHSL-2020-111', function () {
|
|
1764
|
+
afterEach(unmock);
|
|
1765
|
+
|
|
1766
|
+
it('does not allow command injection via basic configuration', async function () {
|
|
1767
|
+
mock({ bump: 'patch' });
|
|
1768
|
+
await exec({
|
|
1769
|
+
noVerify: true,
|
|
1770
|
+
releaseCommitMessageFormat: 'bla `touch exploit`',
|
|
1771
|
+
});
|
|
1772
|
+
const stat = shell.test('-f', './exploit');
|
|
1773
|
+
expect(stat).toEqual(false);
|
|
1774
|
+
});
|
|
1775
|
+
});
|
|
1776
|
+
|
|
1777
|
+
describe('with mocked git', function () {
|
|
1778
|
+
afterEach(unmock);
|
|
1779
|
+
|
|
1780
|
+
it('--sign signs the commit and tag', async function () {
|
|
1781
|
+
const gitArgs = [
|
|
1782
|
+
['add', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
|
|
1783
|
+
[
|
|
1784
|
+
'commit',
|
|
1785
|
+
'-S',
|
|
1786
|
+
'CHANGELOG.md',
|
|
1787
|
+
'package.json',
|
|
1788
|
+
'package-lock.json',
|
|
1789
|
+
'-m',
|
|
1790
|
+
'chore(release): 1.0.1',
|
|
1791
|
+
],
|
|
1792
|
+
['tag', '-s', 'v1.0.1', '-m', 'chore(release): 1.0.1'],
|
|
1793
|
+
['rev-parse', '--abbrev-ref', 'HEAD'],
|
|
1794
|
+
];
|
|
1795
|
+
|
|
1796
|
+
runExecFile.mockImplementation((_args, cmd, cmdArgs) => {
|
|
1797
|
+
expect(cmd).toEqual('git');
|
|
1798
|
+
|
|
1799
|
+
const expected = gitArgs.shift();
|
|
1800
|
+
expect(cmdArgs).toEqual(expected);
|
|
1801
|
+
|
|
1802
|
+
if (expected[0] === 'rev-parse') return Promise.resolve('master');
|
|
1803
|
+
|
|
1804
|
+
return Promise.resolve('');
|
|
1805
|
+
});
|
|
1806
|
+
|
|
1807
|
+
mock({
|
|
1808
|
+
bump: 'patch',
|
|
1809
|
+
changelog: 'foo\n',
|
|
1810
|
+
});
|
|
1811
|
+
|
|
1812
|
+
await exec('--sign', true);
|
|
1813
|
+
expect(gitArgs).toHaveLength(0);
|
|
1814
|
+
});
|
|
1815
|
+
|
|
1816
|
+
it('--signedoff adds signed-off-by to the commit message', async function () {
|
|
1817
|
+
const gitArgs = [
|
|
1818
|
+
['add', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
|
|
1819
|
+
[
|
|
1820
|
+
'commit',
|
|
1821
|
+
'--signoff',
|
|
1822
|
+
'CHANGELOG.md',
|
|
1823
|
+
'package.json',
|
|
1824
|
+
'package-lock.json',
|
|
1825
|
+
'-m',
|
|
1826
|
+
'chore(release): 1.0.1',
|
|
1827
|
+
],
|
|
1828
|
+
['tag', '-a', 'v1.0.1', '-m', 'chore(release): 1.0.1'],
|
|
1829
|
+
['rev-parse', '--abbrev-ref', 'HEAD'],
|
|
1830
|
+
];
|
|
1831
|
+
|
|
1832
|
+
runExecFile.mockImplementation((_args, cmd, cmdArgs) => {
|
|
1833
|
+
expect(cmd).toEqual('git');
|
|
1834
|
+
|
|
1835
|
+
const expected = gitArgs.shift();
|
|
1836
|
+
expect(cmdArgs).toEqual(expected);
|
|
1837
|
+
|
|
1838
|
+
if (expected[0] === 'rev-parse') return Promise.resolve('master');
|
|
1839
|
+
|
|
1840
|
+
return Promise.resolve('');
|
|
1841
|
+
});
|
|
1842
|
+
|
|
1843
|
+
mock({
|
|
1844
|
+
bump: 'patch',
|
|
1845
|
+
changelog: 'foo\n',
|
|
1846
|
+
});
|
|
1847
|
+
|
|
1848
|
+
await exec('--signoff', true);
|
|
1849
|
+
expect(gitArgs).toHaveLength(0);
|
|
1850
|
+
});
|
|
1851
|
+
|
|
1852
|
+
it('--tag-force forces tag replacement', async function () {
|
|
1853
|
+
const gitArgs = [
|
|
1854
|
+
['add', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
|
|
1855
|
+
[
|
|
1856
|
+
'commit',
|
|
1857
|
+
'CHANGELOG.md',
|
|
1858
|
+
'package.json',
|
|
1859
|
+
'package-lock.json',
|
|
1860
|
+
'-m',
|
|
1861
|
+
'chore(release): 1.0.1',
|
|
1862
|
+
],
|
|
1863
|
+
['tag', '-a', '-f', 'v1.0.1', '-m', 'chore(release): 1.0.1'],
|
|
1864
|
+
['rev-parse', '--abbrev-ref', 'HEAD'],
|
|
1865
|
+
];
|
|
1866
|
+
|
|
1867
|
+
runExecFile.mockImplementation((_args, cmd, cmdArgs) => {
|
|
1868
|
+
expect(cmd).toEqual('git');
|
|
1869
|
+
|
|
1870
|
+
const expected = gitArgs.shift();
|
|
1871
|
+
expect(cmdArgs).toEqual(expected);
|
|
1872
|
+
|
|
1873
|
+
if (expected[0] === 'rev-parse') return Promise.resolve('master');
|
|
1874
|
+
|
|
1875
|
+
return Promise.resolve('');
|
|
1876
|
+
});
|
|
1877
|
+
|
|
1878
|
+
mock({ bump: 'patch', changelog: 'foo\n' });
|
|
1879
|
+
|
|
1880
|
+
await exec('--tag-force', true);
|
|
1881
|
+
expect(gitArgs).toHaveLength(0);
|
|
1882
|
+
});
|
|
1883
|
+
|
|
1884
|
+
it('fails if git add fails', async function () {
|
|
1885
|
+
const gitArgs = [
|
|
1886
|
+
['add', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
|
|
1887
|
+
];
|
|
1888
|
+
const gitError = new Error('Command failed: git\nfailed add');
|
|
1889
|
+
|
|
1890
|
+
runExecFile.mockImplementation((_args, cmd, cmdArgs) => {
|
|
1891
|
+
expect(cmd).toEqual('git');
|
|
1892
|
+
|
|
1893
|
+
const expected = gitArgs.shift();
|
|
1894
|
+
expect(cmdArgs).toEqual(expected);
|
|
1895
|
+
|
|
1896
|
+
if (expected[0] === 'add') {
|
|
1897
|
+
return Promise.reject(gitError);
|
|
1898
|
+
}
|
|
1899
|
+
return Promise.resolve('');
|
|
1900
|
+
});
|
|
1901
|
+
|
|
1902
|
+
mock({ bump: 'patch', changelog: 'foo\n' });
|
|
1903
|
+
|
|
1904
|
+
await expect(exec({}, true)).rejects.toThrow(gitError);
|
|
1905
|
+
});
|
|
1906
|
+
|
|
1907
|
+
it('fails if git commit fails', async function () {
|
|
1908
|
+
const gitArgs = [
|
|
1909
|
+
['add', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
|
|
1910
|
+
[
|
|
1911
|
+
'commit',
|
|
1912
|
+
'CHANGELOG.md',
|
|
1913
|
+
'package.json',
|
|
1914
|
+
'package-lock.json',
|
|
1915
|
+
'-m',
|
|
1916
|
+
'chore(release): 1.0.1',
|
|
1917
|
+
],
|
|
1918
|
+
];
|
|
1919
|
+
const gitError = new Error('Command failed: git\nfailed commit');
|
|
1920
|
+
|
|
1921
|
+
runExecFile.mockImplementation((_args, cmd, cmdArgs) => {
|
|
1922
|
+
expect(cmd).toEqual('git');
|
|
1923
|
+
|
|
1924
|
+
const expected = gitArgs.shift();
|
|
1925
|
+
expect(cmdArgs).toEqual(expected);
|
|
1926
|
+
|
|
1927
|
+
if (expected[0] === 'commit') {
|
|
1928
|
+
return Promise.reject(gitError);
|
|
1929
|
+
}
|
|
1930
|
+
return Promise.resolve('');
|
|
1931
|
+
});
|
|
1932
|
+
|
|
1933
|
+
mock({ bump: 'patch', changelog: 'foo\n' });
|
|
1934
|
+
|
|
1935
|
+
await expect(exec({}, true)).rejects.toThrow(gitError);
|
|
1936
|
+
});
|
|
1937
|
+
|
|
1938
|
+
it('fails if git tag fails', async function () {
|
|
1939
|
+
const gitArgs = [
|
|
1940
|
+
['add', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
|
|
1941
|
+
[
|
|
1942
|
+
'commit',
|
|
1943
|
+
'CHANGELOG.md',
|
|
1944
|
+
'package.json',
|
|
1945
|
+
'package-lock.json',
|
|
1946
|
+
'-m',
|
|
1947
|
+
'chore(release): 1.0.1',
|
|
1948
|
+
],
|
|
1949
|
+
['tag', '-a', 'v1.0.1', '-m', 'chore(release): 1.0.1'],
|
|
1950
|
+
];
|
|
1951
|
+
const gitError = new Error('Command failed: git\nfailed tag');
|
|
1952
|
+
|
|
1953
|
+
runExecFile.mockImplementation((_args, cmd, cmdArgs) => {
|
|
1954
|
+
expect(cmd).toEqual('git');
|
|
1955
|
+
|
|
1956
|
+
const expected = gitArgs.shift();
|
|
1957
|
+
expect(cmdArgs).toEqual(expected);
|
|
1958
|
+
|
|
1959
|
+
if (expected[0] === 'tag') {
|
|
1960
|
+
return Promise.reject(gitError);
|
|
1961
|
+
}
|
|
1962
|
+
return Promise.resolve('');
|
|
1963
|
+
});
|
|
1964
|
+
|
|
1965
|
+
mock({ bump: 'patch', changelog: 'foo\n' });
|
|
1966
|
+
|
|
1967
|
+
await expect(exec({}, true)).rejects.toThrow(gitError);
|
|
1968
|
+
});
|
|
1969
|
+
});
|
|
1970
|
+
|
|
1971
|
+
// ------- Verifiers ------
|
|
1972
|
+
function findWriteFileCallForPath({ writeFileSyncSpy, filename }) {
|
|
1973
|
+
// filePath is the first arg passed to writeFileSync
|
|
1974
|
+
return writeFileSyncSpy.mock.calls.find((args) =>
|
|
1975
|
+
args[0].includes(filename),
|
|
1976
|
+
);
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
function verifyPackageVersion({
|
|
1980
|
+
writeFileSyncSpy,
|
|
1981
|
+
expectedVersion,
|
|
1982
|
+
filename = 'package.json',
|
|
1983
|
+
asString = false,
|
|
1984
|
+
}) {
|
|
1985
|
+
// filePath is the first arg passed to writeFileSync
|
|
1986
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
1987
|
+
writeFileSyncSpy,
|
|
1988
|
+
filename,
|
|
1989
|
+
});
|
|
1990
|
+
|
|
1991
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
1992
|
+
throw new Error(`writeFileSynch not invoked with path ${filename}`);
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
1996
|
+
if (!asString) {
|
|
1997
|
+
// parse to JSON and verify has property
|
|
1998
|
+
const calledWithContent = JSON.parse(calledWithContentStr);
|
|
1999
|
+
|
|
2000
|
+
expect(calledWithContent).toHaveProperty('version');
|
|
2001
|
+
expect(calledWithContent.version).toEqual(expectedVersion);
|
|
2002
|
+
} else {
|
|
2003
|
+
// for non-JSON files i.e. .exs and .txt just verify version exists
|
|
2004
|
+
if (filename.includes('.exs')) {
|
|
2005
|
+
expect(calledWithContentStr).toMatch(`version: "${expectedVersion}"`);
|
|
2006
|
+
} else {
|
|
2007
|
+
expect(calledWithContentStr).toMatch(expectedVersion);
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
function verifyFileContentEquals({
|
|
2013
|
+
writeFileSyncSpy,
|
|
2014
|
+
content,
|
|
2015
|
+
filename = 'package.json',
|
|
2016
|
+
}) {
|
|
2017
|
+
// filePath is the first arg passed to writeFileSync
|
|
2018
|
+
const packageJsonWriteFileSynchCall = findWriteFileCallForPath({
|
|
2019
|
+
writeFileSyncSpy,
|
|
2020
|
+
filename,
|
|
2021
|
+
});
|
|
2022
|
+
|
|
2023
|
+
if (!packageJsonWriteFileSynchCall) {
|
|
2024
|
+
throw new Error('writeFileSynch not invoked with path package.json');
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
const calledWithContentStr = packageJsonWriteFileSynchCall[1];
|
|
2028
|
+
|
|
2029
|
+
expect(calledWithContentStr).toEqual(content);
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
function verifyNewChangelogContentMatches({
|
|
2033
|
+
writeFileSyncSpy,
|
|
2034
|
+
expectedContent,
|
|
2035
|
+
}) {
|
|
2036
|
+
const changelogWriteFileSynchCall = findWriteFileCallForPath({
|
|
2037
|
+
writeFileSyncSpy,
|
|
2038
|
+
filename: 'CHANGELOG.md',
|
|
2039
|
+
});
|
|
2040
|
+
|
|
2041
|
+
if (!changelogWriteFileSynchCall) {
|
|
2042
|
+
throw new Error('writeFileSynch not invoked with path CHANGELOG.md');
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
const calledWithContent = changelogWriteFileSynchCall[1];
|
|
2046
|
+
expect(calledWithContent).toMatch(expectedContent);
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
function verifyNewChangelogContentEquals({
|
|
2050
|
+
writeFileSyncSpy,
|
|
2051
|
+
expectedContent,
|
|
2052
|
+
}) {
|
|
2053
|
+
const changelogWriteFileSynchCall = findWriteFileCallForPath({
|
|
2054
|
+
writeFileSyncSpy,
|
|
2055
|
+
filename: 'CHANGELOG.md',
|
|
2056
|
+
});
|
|
2057
|
+
|
|
2058
|
+
if (!changelogWriteFileSynchCall) {
|
|
2059
|
+
throw new Error('writeFileSynch not invoked with path CHANGELOG.md');
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
const calledWithContent = changelogWriteFileSynchCall[1];
|
|
2063
|
+
expect(calledWithContent).toEqual(expectedContent);
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
function verifyNewChangelogContentDoesNotMatch({
|
|
2067
|
+
writeFileSyncSpy,
|
|
2068
|
+
expectedContent,
|
|
2069
|
+
}) {
|
|
2070
|
+
const changelogWriteFileSynchCall = findWriteFileCallForPath({
|
|
2071
|
+
writeFileSyncSpy,
|
|
2072
|
+
filename: 'CHANGELOG.md',
|
|
2073
|
+
});
|
|
2074
|
+
|
|
2075
|
+
if (!changelogWriteFileSynchCall) {
|
|
2076
|
+
throw new Error('writeFileSynch not invoked with path CHANGELOG.md');
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
const calledWithContent = changelogWriteFileSynchCall[1];
|
|
2080
|
+
expect(calledWithContent).not.toMatch(expectedContent);
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
function verifyLogPrinted({ consoleInfoSpy, expectedLog }) {
|
|
2084
|
+
const consoleInfoLogs = consoleInfoSpy.mock.calls.map((args) => args[0]);
|
|
2085
|
+
const desiredLog = consoleInfoLogs.find((log) => log.includes(expectedLog));
|
|
2086
|
+
expect(desiredLog).not.toBeUndefined();
|
|
2087
|
+
expect(desiredLog).toMatch(expectedLog);
|
|
2088
|
+
}
|
|
2089
|
+
});
|