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

@magidoc/plugin-reverse-schema-mapper

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magidoc/plugin-reverse-schema-mapper - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

vitest.config.ts

16

package.json

@@ -5,3 +5,3 @@ {

"private": false,
"version": "2.6.0",
"version": "2.6.1",
"type": "module",

@@ -27,10 +27,8 @@ "license": "MIT",

"devDependencies": {
"@jest/types": "^28.1.3",
"@types/jest": "^28.1.6",
"@types/node": "^18.0.6",
"jest": "^28.1.3",
"jest-extended": "^3.0.1",
"@types/node": "^18.6.1",
"c8": "^7.12.0",
"rollup": "^2.77.0",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
"typescript": "^4.7.4",
"vite": "^3.0.3",
"vitest": "^0.19.1"
},

@@ -44,5 +42,5 @@ "peerDependencies": {

"build:tsc": "tsc --build tsconfig.build.json",
"test": "jest",
"test": "vitest run --coverage",
"release": "pnpm publish --no-git-checks --access public"
}
}
import { GraphQLNamedType, GraphQLObjectType } from 'graphql'
import { createReverseMapping } from '../src'
import { ReferenceKind } from '../src/reverseUsage'
import { describe, it, expect } from 'vitest'

@@ -5,0 +6,0 @@ const schema = getTestSchema()

@@ -27,3 +27,5 @@ import {

if (!result) {
fail(`field ${name} should not be null... did you modify the test schema?`)
throw new Error(
`field ${name} should not be null... did you modify the test schema?`,
)
}

@@ -30,0 +32,0 @@

@@ -17,4 +17,4 @@ {

},
"include": ["src/**/*.ts", "tests/**/*.ts"],
"include": ["vitest.config.ts", "src/**/*.ts", "tests/**/*.ts"],
"exclude": ["node_modules"]
}
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