New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@themes/react

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@themes/react - npm Package Compare versions

Comparing version
0.0.33
to
0.0.34
+1
-1
dist/hooks/use-match-media.js

@@ -6,3 +6,3 @@ "use strict";

function useMatchMedia(query) {
if (typeof window === 'undefined') {
if (typeof matchMedia !== 'function') {
return false;

@@ -9,0 +9,0 @@ }

{
"name": "@themes/react",
"version": "0.0.33",
"version": "0.0.34",
"description": "",

@@ -24,3 +24,3 @@ "license": "MIT",

"devDependencies": {
"@themes/scheme": "^0.0.33",
"@themes/scheme": "^0.0.34",
"@types/react-test-renderer": "^16.9.1",

@@ -27,0 +27,0 @@ "react-test-renderer": "^16.12.0"

import { useState, useEffect } from 'react'
export function useMatchMedia(query: string): boolean {
if (typeof window === 'undefined') {
if (typeof matchMedia !== 'function') {
return false

@@ -6,0 +6,0 @@ }

Sorry, the diff of this file is not supported yet