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

@augment-vir/browser

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@augment-vir/browser - npm Package Compare versions

Comparing version 21.7.0 to 22.0.0

4

dist/augments/elements/query-children.js

@@ -1,2 +0,2 @@

import { isRuntimeTypeOf } from '@augment-vir/common';
import { isRunTimeType } from 'run-time-assertions';
import { getNestedChildren } from './element-children';

@@ -11,3 +11,3 @@ /**

export function queryChildren(startingElement, query) {
const finalQuery = isRuntimeTypeOf(query, 'string') ? query : query.tagName;
const finalQuery = isRunTimeType(query, 'string') ? query : query.tagName;
const allNestedChildren = getNestedChildren(startingElement);

@@ -14,0 +14,0 @@ const matches = allNestedChildren.filter((child) => child.matches(finalQuery));

@@ -1,2 +0,3 @@

import { isRuntimeTypeOf, isTruthy } from '@augment-vir/common';
import { isTruthy } from '@augment-vir/common';
import { isRunTimeType } from 'run-time-assertions';
export function queryThroughShadow(inputs) {

@@ -75,3 +76,3 @@ const splitQuery = inputs.query.split(' ').filter(isTruthy);

}
if (isRuntimeTypeOf(results, 'array')) {
if (isRunTimeType(results, 'array')) {
return results

@@ -78,0 +79,0 @@ .map((result) => {

{
"name": "@augment-vir/browser",
"version": "21.7.0",
"version": "22.0.0",
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/browser",

@@ -27,8 +27,9 @@ "bugs": {

"dependencies": {
"@augment-vir/common": "^21.7.0",
"@augment-vir/common": "^22.0.0",
"element-vir": "^17.0.0",
"html-spec-tags": "^1.0.0"
"html-spec-tags": "^1.0.0",
"run-time-assertions": "^0.2.0"
},
"devDependencies": {
"@augment-vir/browser-testing": "^21.7.0",
"@augment-vir/browser-testing": "^22.0.0",
"@open-wc/testing": "^4.0.0",

@@ -43,4 +44,3 @@ "@types/chai": "^4.3.10",

"istanbul-smart-text-reporter": "^1.1.2",
"run-time-assertions": "^0.1.3",
"type-fest": "^4.7.1",
"type-fest": "^4.8.1",
"typescript": "^5.2.2"

@@ -47,0 +47,0 @@ },

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