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

@graphitation/supermassive

Package Overview
Dependencies
Maintainers
5
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphitation/supermassive - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

12

CHANGELOG.md
# Change Log - @graphitation/supermassive
This log was last generated on Tue, 25 Oct 2022 10:26:10 GMT and should not be manually modified.
This log was last generated on Thu, 27 Oct 2022 12:54:01 GMT and should not be manually modified.
<!-- Start content -->
## 1.1.7
Thu, 27 Oct 2022 12:54:01 GMT
### Patches
- contextPath relative to CWD and resolvers return readonly array (jakubvejr@microsoft.com)
## 1.1.6
Tue, 25 Oct 2022 10:26:10 GMT
Tue, 25 Oct 2022 10:26:19 GMT

@@ -11,0 +19,0 @@ ### Patches

12

lib/bin/supermassive.js

@@ -55,5 +55,5 @@ var __create = Object.create;

var glob = __toESM(require("fast-glob"));
const PREPEND_TO_INTERFACES = `/* eslint-disable */ \r
// @ts-nocheck \r
// This file was automatically generated (by @graphitaiton/supermassive) and should not be edited.\r
const PREPEND_TO_INTERFACES = `/* eslint-disable */
// @ts-nocheck
// This file was automatically generated (by @graphitaiton/supermassive) and should not be edited.
`;

@@ -80,7 +80,7 @@ function supermassive() {

}
function getContextPath(outputDir, inputPath, contextImport) {
function getContextPath(outputDir, contextImport) {
if (!contextImport) {
return;
}
const contextDir = import_path.default.join(import_path.default.dirname(inputPath), contextImport);
const contextDir = import_path.default.join(process.cwd(), contextImport);
return import_path.default.relative(outputDir, contextDir);

@@ -104,3 +104,3 @@ }

const outputDir = import_path.default.join(import_path.default.dirname(fullPath), options.outputDir ? options.outputDir : "__generated__");
let result = (0, import__.generateTS)(document, getContextPath(outputDir, fullPath, options.contextImport), options.contextName);
let result = (0, import__.generateTS)(document, getContextPath(outputDir, options.contextImport), options.contextName);
yield import_promises.default.mkdir(outputDir, { recursive: true });

@@ -107,0 +107,0 @@ const printer = import_typescript.default.createPrinter();

@@ -103,3 +103,3 @@ var __create = Object.create;

leave({ type }) {
return (0, import_utilities.createNullableType)(import_typescript.factory.createArrayTypeNode(type));
return (0, import_utilities.createNullableType)(import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("ReadonlyArray"), [type]));
}

@@ -106,0 +106,0 @@ },

{
"name": "@graphitation/supermassive",
"license": "MIT",
"version": "1.1.6",
"version": "1.1.7",
"bin": {

@@ -6,0 +6,0 @@ "supermassive": "./bin/supermassive.js"

Sorry, the diff of this file is not supported yet

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