{"id":1082686,"name":"@next-safe/middleware","ecosystem":"npm","description":"Strict Content-Security-Policy (CSP) for Next.js with composable middleware","homepage":"https://next-safe-middleware.vercel.app","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/nibtime/next-safe-middleware","keywords_array":["nextjs","security","content-security-policy","strict-csp","strict-dynamic","report-uri","report-to","reporting-api","middleware","chain","compose"],"namespace":"next-safe","versions_count":12,"first_release_published_at":"2022-02-24T11:17:34.211Z","latest_release_published_at":"2022-08-02T20:01:58.529Z","latest_release_number":"0.10.0","last_synced_at":"2026-03-26T19:21:17.223Z","created_at":"2022-04-08T10:18:12.808Z","updated_at":"2026-03-26T19:21:17.224Z","registry_url":"https://www.npmjs.com/package/@next-safe/middleware","install_command":"npm install @next-safe/middleware","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.10.0"}},"repo_metadata":{"id":37076973,"uuid":"463035046","full_name":"nibtime/next-safe-middleware","owner":"nibtime","description":"Strict CSP (Content-Security-Policy) for Next.js hybrid apps https://web.dev/strict-csp/","archived":false,"fork":false,"pushed_at":"2023-05-29T09:35:24.000Z","size":273193,"stargazers_count":86,"open_issues_count":28,"forks_count":21,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-02T10:35:18.745Z","etag":null,"topics":["chain","compose","content-security-policy","middleware","nextjs","report-to","report-uri","reporting-api","security","strict-csp","strict-dynamic"],"latest_commit_sha":null,"homepage":"https://next-safe-middleware.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nibtime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-24T06:30:17.000Z","updated_at":"2025-06-05T10:33:26.000Z","dependencies_parsed_at":"2024-06-12T17:49:26.569Z","dependency_job_id":null,"html_url":"https://github.com/nibtime/next-safe-middleware","commit_stats":{"total_commits":177,"total_committers":6,"mean_commits":29.5,"dds":0.192090395480226,"last_synced_commit":"c4075709fd8598ff3af27bafd25e0f298509dac5"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/nibtime/next-safe-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nibtime","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006107,"owners_count":26084026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"nibtime","name":null,"uuid":"52962482","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/52962482?u=4aace5b581a523852e455d9b54c7197d2c36ce05\u0026v=4","repositories_count":11,"last_synced_at":"2024-12-30T13:37:17.483Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nibtime","funding_links":[],"total_stars":80,"followers":6,"following":0,"created_at":"2022-11-14T09:19:44.620Z","updated_at":"2024-12-30T13:37:17.484Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nibtime","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nibtime/repositories"},"tags":[{"name":"@next-safe/middleware@0.10.0","sha":"e931cbd10977b5571e1fa4ec646cea3a267d89fc","kind":"tag","published_at":"2022-08-02T20:01:59.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.10.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.10.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.10.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.10.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.10.0/manifests"},{"name":"@next-safe/middleware@0.9.0","sha":"d660b41c0dea038cc076f1e22194d1d22daffaab","kind":"tag","published_at":"2022-07-24T03:26:34.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.9.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.9.0/manifests"},{"name":"@next-safe/middleware@0.8.0","sha":"bda3c5c6ca49bf770b658c6b33e22713655fa2c1","kind":"tag","published_at":"2022-07-07T18:17:54.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.8.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.8.0/manifests"},{"name":"@next-safe/middleware@0.7.0","sha":"f5e9ce8a5358695479360704b7016e9a9c00c367","kind":"tag","published_at":"2022-07-06T02:22:30.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.7.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.7.0/manifests"},{"name":"@next-safe/middleware@0.6.0","sha":"6bf1dafac1c09dea09e4dccff7272ac345e8b471","kind":"tag","published_at":"2022-04-05T02:23:30.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.6.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.6.0/manifests"},{"name":"@next-safe/middleware@0.5.2","sha":"faaa69e84f8c7c6a391b820169391f30a3a01935","kind":"tag","published_at":"2022-03-09T00:03:36.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.5.2","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.5.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.5.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.5.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.5.2/manifests"},{"name":"@next-safe/middleware@0.5.1","sha":"e9617c769b61211bbf4cb52819dcd1f4ac741248","kind":"tag","published_at":"2022-03-07T23:59:13.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.5.1","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.5.1/manifests"},{"name":"@next-safe/middleware@0.5.0","sha":"2e3fe4d828b416c08786b326f499db3bca87edf0","kind":"tag","published_at":"2022-03-06T02:37:25.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.5.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.5.0/manifests"},{"name":"@next-safe/middleware@0.4.0","sha":"f2f2a0f44309ec112d724d0ea65a99930d718ce1","kind":"tag","published_at":"2022-03-01T19:10:50.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.4.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.4.0/manifests"},{"name":"@next-safe/middleware@0.3.1","sha":"56aa1f004a2f8364cc4229c4700b3c590f3d9673","kind":"tag","published_at":"2022-02-28T14:40:38.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.3.1","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.3.1/manifests"},{"name":"@next-safe/middleware@0.3.0","sha":"e77dc8dec2b91de0938139a1fd628e8afc883221","kind":"tag","published_at":"2022-02-28T13:40:44.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.3.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.3.0/manifests"},{"name":"@next-safe/middleware@0.2.0","sha":"5f310bc7001431823ccc8262fa1f0e550fbd8fa9","kind":"tag","published_at":"2022-02-24T11:17:34.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.2.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.2.0/manifests"},{"name":"@next-safe/middleware@0.1.0","sha":"ba0c5cebb84985f2148a41c2b5552597e34e7893","kind":"tag","published_at":"2022-02-24T07:50:31.000Z","download_url":"https://codeload.github.com/nibtime/next-safe-middleware/tar.gz/@next-safe/middleware@0.1.0","html_url":"https://github.com/nibtime/next-safe-middleware/releases/tag/@next-safe/middleware@0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nibtime/next-safe-middleware@%40next-safe%2Fmiddleware%400.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/tags/@next-safe%2Fmiddleware@0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-10-11T03:44:55.206Z","dependent_packages_count":1,"downloads":42836,"downloads_period":"last-month","dependent_repos_count":6,"rankings":{"downloads":1.1440737105604382,"dependent_repos_count":4.653161099734197,"dependent_packages_count":21.007450672226714,"stargazers_count":5.469806098547906,"forks_count":5.140008459691652,"docker_downloads_count":null,"average":7.482900008152181},"purl":"pkg:npm/%40next-safe/middleware","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@next-safe/middleware","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@next-safe/middleware","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@next-safe/middleware/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-09T23:18:11.106Z","issues_count":48,"pull_requests_count":47,"avg_time_to_close_issue":2212178.6,"avg_time_to_close_pull_request":157609.69047619047,"issues_closed_count":25,"pull_requests_closed_count":42,"pull_request_authors_count":9,"issue_authors_count":31,"avg_comments_per_issue":2.375,"avg_comments_per_pull_request":2.25531914893617,"merged_pull_requests_count":40,"bot_issues_count":0,"bot_pull_requests_count":22,"past_year_issues_count":2,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nibtime%2Fnext-safe-middleware/issues","maintainers":[{"login":"nibtime","count":31,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nibtime"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@next-safe%2Fmiddleware/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@next-safe%2Fmiddleware/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@next-safe%2Fmiddleware/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@next-safe%2Fmiddleware/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@next-safe%2Fmiddleware/codemeta","maintainers":[{"uuid":"nibtime","login":"nibtime","name":null,"email":"kf@new.cannabis-med.org","url":null,"packages_count":1,"html_url":"https://www.npmjs.com/~nibtime","role":null,"created_at":"2022-11-20T03:51:45.804Z","updated_at":"2022-11-20T03:51:45.804Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nibtime/packages"}]}