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

next-page-tester

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-page-tester - npm Package Versions

1245

0.21.0

Diff

Changelog

Source

0.21.0

Breaking Changes

  • Initial initTestHelpers() test environment setup should be removed when running in Jest/Jasmine-like environments

Bugfix

  • Respect non-isolated modules when executeWithFreshModules is executed

New Features

  • Filter runtime environment variables
  • Make environment variables declared in dotenv files available in next.config.js
  • Automatically initialise test environment with Jest/Jasmine-like test runners
toomuchdesign
published 0.20.0 •

Changelog

Source

0.20.0

Breaking Changes

  • Remove nonIsolatedModules option

Bugfix

  • Load files necessary to perform rendering in one single go to preserve module identity

New Features

  • Improve DX by throwing on import failure instead of swallowing error
toomuchdesign
published 0.19.0 •

Changelog

Source

0.19.0

New Features

  • Render 404 page when matching route not found
  • Add wrapper option
toomuchdesign
published 0.18.0 •

Changelog

Source

0.18.0

New Features

  • Support custom _document renderPage
  • Introduce dotenvFile option to support environment variables loading
  • Add support for getServerSideProps's notFound return

Bugfixes

  • Support client side navigation when url is provided as object
toomuchdesign
published 0.17.0 •

Changelog

Source

0.17.0

Breaking Changes

  • Minimum Node.js supported version >= 12

Bugfixes

  • Catch-all and optional cath-all route segments return params entries as array of values

New Features

  • Support next/config runtime configuration
toomuchdesign
published 0.16.2 •

Changelog

Source

0.16.2

Bugfixes

  • Fix missing cookie package dependency
toomuchdesign
published 0.16.1 •

Changelog

Source

0.16.1

Bugfixes

  • Fix missing DefaultApp.tsx file in dist folder
  • Uniform error messages
toomuchdesign
published 0.16.0 •

Changelog

Source

0.16.0

New Features

  • Expose new render, serverRender and serverRenderAsString methods
  • Correctly "simulate" browser behaviour by initial rendering on "server" and hydration on "client"
  • Mount/hydrate with react-dom/server hydrate

Breaking Changes

  • page doesn't render _document when useDocument is true
toomuchdesign
published 0.15.0 •

Changelog

Source

0.15.0

New Features

  • Add req.cookies property in "getServerSideProps"
toomuchdesign
published 0.14.0 •

Changelog

Source

0.14.0

New Features

  • Require and execute _document, _app and pages (including data fetching methods) in expected client or server environment

Bugfixes

  • Ensure only pages with allowed extensions are required
  • Prevent custom app from executing data fetching when useApp is false
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