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

insomnia-common

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insomnia-common - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2-alpha.0

20

dist/entities/settings.d.ts
import { HttpVersion } from '../constants';
import { HotKeyRegistry } from './hotkeys';
declare type Sides = 'top' | 'bottom' | 'left' | 'right';
declare type WindowSides = `window-${Sides}`;
declare type SidebarSides = `sidebar-${'edge' | 'indicator'}`;
export declare type EnvironmentHighlightColorStyle = WindowSides | SidebarSides;
export declare enum UpdateChannel {
stable = "stable",
beta = "beta"
}
/** Gets a subset of Settings where the values match a condition */
export declare type SettingsOfType<MatchType> = NonNullable<{
[Key in keyof Settings]: Settings[Key] extends MatchType ? Key : never;
}[keyof Settings]>;
export interface PluginConfig {

@@ -29,3 +41,3 @@ disabled: boolean;

enableAnalytics: boolean;
environmentHighlightColorStyle: string;
environmentHighlightColorStyle: EnvironmentHighlightColorStyle;
filterResponsesByEnv: boolean;

@@ -39,3 +51,2 @@ followRedirects: boolean;

hasPromptedAnalytics: boolean;
hasPromptedOnboarding: boolean;
hasPromptedToMigrateFromDesigner: boolean;

@@ -45,3 +56,3 @@ hotKeyRegistry: HotKeyRegistry;

httpsProxy: string;
isVariableUncovered?: boolean;
showVariableSourceAndValue: boolean;
lightTheme: string;

@@ -64,3 +75,3 @@ lineWrapping?: boolean;

updateAutomatically: boolean;
updateChannel: string;
updateChannel: UpdateChannel;
useBulkHeaderEditor: boolean;

@@ -71,2 +82,3 @@ useBulkParametersEditor: boolean;

}
export {};
//# sourceMappingURL=settings.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateChannel = void 0;
var UpdateChannel;
(function (UpdateChannel) {
UpdateChannel["stable"] = "stable";
UpdateChannel["beta"] = "beta";
})(UpdateChannel = exports.UpdateChannel || (exports.UpdateChannel = {}));
//# sourceMappingURL=settings.js.map

6

package.json
{
"name": "insomnia-common",
"version": "2.4.1",
"version": "2.4.2-alpha.0",
"homepage": "https://insomnia.rest",

@@ -20,3 +20,3 @@ "description": "Top-level entities and utilities for Insomnia",

"bootstrap": "npm run build",
"lint": "eslint . --ext .js,.ts,.tsx",
"lint": "eslint . --ext .js,.ts,.tsx --cache",
"lint:fix": "npm run lint -- --fix",

@@ -32,3 +32,3 @@ "clean": "tsc --build tsconfig.build.json --clean",

},
"gitHead": "dc442174c0fa62c9d3d72801112b6c153920f453"
"gitHead": "71853f77afff202d2c4b8f1152a979f3ed65c7a9"
}
import { HttpVersion } from '../constants';
import { HotKeyRegistry } from './hotkeys';
type Sides = 'top' | 'bottom' | 'left' | 'right';
type WindowSides = `window-${Sides}`;
type SidebarSides = `sidebar-${'edge' | 'indicator'}`;
export type EnvironmentHighlightColorStyle = WindowSides | SidebarSides;
export enum UpdateChannel {
stable = 'stable',
beta = 'beta',
}
/** Gets a subset of Settings where the values match a condition */
export type SettingsOfType<MatchType> = NonNullable<{
[Key in keyof Settings]: Settings[Key] extends MatchType ? Key : never;
}[keyof Settings]>;
export interface PluginConfig {

@@ -35,3 +50,3 @@ disabled: boolean;

enableAnalytics: boolean;
environmentHighlightColorStyle: string;
environmentHighlightColorStyle: EnvironmentHighlightColorStyle;
filterResponsesByEnv: boolean;

@@ -45,3 +60,2 @@ followRedirects: boolean;

hasPromptedAnalytics: boolean;
hasPromptedOnboarding: boolean;
hasPromptedToMigrateFromDesigner: boolean;

@@ -51,3 +65,3 @@ hotKeyRegistry: HotKeyRegistry;

httpsProxy: string;
isVariableUncovered?: boolean;
showVariableSourceAndValue: boolean;
lightTheme: string;

@@ -71,3 +85,3 @@ lineWrapping?: boolean;

updateAutomatically: boolean;
updateChannel: string;
updateChannel: UpdateChannel;
useBulkHeaderEditor: boolean;

@@ -74,0 +88,0 @@ useBulkParametersEditor: boolean;

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