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

@apollo/utils.usagereporting

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/utils.usagereporting - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

4

dist/calculateReferencedFieldsByType.js

@@ -8,5 +8,5 @@ "use strict";

const documentSeparatedByOperation = (0, graphql_1.separateOperations)(document);
const filteredDocument = documentSeparatedByOperation[resolvedOperationName !== null && resolvedOperationName !== void 0 ? resolvedOperationName : ""];
const filteredDocument = documentSeparatedByOperation[resolvedOperationName ?? ""];
if (!filteredDocument) {
throw Error(`shouldn't happen: operation '${resolvedOperationName !== null && resolvedOperationName !== void 0 ? resolvedOperationName : ""}' not found`);
throw Error(`shouldn't happen: operation '${resolvedOperationName ?? ""}' not found`);
}

@@ -13,0 +13,0 @@ const typeInfo = new graphql_1.TypeInfo(schema);

{
"name": "@apollo/utils.usagereporting",
"version": "2.0.1",
"version": "3.0.0",
"description": "Generate a signature for Apollo usage reporting",

@@ -21,11 +21,11 @@ "main": "dist/index.js",

"engines": {
"node": ">=14"
"node": ">=16"
},
"dependencies": {
"@apollo/usage-reporting-protobuf": "^4.0.0",
"@apollo/utils.dropunuseddefinitions": "^2.0.1",
"@apollo/utils.stripsensitiveliterals": "^2.0.1",
"@apollo/utils.printwithreducedwhitespace": "^2.0.1",
"@apollo/utils.removealiases": "2.0.1",
"@apollo/utils.sortast": "^2.0.1"
"@apollo/utils.dropunuseddefinitions": "^3.0.0",
"@apollo/utils.stripsensitiveliterals": "^3.0.0",
"@apollo/utils.printwithreducedwhitespace": "^3.0.0",
"@apollo/utils.removealiases": "3.0.0",
"@apollo/utils.sortast": "^3.0.0"
},

@@ -32,0 +32,0 @@ "peerDependencies": {

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