Socket
Socket
Sign inDemoInstall

pake-cli

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pake-cli - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

src-tauri/icons/poe.icns

3

dist/cli.js

@@ -2521,3 +2521,3 @@ import * as Commander from 'commander';

var name = "pake-cli";
var version = "2.0.0";
var version = "2.0.1";
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";

@@ -2558,2 +2558,3 @@ var engines = {

"build:all-windows": "pwsh ./script/build.ps1",
analyze: "cd src-tauri && cargo bloat --release --crates",
tauri: "tauri",

@@ -2560,0 +2561,0 @@ cli: "rollup -c rollup.config.js --watch",

{
"name": "pake-cli",
"version": "2.0.0",
"version": "2.0.1",
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",

@@ -39,2 +39,3 @@ "engines": {

"build:all-windows": "pwsh ./script/build.ps1",
"analyze": "cd src-tauri && cargo bloat --release --crates",
"tauri": "tauri",

@@ -41,0 +42,0 @@ "cli": "rollup -c rollup.config.js --watch",

@@ -119,3 +119,6 @@ const shortcuts = {

// Handling external link redirection.
if (window.location.host !== hrefUrl.host && (target === '_blank'|| target === '_new')) {
if (
window.location.host !== hrefUrl.host &&
(target === '_blank' || target === '_new')
) {
e.preventDefault();

@@ -127,3 +130,6 @@ invoke('open_browser', { url: absoluteUrl });

// Process download links for Rust to handle.
if (/\.[a-zA-Z0-9]+$/i.test(removeUrlParameters(absoluteUrl))) {
if (
/\.[a-zA-Z0-9]+$/i.test(removeUrlParameters(absoluteUrl)) &&
!externalDownLoadLink()
) {
e.preventDefault();

@@ -140,4 +146,2 @@ invoke('download_file', {

setDefaultZoom();
// Rewrite the window.open function.

@@ -159,2 +163,9 @@ const originalWindowOpen = window.open;

};
// Set the default zoom, There are problems with Loop without using try-catch.
try {
setDefaultZoom();
} catch (e) {
console.log(e);
}
});

@@ -180,1 +191,19 @@

}
// No need to go to the download link.
function externalDownLoadLink() {
return ['quickref.me'].indexOf(location.hostname) > -1;
}
// Toggle video playback when the window is hidden.
function toggleVideoPlayback(pause) {
const videos = document.getElementsByTagName('video');
for (const video of videos) {
if (pause) {
video.pause();
} else {
video.play();
}
}
}

@@ -20,3 +20,6 @@ window.addEventListener('DOMContentLoaded', (_event) => {

#app > div.layout > div.main-container > div.side-bar > li.divider,
#Rightbar > div:nth-child(6) > div.sidebar_compliance {
#Rightbar > div:nth-child(6) > div.sidebar_compliance,
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside > div > div > a.ChatPageFollowTwitterLink_followLink__Gl2tt,
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside > div > div > a.Button_buttonBase__0QP_m.Button_primary__pIDjn.ChatPageDownloadLinks_downloadButton__amBRh,
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside > div > div > section a[href*="/contact"] {
display: none !important;

@@ -35,10 +38,17 @@ }

#page .main_header, .cb-layout-basic--navbar,
#app .splitpanes.splitpanes--horizontal.no-splitter header {
#app .splitpanes.splitpanes--horizontal.no-splitter header,
.fui-FluentProvider .fui-Button[data-testid="HomeButton"],
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside .ChatPageSidebar_logo__9PIXq {
padding-top: 20px;
}
.fui-FluentProvider .fui-Button[data-testid="HomeButton"]{
padding-top: 20px;
#__next .PageWithSidebarLayout_mainSection__i1yOg {
width: 100%;
max-width: 1000px;
}
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside{
min-width: 260px;
}
.chakra-ui-light #app .chakra-heading,

@@ -49,3 +59,4 @@ .chakra-ui-dark #app .chakra-heading,

.app-main .sidebar-mouse-in-out,
.chakra-modal__content-container .chakra-modal__header > div > div {
.chakra-modal__content-container .chakra-modal__header > div > div,
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > section > header {
padding-top: 10px;

@@ -52,0 +63,0 @@ }

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