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

@khanacademy/wonder-blocks-layout

Package Overview
Dependencies
Maintainers
1
Versions
242
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 0.0.0-PR2192-20240228161454 to 0.0.0-PR2201-20240401163347

10

CHANGELOG.md
# @khanacademy/wonder-blocks-layout
## 0.0.0-PR2192-20240228161454
## 0.0.0-PR2201-20240401163347
### Patch Changes
- 845e6e41: Updates the MediaLayout component to respect the value of Server.isServerSide()
## 2.0.28
### Patch Changes
- Updated dependencies [4cfb4977]
- @khanacademy/wonder-blocks-tokens@0.0.0-PR2192-20240228161454
- @khanacademy/wonder-blocks-tokens@1.1.0

@@ -10,0 +16,0 @@ ## 2.0.27

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": "0.0.0-PR2192-20240228161454",
"version": "0.0.0-PR2201-20240401163347",
"design": "v1",

@@ -18,3 +18,3 @@ "publishConfig": {

"@khanacademy/wonder-blocks-core": "^6.3.1",
"@khanacademy/wonder-blocks-tokens": "0.0.0-PR2192-20240228161454"
"@khanacademy/wonder-blocks-tokens": "^1.1.0"
},

@@ -21,0 +21,0 @@ "devDependencies": {

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