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

@hedia/test

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hedia/test - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

14

package.json
{
"name": "@hedia/test",
"version": "3.5.0",
"version": "3.5.1",
"description": "Tools for testing and reporting",

@@ -44,10 +44,10 @@ "homepage": "https://github.com/hedia-team/test#readme",

"dependencies": {
"@hedia/html": "^3.4.2"
"@hedia/html": "^4.0.0"
},
"devDependencies": {
"@hedia/eslint-config": "5.0.1",
"@hedia/package-lint": "1.2.1",
"@hedia/prettier-config": "1.2.1",
"@hedia/tsconfig": "2.1.1",
"@types/node": "22.9.0"
"@hedia/eslint-config": "5.1.1",
"@hedia/package-lint": "1.2.2",
"@hedia/prettier-config": "1.2.2",
"@hedia/tsconfig": "2.1.2",
"@types/node": "22.10.1"
},

@@ -54,0 +54,0 @@ "engines": {

@@ -31,9 +31,9 @@ # Test

- _resource_ is the url of the request you want to mock. It can be a string, a URL, or a regular expression.
If a string or a URL is provided, the mock will match the url exactly with the resource except for any search query parameters.
Search query parameters will be parsed so their order does not matter.
Furthermore, all search query parameters given in the resource specification will be required but any extra query parameters used in the fetch call will be ignored. See example below.
If a regular expression is provided, the mock will match the url with the resource using the regular expression.
- _fetchImplementation_ is a function that will be called when a fetch request is made to the resource.
- _method_ is an optional property that specifies the method of the request you want to mock. If it is not provided, the mock will match any method.
- _resource_ is the url of the request you want to mock. It can be a string, a URL, or a regular expression.
If a string or a URL is provided, the mock will match the url exactly with the resource except for any search query parameters.
Search query parameters will be parsed so their order does not matter.
Furthermore, all search query parameters given in the resource specification will be required but any extra query parameters used in the fetch call will be ignored. See example below.
If a regular expression is provided, the mock will match the url with the resource using the regular expression.
- _fetchImplementation_ is a function that will be called when a fetch request is made to the resource.
- _method_ is an optional property that specifies the method of the request you want to mock. If it is not provided, the mock will match any method.

@@ -40,0 +40,0 @@ ```javascript

Sorry, the diff of this file is not supported yet

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