diff --git a/.all-contributorsrc b/.all-contributorsrc index af3be7c..621f463 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,5 +1,5 @@ { - "projectName": "parse-form-data", + "projectName": "parse-nested-form-data", "projectOwner": "milamer", "imageSize": 100, "commit": false, diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 40cb3a1..8a36398 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -47,7 +47,7 @@ jobs: needs: main runs-on: ubuntu-latest if: - ${{ github.repository == 'milamer/parse-form-data' && + ${{ github.repository == 'milamer/parse-nested-form-data' && contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) && github.event_name == 'push' }} steps: diff --git a/README.md b/README.md index 8a3a5f9..169e507 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
-

parse-form-data

+

parse-nested-form-data

A tiny node module for parsing FormData by name into objects and arrays

@@ -59,7 +59,7 @@ This module is distributed via [npm][npm] which is bundled with [node][node] and should be installed as one of your project's `dependencies`: ```sh -npm install parse-form-data +npm install parse-nested-form-data ``` ## Name @@ -339,25 +339,25 @@ where most of the setup is from. [npm]: https://www.npmjs.com [node]: https://nodejs.org -[build-badge]: https://img.shields.io/github/workflow/status/milamer/parse-form-data/validate?logo=github&style=flat-square -[build]: https://github.com/milamer/parse-form-data/actions?query=workflow%3Avalidate -[coverage-badge]: https://img.shields.io/codecov/c/github/milamer/parse-form-data.svg?style=flat-square -[coverage]: https://codecov.io/github/milamer/parse-form-data -[version-badge]: https://img.shields.io/npm/v/parse-form-data.svg?style=flat-square -[package]: https://www.npmjs.com/package/parse-form-data -[downloads-badge]: https://img.shields.io/npm/dm/parse-form-data.svg?style=flat-square -[npmtrends]: https://www.npmtrends.com/parse-form-data -[license-badge]: https://img.shields.io/npm/l/parse-form-data.svg?style=flat-square -[license]: https://github.com/milamer/parse-form-data/blob/master/LICENSE +[build-badge]: https://img.shields.io/github/workflow/status/milamer/parse-nested-form-data/validate?logo=github&style=flat-square +[build]: https://github.com/milamer/parse-nested-form-data/actions?query=workflow%3Avalidate +[coverage-badge]: https://img.shields.io/codecov/c/github/milamer/parse-nested-form-data.svg?style=flat-square +[coverage]: https://codecov.io/github/milamer/parse-nested-form-data +[version-badge]: https://img.shields.io/npm/v/parse-nested-form-data.svg?style=flat-square +[package]: https://www.npmjs.com/package/parse-nested-form-data +[downloads-badge]: https://img.shields.io/npm/dm/parse-nested-form-data.svg?style=flat-square +[npmtrends]: https://www.npmtrends.com/parse-nested-form-data +[license-badge]: https://img.shields.io/npm/l/parse-nested-form-data.svg?style=flat-square +[license]: https://github.com/milamer/parse-nested-form-data/blob/master/LICENSE [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square [prs]: http://makeapullrequest.com [coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square -[coc]: https://github.com/milamer/parse-form-data/blob/master/CODE_OF_CONDUCT.md +[coc]: https://github.com/milamer/parse-nested-form-data/blob/master/CODE_OF_CONDUCT.md [emojis]: https://github.com/all-contributors/all-contributors#emoji-key [all-contributors]: https://github.com/all-contributors/all-contributors -[all-contributors-badge]: https://img.shields.io/github/all-contributors/milamer/parse-form-data?color=orange&style=flat-square -[bugs]: https://github.com/milamer/parse-form-data/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Acreated-desc+label%3Abug -[requests]: https://github.com/milamer/parse-form-data/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement -[good-first-issue]: https://github.com/milamer/parse-form-data/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement+label%3A%22good+first+issue%22 +[all-contributors-badge]: https://img.shields.io/github/all-contributors/milamer/parse-nested-form-data?color=orange&style=flat-square +[bugs]: https://github.com/milamer/parse-nested-form-data/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Acreated-desc+label%3Abug +[requests]: https://github.com/milamer/parse-nested-form-data/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement +[good-first-issue]: https://github.com/milamer/parse-nested-form-data/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement+label%3A%22good+first+issue%22 [match-sorter]: https://github.com/kentcdodds/match-sorter/blob/main/README.md diff --git a/package.json b/package.json index 7be80e6..0a928ce 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,15 @@ { - "name": "parse-form-data", - "version": "0.0.0-semantically-released", + "name": "parse-nested-form-data", + "version": "1.0.0", "description": "A tiny node module for parsing FormData by name into objects and arrays", - "main": "dist/parse-form-data.cjs.js", - "module": "dist/parse-form-data.esm.js", + "main": "dist/parse-nested-form-data.cjs.js", + "module": "dist/parse-nested-form-data.esm.js", "types": "dist/index.d.ts", "keywords": [ "FormData", "parse", + "nested", + "form", "array", "object", "parse" @@ -16,19 +18,19 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/milamer/parse-form-data" + "url": "https://github.com/milamer/parse-nested-form-data" }, "bugs": { - "url": "https://github.com/milamer/parse-form-data/issues" + "url": "https://github.com/milamer/parse-nested-form-data/issues" }, - "homepage": "https://github.com/milamer/parse-form-data#readme", + "homepage": "https://github.com/milamer/parse-nested-form-data#readme", "files": [ "dist" ], "scripts": { "clean": "rimraf dist coverage node_modules", "build:toc": "npx doctoc .", - "build": "kcd-scripts build --bundle --environment BUILD_NAME:parseFormData", + "build": "kcd-scripts build --bundle --environment BUILD_NAME:parseNestedFormData", "lint": "kcd-scripts lint", "setup": "npm install && npm run validate -s", "test": "kcd-scripts test", diff --git a/src/index.ts b/src/index.ts index ec99fdb..6c20a77 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ /** - * @name parse-form-data + * @name parse-nested-form-data * @license MIT license. * @copyright (c) 2022 Christian Schurr * @author Christian Schurr