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

partial-hydrate

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

partial-hydrate - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

.parcel-cache/3197035b57371b7f-AssetGraph-0

6

dist/index.d.ts

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

import * as React from 'react';
import * as React from "react";
/**

@@ -30,2 +30,4 @@ * Requires at least one property of the given type T.

};
export declare const PartialHydrate: React.FC<RequireAtLeastOne<PartialHydrateProps, 'minWidth' | 'maxWidth' | 'when'>>;
export const PartialHydrate: React.FC<RequireAtLeastOne<PartialHydrateProps, 'minWidth' | 'maxWidth' | 'when'>>;
//# sourceMappingURL=index.d.ts.map
{
"name": "partial-hydrate",
"description": "Partial React hydration wrapper component based on screen width for faster responsive performances",
"version": "1.2.0",
"version": "1.2.1",
"author": "GeorgeCht <georgecht@icloud.com>",

@@ -19,14 +19,14 @@ "license": "MIT",

"types": "dist/index.d.ts",
"unpkg": "dist/index.umd.js",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"types:check": "tsc --skipLibCheck --noEmit",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint --fix . --ext ts,tsx",
"lint:staged": "npm run lint:fix && npm run format",
"prepare": "husky install",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
"format": "prettier --write src//**/*.{ts,tsx} --config ./.prettierrc",
"preview": "vite preview",
"bundle": "microbundle src/PartialHydrate.tsx",
"test": "jest"
"bundle": "npx parcel build src/PartialHydrate.tsx",
"test": "jest",
"postinstall": "if [ \"$npm_config_omit\" = \"dev\" ]; then echo \"Skip husky installation\"; else husky install; fi"
},

@@ -63,3 +63,2 @@ "husky": {

"dependencies": {
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",

@@ -69,2 +68,4 @@ "react-dom": "^18.2.0"

"devDependencies": {
"@parcel/packager-ts": "^2.11.0",
"@parcel/transformer-typescript-types": "^2.11.0",
"@testing-library/jest-dom": "^6.2.0",

@@ -88,3 +89,4 @@ "@testing-library/react": "^14.1.2",

"jest": "^29.7.0",
"microbundle": "^0.15.1",
"jest-environment-jsdom": "^29.7.0",
"parcel": "^2.11.0",
"prettier": "^3.1.1",

@@ -91,0 +93,0 @@ "react-hooks": "^1.0.1",

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

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