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

@guardian/src-helpers

Package Overview
Dependencies
Maintainers
46
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/src-helpers - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0-rc.0

8

dist/helpers.esm.js

@@ -5,15 +5,15 @@ import { background, brandBackground, brandAltBackground } from '@guardian/src-foundations/palette';

inverse: {
name: "inverse",
name: 'inverse',
value: background.inverse
},
"default": {
name: "default",
name: 'default',
value: background.primary
},
brand: {
name: "brand",
name: 'brand',
value: brandBackground.primary
},
brandAlt: {
name: "brandAlt",
name: 'brandAlt',
value: brandAltBackground.primary

@@ -20,0 +20,0 @@ }

@@ -9,15 +9,15 @@ 'use strict';

inverse: {
name: "inverse",
name: 'inverse',
value: palette.background.inverse
},
"default": {
name: "default",
name: 'default',
value: palette.background.primary
},
brand: {
name: "brand",
name: 'brand',
value: palette.brandBackground.primary
},
brandAlt: {
name: "brandAlt",
name: 'brandAlt',
value: palette.brandAltBackground.primary

@@ -24,0 +24,0 @@ }

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

export { storybookBackgrounds } from "./storybook-bg";
export * from "./types";
export { storybookBackgrounds } from './storybook-bg';
export * from './types';
{
"name": "@guardian/src-helpers",
"version": "3.1.0",
"license": "Apache-2.0",
"main": "dist/helpers.js",
"module": "dist/helpers.esm.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/guardian/source.git"
},
"scripts": {
"build": "yarn clean && tsc && rollup --config",
"clean": "rm -rf dist *.d.ts tsconfig.tsbuildinfo",
"prepublish": "yarn build",
"publish:public": "yarn publish --access public",
"verbump:major": "yarn version --major --no-git-tag-version",
"verbump:minor": "yarn version --minor --no-git-tag-version",
"verbump:preminor": "yarn version --preminor --preid rc --no-git-tag-version",
"verbump:premajor": "yarn version --premajor --preid rc --no-git-tag-version",
"verbump:patch": "yarn version --patch --no-git-tag-version",
"verbump:prerelease": "yarn version --prerelease --preid rc --no-git-tag-version"
},
"files": [
"*.d.ts",
"dist/helpers.esm.js"
],
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.10.0",
"@babel/preset-react": "^7.10.0",
"@babel/preset-typescript": "^7.9.0",
"@guardian/src-foundations": "^3.1.0",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^4.1.3"
},
"dependencies": {
"@guardian/src-foundations": "^3.1.0"
}
"name": "@guardian/src-helpers",
"version": "3.2.0-rc.0",
"repository": {
"type": "git",
"url": "https://github.com/guardian/source.git"
},
"license": "Apache-2.0",
"main": "dist/helpers.js",
"module": "dist/helpers.esm.js",
"types": "index.d.ts",
"files": [
"*.d.ts",
"dist/helpers.esm.js"
],
"scripts": {
"build": "yarn clean && tsc && rollup --config",
"clean": "rm -rf dist *.d.ts tsconfig.tsbuildinfo",
"prepublish": "yarn build",
"publish:public": "yarn publish --access public",
"verbump:major": "yarn version --major --no-git-tag-version",
"verbump:minor": "yarn version --minor --no-git-tag-version",
"verbump:patch": "yarn version --patch --no-git-tag-version",
"verbump:premajor": "yarn version --premajor --preid rc --no-git-tag-version",
"verbump:preminor": "yarn version --preminor --preid rc --no-git-tag-version",
"verbump:prerelease": "yarn version --prerelease --preid rc --no-git-tag-version"
},
"dependencies": {
"@guardian/src-foundations": "^3.2.0-rc.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.10.0",
"@babel/preset-react": "^7.10.0",
"@babel/preset-typescript": "^7.9.0",
"@guardian/src-foundations": "^3.2.0-rc.0",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^4.1.3"
}
}

@@ -1,3 +0,3 @@

import { ThemeName } from "./types";
declare type Background = ThemeName | "inverse";
import { ThemeName } from './types';
declare type Background = ThemeName | 'inverse';
declare const storybookBackgrounds: {

@@ -4,0 +4,0 @@ [key in Background]: {

@@ -1,3 +0,3 @@

import { SerializedStyles } from "@emotion/react";
export declare type ThemeName = "default" | "brand" | "brandAlt";
import { SerializedStyles } from '@emotion/react';
export declare type ThemeName = 'default' | 'brand' | 'brandAlt';
export interface Props {

@@ -4,0 +4,0 @@ className?: string;

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