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

@as-integrations/koa

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@as-integrations/koa - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

2

dist/index.d.ts
import type { WithRequired } from '@apollo/utils.withrequired';
import { ApolloServer, BaseContext, ContextFunction } from '@apollo/server';
import { type ApolloServer, type BaseContext, type ContextFunction } from '@apollo/server';
import type Koa from 'koa';

@@ -4,0 +4,0 @@ export interface KoaContextFunctionArgument {

{
"name": "@as-integrations/koa",
"description": "Apollo server integration for koa framework",
"version": "0.3.0",
"version": "1.0.0",
"author": "Matt Gordon <matt@greenside.tech>",

@@ -25,3 +25,3 @@ "license": "MIT",

"engines": {
"node": ">=14.0"
"node": ">=16.0"
},

@@ -31,3 +31,2 @@ "scripts": {

"clean": "git clean -dfqX",
"install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i",
"prepack": "npm run build",

@@ -40,27 +39,32 @@ "prettier-check": "prettier --check .",

"test:ci": "jest --coverage --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"watch": "tsc --build --watch"
"watch": "tsc --build --watch",
"lint": "eslint src/**/*.ts"
},
"devDependencies": {
"@apollo/server": "4.4.0",
"@apollo/server-integration-testsuite": "4.4.0",
"@apollo/server": "4.7.0",
"@apollo/server-integration-testsuite": "4.7.0",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"@changesets/cli": "2.26.1",
"@jest/globals": "29.5.0",
"@koa/cors": "4.0.0",
"@types/jest": "29.4.0",
"@types/koa": "2.13.5",
"@types/jest": "29.5.1",
"@types/koa": "2.13.6",
"@types/koa__cors": "4.0.0",
"@types/koa-bodyparser": "4.3.10",
"@types/koa__cors": "3.3.1",
"@types/node": "14.18.36",
"@types/node": "16.18.25",
"@types/supertest": "2.0.12",
"cspell": "6.26.3",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"cspell": "6.31.1",
"eslint": "8.39.0",
"graphql": "16.6.0",
"jest": "29.4.3",
"jest-junit": "15.0.0",
"koa": "2.14.1",
"koa-bodyparser": "4.3.0",
"prettier": "2.8.4",
"jest": "29.5.0",
"jest-junit": "16.0.0",
"koa": "2.14.2",
"koa-bodyparser": "4.4.0",
"prettier": "2.8.8",
"supertest": "6.3.3",
"ts-jest": "29.0.5",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"typescript": "4.9.5"
"typescript": "5.0.4"
},

@@ -72,5 +76,5 @@ "peerDependencies": {

"volta": {
"node": "18.14.1",
"npm": "9.5.0"
"node": "18.16.0",
"npm": "9.6.5"
}
}

@@ -5,7 +5,7 @@ import { Readable } from 'node:stream';

import {
ApolloServer,
BaseContext,
ContextFunction,
type ApolloServer,
type BaseContext,
type ContextFunction,
type HTTPGraphQLRequest,
HeaderMap,
HTTPGraphQLRequest,
} from '@apollo/server';

@@ -74,3 +74,3 @@ import type Koa from 'koa';

key,
Array.isArray(value) ? value.join(', ') : (value as string),
Array.isArray(value) ? value.join(', ') : value,
);

@@ -77,0 +77,0 @@ }

@@ -21,3 +21,2 @@ {

"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
"lib": ["es2019", "esnext.asynciterable"],

@@ -24,0 +23,0 @@ "types": ["node"],

Sorry, the diff of this file is not supported yet

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