New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loki/target-chrome-core

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loki/target-chrome-core - npm Package Compare versions

Comparing version 0.22.0 to 0.23.0

8

package.json
{
"name": "@loki/target-chrome-core",
"version": "0.22.0",
"version": "0.23.0",
"description": "Loki Chrome target core lib",

@@ -23,4 +23,4 @@ "keywords": [

"dependencies": {
"@loki/browser": "^0.22.0",
"@loki/core": "^0.22.0"
"@loki/browser": "^0.23.0",
"@loki/core": "^0.23.0"
},

@@ -30,3 +30,3 @@ "publishConfig": {

},
"gitHead": "0afc976871107720e6eddcf70f5a582a9dc958b0"
"gitHead": "510fd0501e27efde006d906b60a0cf1e41c49015"
}

@@ -285,6 +285,6 @@ const debug = require('debug')('loki:chrome');

const getStoryUrl = (kind, story) =>
`${resolvedBaseUrl}/iframe.html?selectedKind=${encodeURIComponent(
kind
)}&selectedStory=${encodeURIComponent(story)}`;
const getStoryUrl = storyId =>
`${resolvedBaseUrl}/iframe.html?id=${encodeURIComponent(
storyId
)}&viewMode=story`;

@@ -298,2 +298,3 @@ const launchStoriesTab = withTimeout(LOADING_STORIES_TIMEOUT)(

clearBrowserCookies: false,
fetchFailIgnore: '/__webpack_hmr',
});

@@ -325,8 +326,3 @@ await tab.loadUrl(url);

async function captureScreenshotForStory(
kind,
story,
options,
configuration
) {
async function captureScreenshotForStory(storyId, options, configuration) {
let tabOptions = Object.assign(

@@ -346,3 +342,3 @@ {

const selector = configuration.chromeSelector || options.chromeSelector;
const url = getStoryUrl(kind, story);
const url = getStoryUrl(storyId);

@@ -349,0 +345,0 @@ const tab = await launchNewTab(tabOptions);

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