Comparing version
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ Apache License |
{ | ||
"name": "gennyflow", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"description": "Easily download one or more DOM elements as images in Webflow", | ||
@@ -5,0 +5,0 @@ "main": "src/index.ts", |
@@ -80,3 +80,3 @@  | ||
[Cloneable here](https://gennyflow-cloneable.webflow.io/) | ||
[Cloneable here](https://webflow.com/made-in-webflow/website/gennyflow-cloneable) | ||
@@ -83,0 +83,0 @@ ### Example, HTML |
@@ -26,3 +26,3 @@ import { runCorsProxy } from "./cors-proxy"; | ||
// Backwards compatible node ignoring from html2canvas | ||
await prepareIgnoredNodes; | ||
prepareIgnoredNodes(); | ||
@@ -29,0 +29,0 @@ // Gets array of tuples representing images, see captureImage() documentation for more info |
@@ -0,0 +0,0 @@ import { isValidUrl } from "../utils"; |
@@ -0,0 +0,0 @@ import { isValidUrl } from "../utils"; |
@@ -0,0 +0,0 @@ import { blobToDataURL, isValidUrl } from "../utils"; |
@@ -0,0 +0,0 @@ import download from "downloadjs"; |
@@ -0,0 +0,0 @@ import { closeLoader, initLoader } from "./utils"; |
@@ -0,0 +0,0 @@ import { isVisible } from "./utils/is-visible"; |
@@ -0,0 +0,0 @@ import { attributesToCheck } from "."; |
@@ -0,0 +0,0 @@ import { getUserValue } from "../utils"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { updateLoadingMessage } from "../utils"; |
@@ -0,0 +0,0 @@ import { gennyFlow } from "./gennyFlow"; |
@@ -0,0 +0,0 @@ export interface Options { |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ // Function to get user input value |
@@ -0,0 +0,0 @@ /** |
// Find elements with the specified attributes and add the class to them | ||
export async function prepareIgnoredNodes() { | ||
export function prepareIgnoredNodes() { | ||
document | ||
.querySelectorAll('[gf="ignore"], [data-html2canvas-ignore="true"]') | ||
.querySelectorAll('[gf=ignore], [gf-ignore=true], [data-html2canvas-ignore=true]') | ||
.forEach((element) => { | ||
element.classList.add("gf_ignore-item"); | ||
console.log('ignore element found') | ||
}); | ||
@@ -8,0 +9,0 @@ } |
@@ -0,0 +0,0 @@ import { |
@@ -0,0 +0,0 @@ // Helper function to check if a URL is valid and not a data URL |
@@ -0,0 +0,0 @@ /** |
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
export function updateLoadingMessage( | ||
export async function updateLoadingMessage( | ||
message: string, | ||
@@ -34,0 +34,0 @@ loaderStatus: boolean = false |
@@ -0,0 +0,0 @@ import { convertToSlug } from "./convert-to-slug"; |
@@ -0,0 +0,0 @@ const path = require("path"); |
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 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
791014
0.19%899
0.11%4
-20%