Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcjet/next

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/next - npm Package Versions

12

1.0.0-alpha.8

Diff

Changelog

Source

1.0.0-alpha.8 (2024-02-09)

⚠ BREAKING CHANGES

  • Handle TTL as seconds instead of milliseconds (#211)
  • Add fixedWindow, tokenBucket, and slidingWindow primitives (#184)
  • Remove timeout property on ArcjetRateLimitRule (#182)
  • Remove count property on ArcjetRateLimitReason (#181)
  • Required of props should always be required (#180)
  • Build extra field from unknown request properties (#179)
  • protocol: Introduce Shield name (#158)
  • Limit ARCJET_BASE_URL to small set of allowed URLs (#83)

🚀 New Features

  • Add fixedWindow, tokenBucket, and slidingWindow primitives (#184) (6701b02)
  • Allow user-defined characteristics on rate limit options (#203) (dc5b001)
  • Build extra field from unknown request properties (#179) (2576341)
  • Limit ARCJET_BASE_URL to small set of allowed URLs (#83) (d9184ea)
  • Support cookies and query via the protocol (#214) (ca0cd64)
  • Support duration strings or integers on rate limit configuration (#192) (b173d83)

🪲 Bug Fixes

  • Handle TTL as seconds instead of milliseconds (#211) (c2d3dd0)
  • Required of props should always be required (#180) (1f92885)

📦 Dependencies

  • bump @bufbuild/protobuf from 1.6.0 to 1.7.2 (#167) (c7dbdba)
  • bump @connectrpc/connect from 1.2.1 to 1.3.0 (#126) (40db7f3)
  • bump @rollup/plugin-typescript from 11.1.5 to 11.1.6 (#127) (8f9e34a)
  • Bump @connectrpc/connect-web from 1.2.0 to 1.2.1 (#101) (28f4a50)
  • Bump @connectrpc/connect-web from 1.2.1 to 1.3.0 (#120) (289446d)
  • Bump @connectrpc/connect from 1.2.0 to 1.2.1 (#100) (74013ef)
  • Bump ai from 2.2.30 to 2.2.31 in /examples/nextjs-14-openai (#99) (be8c23b)
  • Bump eslint-config-turbo from 1.11.2 to 1.11.3 (#107) (b01f418)
  • Bump openai from 4.24.1 to 4.24.2 in /examples/nextjs-14-openai (#121) (705f871)
  • bump eslint-config-next from 14.0.4 to 14.1.0 (#147) (a44b3f6)
  • bump eslint-config-turbo from 1.11.3 to 1.12.3 (#198) (4bd458c)
  • bump next from 14.0.4 to 14.1.0 (#148) (6753117)
  • bump typeid-js from 0.3.0 to 0.5.0 (#176) (fadf89f)
  • dev: bump @edge-runtime/jest-environment from 2.3.7 to 2.3.8 (#154) (9c4ed39)
  • dev: bump @edge-runtime/jest-environment from 2.3.8 to 2.3.9 (#196) (8bc0a8f)
  • dev: bump @rollup/wasm-node from 4.9.1 to 4.9.2 (#97) (eff4226)
  • dev: bump @rollup/wasm-node from 4.9.2 to 4.9.4 (#119) (ec50b96)
  • dev: bump @rollup/wasm-node from 4.9.4 to 4.9.5 (#131) (9fff856)
  • dev: bump @rollup/wasm-node from 4.9.5 to 4.9.6 (#152) (3e54cff)
  • dev: Bump @types/react from 18.2.45 to 18.2.46 (#96) (fe666c6)
  • dev: Bump @types/react from 18.2.45 to 18.2.46 in /examples/nextjs-13-pages-wrap (#94) (c21a5e6)
  • dev: Bump @types/react from 18.2.45 to 18.2.46 in /examples/nextjs-14-app-dir-validate-email (#93) (90e1965)
  • dev: Bump @types/react from 18.2.45 to 18.2.46 in /examples/nextjs-14-openai (#98) (8c63a63)
  • dev: Bump @types/react from 18.2.45 to 18.2.46 in /examples/nextjs-14-pages-wrap (#95) (3ffec0d)
  • dev: Bump @types/react from 18.2.46 to 18.2.47 in /examples/nextjs-13-pages-wrap (#116) (1341acc)
  • dev: Bump @types/react from 18.2.46 to 18.2.47 in /examples/nextjs-14-app-dir-rl (#113) (7e8ae3c)
  • dev: Bump @types/react from 18.2.46 to 18.2.47 in /examples/nextjs-14-app-dir-validate-email (#111) (e160ce1)
  • dev: Bump @types/react from 18.2.46 to 18.2.47 in /examples/nextjs-14-openai (#110) (410d396)
  • dev: Bump @types/react from 18.2.46 to 18.2.47 in /examples/nextjs-14-pages-wrap (#118) (ab05d24)
  • dev: Bump postcss from 8.4.32 to 8.4.33 in /examples/nextjs-13-pages-wrap (#103) (a3cd7f0)
  • dev: Bump postcss from 8.4.32 to 8.4.33 in /examples/nextjs-14-app-dir-rl (#105) (e90fc74)
  • dev: Bump postcss from 8.4.32 to 8.4.33 in /examples/nextjs-14-app-dir-validate-email (#102) (b0df5a2)
  • dev: Bump postcss from 8.4.32 to 8.4.33 in /examples/nextjs-14-openai (#104) (2192e3e)
  • dev: Bump postcss from 8.4.32 to 8.4.33 in /examples/nextjs-14-pages-wrap (#108) (916402d)
  • dev: Bump tailwindcss from 3.4.0 to 3.4.1 in /examples/nextjs-13-pages-wrap (#115) (a9472c0)
  • dev: Bump tailwindcss from 3.4.0 to 3.4.1 in /examples/nextjs-14-app-dir-rl (#114) (5066c6d)
  • dev: Bump tailwindcss from 3.4.0 to 3.4.1 in /examples/nextjs-14-app-dir-validate-email (#112) (d8173b3)
  • dev: Bump tailwindcss from 3.4.0 to 3.4.1 in /examples/nextjs-14-openai (#109) (e44f829)
  • dev: Bump tailwindcss from 3.4.0 to 3.4.1 in /examples/nextjs-14-pages-wrap (#117) (6b65676)
  • dev: bump postcss from 8.4.31 to 8.4.32 in /examples/nextjs-13-pages-wrap (#87) (01ac608)
  • dev: bump postcss from 8.4.31 to 8.4.32 in /examples/nextjs-14-app-dir-rl (#86) (583f646)
  • example: bump the dependencies group in /examples/nextjs-13-pages-wrap with 1 update (#135) (cd67eaf)
  • example: bump the dependencies group in /examples/nextjs-13-pages-wrap with 1 update (#194) (a945b2c)
  • example: bump the dependencies group in /examples/nextjs-13-pages-wrap with 2 updates (#185) (dc7bc47)
  • example: Bump the dependencies group in /examples/nextjs-13-pages-wrap with 2 updates (#210) (402c2ad)
  • example: bump the dependencies group in /examples/nextjs-13-pages-wrap with 3 updates (#169) (f19680b)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-rl with 1 update (#137) (ab43b86)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-rl with 1 update (#197) (28a680c)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-rl with 2 updates (#189) (ab11b6d)
  • example: Bump the dependencies group in /examples/nextjs-14-app-dir-rl with 2 updates (#207) (1489fd7)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-rl with 3 updates (#166) (b7f4b07)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 1 update (#134) (9b6015a)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 1 update (#200) (59caff4)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 2 updates (#188) (9d42276)
  • example: Bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 2 updates (#208) (467b385)
  • example: bump the dependencies group in /examples/nextjs-14-app-dir-validate-email with 3 updates (#168) (8779e2f)
  • example: Bump the dependencies group in /examples/nextjs-14-openai with 1 update (#219) (07952d5)
  • example: bump the dependencies group in /examples/nextjs-14-openai with 2 updates (#136) (e99635b)
  • example: Bump the dependencies group in /examples/nextjs-14-openai with 4 updates (#209) (7720a81)
  • example: bump the dependencies group in /examples/nextjs-14-openai with 5 updates (#170) (b57e8df)
  • example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 1 update (#133) (51adb16)
  • example: bump the dependencies group in /examples/nextjs-14-pages-wrap with 1 update (#199) (de36130)
  • example: bump the dependencies group in /examples/nextjs-14-pages-wrap with 2 updates (#187) (2feef80)
  • example: Bump the dependencies group in /examples/nextjs-14-pages-wrap with 2 updates (#206) (abc72da)
  • example: bump the dependencies group in /examples/nextjs-14-pages-wrap with 3 updates (#165) (82f6be5)

📝 Documentation

  • Add minimum required fields for request details example (#220) (83a3a8c)
  • Rename AJ_KEY to ARCJET_KEY & switch to next.js app dir example (#201) (9c4da7b)
  • Update Arcjet description (#122) (c011bc2)

🧹 Miscellaneous Chores

  • Add codeowners to project (#91) (a54f487)
  • Add devcontainer setup (#124) (29b1a2e)
  • analyze: Regenerate WebAssembly and bindings (#92) (b10ce31)
  • Change ttl argument to expiresAt in cache implementation (#218) (0414e10)
  • examples: Added Next.js 14 OpenAI rate limit example (#88) (482a472)
  • examples: Encourage use of environment variables for keys (#139) (290a1b2)
  • protocol: Introduce Shield name (#158) (311713b)
  • Regenerate the protobuf bindings (#183) (807e8de)
  • Remove count property on ArcjetRateLimitReason (#181) (ff3e310)
  • Remove timeout property on ArcjetRateLimitRule (#182) (255a4a7)
  • rollup: Externalize all imports that end with .wasm?module (#217) (ee6f387)
  • Separate examples from SDK install and builds (#85) (c4c57c8)
  • trunk: Avoid linting the release-please-manifest (#138) (ac69f70)
  • Update trunk versions and configuration (#125) (2625ed4)

✅ Continuous Integration

blaine-arcjet
published 1.0.0-alpha.7 •

Changelog

Source

1.0.0-alpha.7 (2023-12-21)

⚠ BREAKING CHANGES

  • Reorganize SDK types to tighten helpers around custom props (#18)

🪲 Bug Fixes

  • Reorganize SDK types to tighten helpers around custom props (#18) (3b0c1fb)

📦 Dependencies

  • dev: Bump the dev-dependencies group with 5 updates (#82) (a67be47)

✅ Continuous Integration

blaine-arcjet
published 1.0.0-alpha.6 •

Changelog

Source

1.0.0-alpha.6 (2023-12-18)

⚠ BREAKING CHANGES

  • Pass ArcjetContext to rules (#65)

🚀 New Features

🪲 Bug Fixes

  • next: Avoid appending ? if querystring is empty (#71) (16ca958)
  • next: Stop using NextUrl to avoid type conflict across version (#62) (294540a)
  • Wrap timeout default ternary so timeout option takes effect (#66) (d49ebd2)

🧹 Miscellaneous Chores

  • Add pre and post logging to remote client (#70) (46fd6b3)
  • deps-dev: Bump the dev-dependencies group with 2 updates (#55) (94839f3)
  • deps: Bump the dependencies group with 2 updates (#54) (9c68aa2)
  • Disallow configuring timeout for report (#67) (ae8f1b7)
  • examples: Add Next 13 wrap example (294540a)
  • rollup: Fail compilation on type check failure (#68) (b9a373b)

✅ Continuous Integration

blaine-arcjet
published 1.0.0-alpha.5 •

Changelog

Source

1.0.0-alpha.6 (2023-12-18)

⚠ BREAKING CHANGES

  • Pass ArcjetContext to rules (#65)

🚀 New Features

🪲 Bug Fixes

  • next: Avoid appending ? if querystring is empty (#71) (16ca958)
  • next: Stop using NextUrl to avoid type conflict across version (#62) (294540a)
  • Wrap timeout default ternary so timeout option takes effect (#66) (d49ebd2)

🧹 Miscellaneous Chores

  • Add pre and post logging to remote client (#70) (46fd6b3)
  • deps-dev: Bump the dev-dependencies group with 2 updates (#55) (94839f3)
  • deps: Bump the dependencies group with 2 updates (#54) (9c68aa2)
  • Disallow configuring timeout for report (#67) (ae8f1b7)
  • examples: Add Next 13 wrap example (294540a)
  • rollup: Fail compilation on type check failure (#68) (b9a373b)

✅ Continuous Integration

blaine-arcjet
published 1.0.0-alpha.4 •

blaine-arcjet
published 1.0.0-alpha.3 •

blaine-arcjet
published 1.0.0-alpha.2 •

Changelog

Source

1.0.0-alpha.27 (2024-10-01)

⚠ BREAKING CHANGES

  • Add options validation for all rules (#1785)
  • Only produce 1 rule per constructor (#1783)

🚀 New Features

🪲 Bug Fixes

🧹 Miscellaneous Chores

blaine-arcjet
published 1.0.0-alpha.1 •

Changelog

Source

1.0.0-alpha.20 (2024-07-24)

🪲 Bug Fixes

  • analyze: Ensure locally-unknown email information doesn't deny (#1176) (c4ca3f8), closes #1175

📦 Dependencies

  • bump @typescript-eslint/eslint-plugin from 7.16.1 to 7.17.0 (#1164) (06344e7)
  • bump @typescript-eslint/parser from 7.16.1 to 7.17.0 (#1165) (40adc5b)
  • bump eslint-config-turbo from 2.0.6 to 2.0.9 (#1159) (1e7a59f)
  • dev: bump @rollup/wasm-node from 4.18.1 to 4.19.0 (#1160) (7062ca0)
  • dev: bump typescript from 5.5.3 to 5.5.4 (#1166) (644e3a6)
  • example: bump @clerk/nextjs from 5.2.5 to 5.2.6 in /examples/nextjs-14-permit in the dependencies group (#1173) (2dd29a7)
  • example: bump hono from 4.4.13 to 4.5.1 in /examples/nodejs-hono-rl in the dependencies group across 1 directory (#1158) (797d8b8)
  • example: bump postcss from 8.4.39 to 8.4.40 in /examples/nextjs-14-app-dir-validate-email in the dependencies group (#1177) (926f84e)
  • example: bump postcss from 8.4.39 to 8.4.40 in /examples/nextjs-14-clerk-rl in the dependencies group across 1 directory (#1180) (47b6e7d)
  • example: bump tailwindcss from 3.4.4 to 3.4.6 in /examples/nextjs-14-app-dir-validate-email in the dependencies group across 1 directory (#1139) (ee1938b)
  • example: bump tailwindcss from 3.4.5 to 3.4.6 in /examples/nextjs-14-app-dir-rl in the dependencies group (#1152) (282448a)
  • example: bump tailwindcss from 3.4.5 to 3.4.6 in /examples/nextjs-14-decorate in the dependencies group (#1148) (1149de9)
  • example: bump tailwindcss from 3.4.5 to 3.4.6 in /examples/nextjs-14-ip-details in the dependencies group (#1147) (c77aa6b)
  • example: bump tailwindcss from 3.4.5 to 3.4.6 in /examples/nextjs-14-nextauth-4 in the dependencies group (#1145) (a97525b)
  • example: bump tailwindcss from 3.4.5 to 3.4.6 in /examples/nextjs-14-pages-wrap in the dependencies group (#1151) (d9291c6)
  • example: bump the dependencies group across 1 directory with 2 updates (#1171) (e2bfd35)
  • example: bump the dependencies group across 1 directory with 2 updates (#1179) (1240621)
  • example: bump the dependencies group across 1 directory with 3 updates (#1163) (213a7c8)
  • example: bump the dependencies group across 1 directory with 3 updates (#1178) (9bc5f1e)
  • example: bump the dependencies group across 1 directory with 3 updates (#1181) (f01ec2c)
  • example: bump the dependencies group across 1 directory with 5 updates (#1167) (f3c8ca7)
  • example: bump the dependencies group across 1 directory with 6 updates (#1169) (a02a74c)

🧹 Miscellaneous Chores

  • examples: Add Next.js app with Permit.io for dynamic Arcjet rules (#1067) (6939878)
blaine-arcjet
published 1.0.0-alpha.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc