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

@argos-ci/browser

Package Overview
Dependencies
Maintainers
1
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 1.3.0 to 1.4.0

23

dist/index.d.ts

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

declare function resolveViewport(viewportOption: ViewportOption): ViewportSize;
export { ViewportOrientation, ViewportPreset, ViewportPresetOption, ViewportOption, resolveViewport };
type SetupOptions = {
fullPage?: boolean;
argosCSS?: string;
};
type TeardownOptions = {
fullPage?: boolean;
argosCSS?: string;
};
declare const ArgosGlobal: {
waitForStability: () => boolean;
setup: (options?: SetupOptions) => void;
teardown: (options?: TeardownOptions) => void;
getColorScheme: () => "dark" | "light";
getMediaType: () => "print" | "screen";
};
type ArgosGlobal = typeof ArgosGlobal;
/**
* Read the global script and return it as a string.
*/
declare function getGlobalScript(): string;
export { ViewportOrientation, ViewportPreset, ViewportPresetOption, ViewportOption, resolveViewport, getGlobalScript };
export type { ArgosGlobal };

13

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

@@ -32,10 +32,2 @@ "license": "MIT",

},
"./global.js": {
"types": "./dist/global.d.ts",
"default": "./dist/global.js"
},
"./cypress.cjs": {
"types": "./dist/cypress.d.ts",
"default": "./dist/cypress.cjs"
},
"./package.json": "./package.json"

@@ -52,5 +44,6 @@ },

"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/node": "^16.0.0"
},
"gitHead": "ac02d37ca89f73359fba70cfe9b579396c3260d8"
"gitHead": "dbd169d2307a498a7c44001197924947c28be803"
}

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