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

playwright-core

Package Overview
Dependencies
Maintainers
4
Versions
4753
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-core - npm Package Compare versions

Comparing version 1.50.0-alpha-2025-01-11 to 1.50.0-alpha-2025-01-12

lib/vite/recorder/assets/codeMirrorModule-Dpwxnkcp.js

18

lib/utils/isomorphic/ariaSnapshot.js

@@ -115,2 +115,10 @@ "use strict";

if (valueIsScalar) {
const type = typeof value.value;
if (type !== 'string' && type !== 'number' && type !== 'boolean') {
errors.push({
message: 'Node value should be a string or a sequence',
range: convertRange(entry.value.range || map.range)
});
continue;
}
container.children.push({

@@ -151,3 +159,9 @@ ...childNode,

message: 'Aria snapshot must be a YAML sequence, elements starting with " -"',
range: convertRange(yamlDoc.contents.range)
range: yamlDoc.contents ? convertRange(yamlDoc.contents.range) : [{
line: 0,
col: 0
}, {
line: 0,
col: 0
}]
});

@@ -181,3 +195,3 @@ }

function valueOrRegex(value) {
return value.startsWith('/') && value.endsWith('/') ? {
return value.startsWith('/') && value.endsWith('/') && value.length > 1 ? {
pattern: value.slice(1, -1)

@@ -184,0 +198,0 @@ } : normalizeWhitespace(value);

2

package.json
{
"name": "playwright-core",
"version": "1.50.0-alpha-2025-01-11",
"version": "1.50.0-alpha-2025-01-12",
"description": "A high-level API to automate web browsers",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is too big to display

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

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