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

@material/typography

Package Overview
Dependencies
Maintainers
14
Versions
1667
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/typography - npm Package Compare versions

Comparing version 15.0.0-canary.4ac393164.0 to 15.0.0-canary.4b35cb7d0.0

2

CHANGELOG.md

@@ -6,4 +6,4 @@ # Change Log

# [15.0.0-canary.4ac393164.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.4ac393164.0) (2022-11-16)
# [15.0.0-canary.4b35cb7d0.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.4b35cb7d0.0) (2024-05-02)
**Note:** Version bump only for package @material/typography
{
"name": "@material/typography",
"description": "Typography classes, mixins, and variables for Material Components for the web",
"version": "15.0.0-canary.4ac393164.0",
"version": "15.0.0-canary.4b35cb7d0.0",
"license": "MIT",

@@ -19,7 +19,7 @@ "keywords": [

"dependencies": {
"@material/feature-targeting": "15.0.0-canary.4ac393164.0",
"@material/theme": "15.0.0-canary.4ac393164.0",
"@material/feature-targeting": "15.0.0-canary.4b35cb7d0.0",
"@material/theme": "15.0.0-canary.4b35cb7d0.0",
"tslib": "^2.1.0"
},
"gitHead": "f14d3444d266ac4c6c92142c377275be3fbc5d0a"
"gitHead": "cba29aaa21c1bc2b1f1a02e5ddfa4a5110d9ef63"
}

@@ -26,4 +26,4 @@ /**

import * as fs from 'fs';
import * as path from 'path';
import {expectStylesWithNoFeaturesToBeEmpty} from '../../../testing/featuretargeting';

@@ -34,16 +34,2 @@

path.join(__dirname, 'feature-targeting-any.test.css'));
it('should allow global variable overrides with @import', () => {
const css = fs.readFileSync(
path.join(__dirname, 'global-variables.test.css'), 'utf8')
.trim();
const headline1Start = css.indexOf('.mdc-typography--headline1 {');
const headline1End = css.indexOf('}', headline1Start);
const headline1Css = css.substring(headline1Start, headline1End);
expect(headline1Css.includes('font-family: Arial'))
.toBe(true, '$mdc-typography-font-family should override');
expect(headline1Css.includes('font-size: 1rem'))
.toBe(
true, '$mdc-typography-styles-headline1-font-size should override');
});
});
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