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

@argos-ci/browser

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@argos-ci/browser - npm Package Compare versions

Comparing version 2.1.6 to 2.2.0

dist/index.global.js

27

dist/index.d.ts

@@ -87,2 +87,3 @@ type ViewportOrientation = "portrait" | "landscape";

declare function resolveViewport(viewportOption: ViewportOption): ViewportSize;
type SetupOptions = {

@@ -96,4 +97,23 @@ fullPage?: boolean;

};
type StabilizationOptions = {
/**
* Wait for [aria-busy="true"] elements to be invisible.
* @default true
*/
ariaBusy?: boolean;
/**
* Wait for images to be loaded.
* @default true
*/
images?: boolean;
/**
* Wait for fonts to be loaded.
* @default true
*/
fonts?: boolean;
};
declare const ArgosGlobal: {
waitForStability: () => boolean;
checkIsStable: (options?: StabilizationOptions) => boolean;
getStabilityFailureReasons: (options?: StabilizationOptions) => string[];
setup: (options?: SetupOptions) => void;

@@ -105,2 +125,3 @@ teardown: (options?: TeardownOptions) => void;

type ArgosGlobal = typeof ArgosGlobal;
/**

@@ -110,3 +131,3 @@ * Read the global script and return it as a string.

declare function getGlobalScript(): string;
export { ViewportOrientation, ViewportSize, ViewportPreset, ViewportPresetOption, ViewportOption, resolveViewport, getGlobalScript };
export type { ArgosGlobal };
export { ArgosGlobal, type StabilizationOptions, type ViewportOption, type ViewportOrientation, type ViewportPreset, type ViewportPresetOption, type ViewportSize, getGlobalScript, resolveViewport };

15

package.json
{
"name": "@argos-ci/browser",
"description": "Browser utilities to stabilize visual testing with Argos.",
"version": "2.1.6",
"version": "2.2.0",
"author": "Smooth Code",

@@ -28,4 +28,4 @@ "license": "MIT",

"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
"import": "./dist/index.js",
"default": "./dist/index.js"
},

@@ -39,12 +39,9 @@ "./package.json": "./package.json"

"scripts": {
"prebuild": "rm -rf dist",
"build-schema-types": "openapi-typescript https://api.argos-ci.dev:4001/v2/openapi.yaml -o dist/schema.ts",
"build": "rollup -c"
"build": "rm -rf dist && tsup --config global.tsup.config.ts && tsup"
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.7",
"@types/node": "^18.19.44",
"openapi-typescript": "^7.3.0"
"openapi-typescript": "^7.4.2"
},
"gitHead": "d0fa8cd790ffd2343d1cd32706bcb757c4f3b26e"
"gitHead": "fe6e055a43e955e7df362ddaec59c84dc274bbb2"
}
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