Socket
Socket
Sign inDemoInstall

@furystack/rest-service

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/rest-service - npm Package Compare versions

Comparing version 6.2.10 to 6.2.11

12

dist/endpoint-generators/create-get-collection-endpoint.spec.js

@@ -31,4 +31,5 @@ "use strict";

const response = await fetch('http://127.0.0.1:1112/api/entities', { method: 'GET' });
expect(response.ok).toBe(true);
const json = await response.json();
expect(response.status).toBe(200);
const json = await response.json();
expect(json.count).toBe(count);

@@ -58,4 +59,5 @@ expect(json.entries).toEqual(allEntities);

});
expect(response.ok).toBe(true);
const json = await response.json();
expect(response.status).toBe(200);
const json = await response.json();
expect(json.count).toBe(count);

@@ -88,4 +90,5 @@ expect(json.entries).toEqual(orderedEntities);

});
expect(response.ok).toBe(true);
const json = await response.json();
expect(response.status).toBe(200);
const json = await response.json();
expect(json.count).toBe(count);

@@ -118,4 +121,5 @@ expect(json.entries).toEqual(filteredEntities);

});
expect(response.ok).toBe(true);
const json = await response.json();
expect(response.status).toBe(200);
const json = await response.json();
expect(json.count).toBe(count);

@@ -122,0 +126,0 @@ expect(json.entries).toEqual(selectedEntities);

@@ -450,2 +450,19 @@ {

},
"OPTIONS": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"body": {},
"headers": {},
"query": {},
"result": {},
"url": {}
},
"required": [
"result"
],
"type": "object"
},
"type": "object"
},
"PATCH": {

@@ -783,2 +800,19 @@ "additionalProperties": {

},
"OPTIONS": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"body": {},
"headers": {},
"query": {},
"result": {},
"url": {}
},
"required": [
"result"
],
"type": "object"
},
"type": "object"
},
"PATCH": {

@@ -785,0 +819,0 @@ "additionalProperties": false,

{
"name": "@furystack/rest-service",
"version": "6.2.10",
"version": "6.2.11",
"description": "Repository implementation for FuryStack",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -42,4 +42,5 @@ import { usingAsync } from '@furystack/utils'

const response = await fetch('http://127.0.0.1:1112/api/entities', { method: 'GET' })
expect(response.ok).toBe(true)
const json: GetCollectionResult<MockClass> = await response.json()
expect(response.status).toBe(200)
const json: GetCollectionResult<MockClass> = await response.json()
expect(json.count).toBe(count)

@@ -70,4 +71,5 @@ expect(json.entries).toEqual(allEntities)

})
expect(response.ok).toBe(true)
const json: GetCollectionResult<MockClass> = await response.json()
expect(response.status).toBe(200)
const json: GetCollectionResult<MockClass> = await response.json()
expect(json.count).toBe(count)

@@ -104,4 +106,5 @@ expect(json.entries).toEqual(orderedEntities)

})
expect(response.ok).toBe(true)
const json: GetCollectionResult<MockClass> = await response.json()
expect(response.status).toBe(200)
const json: GetCollectionResult<MockClass> = await response.json()
expect(json.count).toBe(count)

@@ -139,5 +142,5 @@ expect(json.entries).toEqual(filteredEntities)

expect(response.ok).toBe(true)
const json: GetCollectionResult<MockClass> = await response.json()
expect(response.status).toBe(200)
const json: GetCollectionResult<MockClass> = await response.json()
expect(json.count).toBe(count)

@@ -144,0 +147,0 @@ expect(json.entries).toEqual(selectedEntities)

@@ -450,2 +450,19 @@ {

},
"OPTIONS": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"body": {},
"headers": {},
"query": {},
"result": {},
"url": {}
},
"required": [
"result"
],
"type": "object"
},
"type": "object"
},
"PATCH": {

@@ -783,2 +800,19 @@ "additionalProperties": {

},
"OPTIONS": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"body": {},
"headers": {},
"query": {},
"result": {},
"url": {}
},
"required": [
"result"
],
"type": "object"
},
"type": "object"
},
"PATCH": {

@@ -785,0 +819,0 @@ "additionalProperties": false,

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