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

sveltekit-search-params

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveltekit-search-params - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "sveltekit-search-params",
"version": "2.1.0",
"version": "2.1.1",
"repository": "git+https://github.com/paoloricciuti/sveltekit-search-params.git",

@@ -5,0 +5,0 @@ "author": "Paolo Ricciuti",

/* eslint-disable @typescript-eslint/no-empty-function */
/* eslint-disable @typescript-eslint/no-explicit-any */
import { browser } from '$app/environment';
import { browser, building } from '$app/environment';
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { derived, get, writable, } from 'svelte/store';
import { page as page_store } from '$app/stores';
import { derived, get, writable, readable, } from 'svelte/store';
import { compressToEncodedURIComponent, decompressFromEncodedURIComponent, } from './lz-string/index.js';
// during building we fake the page store with an URL with no search params
// as it should be during prerendering. This allow the application to still build
// and the client side behavior is still persisted after the build
let page;
if (building) {
page = readable({
url: new URL('https://github.com/paoloricciuti/sveltekit-search-params'),
});
}
else {
page = page_store;
}
const GOTO_OPTIONS = {

@@ -9,0 +21,0 @@ keepFocus: true,

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