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

microfiber

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microfiber - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

23

dist/microfiber.js

@@ -370,2 +370,25 @@ "use strict";

try {
// If we are removing a special type like a Query or Mutation or Subscription
// then there's some special stuff to do
if ((0, _etc.typesAreSame)(this.getQueryType() || {}, {
kind,
name
})) {
delete this.queryTypeName;
delete this.schema.queryType;
} else if ((0, _etc.typesAreSame)(this.getMutationType() || {}, {
kind,
name
})) {
delete this.mutationTypeName;
delete this.schema.mutationType;
} else if ((0, _etc.typesAreSame)(this.getSubscriptionType() || {}, {
kind,
name
})) {
delete this.subscriptionTypeName;
delete this.schema.subscriptionType;
} // Do this *after* the special stuff above, if necessary
delete this.schema.types[typeIndex];

@@ -372,0 +395,0 @@ delete this.typeToIndexMap[typeKey];

5

package.json
{
"name": "microfiber",
"version": "1.0.0",
"version": "1.0.1",
"description": "A library to query and manipulate GraphQL Introspection Query results in some useful ways.",

@@ -53,3 +54,3 @@ "author": "Chris Newhouse",

"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",

@@ -56,0 +57,0 @@ "@babel/register": "^7.17.0",

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