Socket
Socket
Sign inDemoInstall

@khanacademy/wonder-blocks-layout

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-layout - npm Package Compare versions

Comparing version 2.0.28 to 2.0.29

6

CHANGELOG.md
# @khanacademy/wonder-blocks-layout
## 2.0.29
### Patch Changes
- c39bfd29: Updates the MediaLayout component to respect the value of Server.isServerSide()
## 2.0.28

@@ -4,0 +10,0 @@

4

dist/es/index.js
import * as React from 'react';
import { Server, View } from '@khanacademy/wonder-blocks-core';
import { spacing } from '@khanacademy/wonder-blocks-tokens';
import { StyleSheet } from 'aphrodite';
import { View } from '@khanacademy/wonder-blocks-core';

@@ -121,3 +121,3 @@ function _extends() {

isServerSide() {
return typeof window === "undefined" || !window.matchMedia;
return Server.isServerSide() || typeof window === "undefined" || !window.matchMedia;
}

@@ -124,0 +124,0 @@ getMockStyleSheet(mediaSize) {

@@ -6,5 +6,5 @@ 'use strict';

var React = require('react');
var wonderBlocksCore = require('@khanacademy/wonder-blocks-core');
var wonderBlocksTokens = require('@khanacademy/wonder-blocks-tokens');
var aphrodite = require('aphrodite');
var wonderBlocksCore = require('@khanacademy/wonder-blocks-core');

@@ -146,3 +146,3 @@ function _interopNamespace(e) {

isServerSide() {
return typeof window === "undefined" || !window.matchMedia;
return wonderBlocksCore.Server.isServerSide() || typeof window === "undefined" || !window.matchMedia;
}

@@ -149,0 +149,0 @@ getMockStyleSheet(mediaSize) {

{
"name": "@khanacademy/wonder-blocks-layout",
"version": "2.0.28",
"version": "2.0.29",
"design": "v1",

@@ -5,0 +5,0 @@ "publishConfig": {

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