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

astro-vtbot

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-vtbot - npm Package Compare versions

Comparing version 1.9.3 to 1.9.4

4

components/css.ts

@@ -86,3 +86,5 @@ const decodeDiv = document.createElement('div');

const matches = text.matchAll(new RegExp(`${property}:\\s*([^;}]*)`, 'gu'));
[...matches].forEach((match) => set.add(decode(property, match[1]!)));
[...matches].forEach((match) =>
set.add(decode(property, match[1]!.replace(/\s*!important\s*$/, '')))
);
});

@@ -89,0 +91,0 @@

@@ -44,3 +44,3 @@ const PERSIST_ATTR = "data-astro-transition-persist";

newEl.replaceWith(el);
if (newEl.localName === "astro-island" && shouldCopyProps(el)) {
if (newEl.localName === "astro-island" && shouldCopyProps(el) && !isSameProps(el, newEl)) {
el.setAttribute("ssr", "");

@@ -90,2 +90,5 @@ el.setAttribute("props", newEl.getAttribute("props"));

};
const isSameProps = (oldEl, newEl) => {
return oldEl.getAttribute("props") === newEl.getAttribute("props");
};
const swapFunctions = {

@@ -92,0 +95,0 @@ deselectScripts,

@@ -6,3 +6,3 @@ {

},
"version": "1.9.3",
"version": "1.9.4",
"description": "The πŸ‘œ Bag of Tricks ✨ for Astro's View Transitions",

@@ -80,3 +80,3 @@ "homepage": "https://events-3bg.pages.dev/",

"@vtbag/element-crossing": "^1.0.1",
"@vtbag/inspection-chamber": "^1.0.12"
"@vtbag/inspection-chamber": "^1.0.13"
},

@@ -91,3 +91,3 @@ "devDependencies": {

"@types/node": "^22.5.5",
"astro": "^4.15.5",
"astro": "^4.15.8",
"prettier": "^3.3.3",

@@ -94,0 +94,0 @@ "prettier-plugin-astro": "^0.14.1",

@@ -19,6 +19,6 @@ No, its **_NOT_** a roBOT πŸ€–, its a πŸ‘œ <b>B</b>ag <b>o</b>f <b>T</b>ricks!✨

Bug fix for the Linter and an update of the InspectionChamber!
Bug fix and version bumps.
For details, see the [CHANGELOG of the Bag](https://github.com/martrapp/astro-vtbot/blob/main/CHANGELOG.md) and of the [CHANGELOG of the InstructionChamber](https://github.com/vtbag/inspection-chamber/blob/main/CHANGELOG.md)
For details, see the [CHANGELOG](https://github.com/martrapp/astro-vtbot/blob/main/CHANGELOG.md)

@@ -25,0 +25,0 @@ ## Recently Learned Tricks ##

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