Socket
Socket
Sign inDemoInstall

aphrodite

Package Overview
Dependencies
3
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

.nyc_output/30211.json

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.1.1
- Add `minify` and `flushToStyleTag` to no-important ([#316](https://github.com/Khan/aphrodite/pull/316))
# 2.1.0

@@ -2,0 +6,0 @@

5

es/no-important.js

@@ -1162,4 +1162,5 @@ import calc from 'inline-style-prefixer/static/plugins/calc';

StyleSheetTestUtils$1 = Aphrodite.StyleSheetTestUtils,
css = Aphrodite.css;
css = Aphrodite.css,
minify = Aphrodite.minify;
export { StyleSheet$1 as StyleSheet, StyleSheetServer$1 as StyleSheetServer, StyleSheetTestUtils$1 as StyleSheetTestUtils, css };
export { StyleSheet$1 as StyleSheet, StyleSheetServer$1 as StyleSheetServer, StyleSheetTestUtils$1 as StyleSheetTestUtils, css, minify, flushToStyleTag };

@@ -1168,3 +1168,4 @@ 'use strict';

StyleSheetTestUtils$1 = Aphrodite.StyleSheetTestUtils,
css = Aphrodite.css;
css = Aphrodite.css,
minify = Aphrodite.minify;

@@ -1175,1 +1176,3 @@ exports.StyleSheet = StyleSheet$1;

exports.css = css;
exports.minify = minify;
exports.flushToStyleTag = flushToStyleTag;
{
"name": "aphrodite",
"version": "2.1.0",
"version": "2.1.1",
"description": "Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation",

@@ -50,3 +50,3 @@ "keywords": [

"caniuse-api": "^2.0.0",
"chai": "^3.3.0",
"chai": "^4.1.2",
"coveralls": "^2.12.0",

@@ -53,0 +53,0 @@ "cross-env": "^5.1.3",

@@ -628,2 +628,3 @@ # Aphrodite: Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation

- [Aphrodite output tool](https://output.jsbin.com/qoseye) - Paste what you pass to `StyleSheet.create` and see the generated CSS
- [jest-aphrodite-react](https://github.com/dmiller9911/jest-aphrodite-react) - Utilities for testing with React and Jest.

@@ -630,0 +631,0 @@ # TODO

@@ -7,2 +7,3 @@ /* @flow */

import makeExports from './exports';
import {flushToStyleTag} from './inject';

@@ -21,2 +22,3 @@ const useImportant = false; // Don't add !important to style definitions

css,
minify
} = Aphrodite;

@@ -29,2 +31,4 @@

css,
minify,
flushToStyleTag,
};

@@ -44,1 +44,7 @@ import asap from 'asap';

});
it('no-important exports match default package exports', () => {
const defaultExports = require('../src/index');
const noImportantExports = require('../src/no-important');
assert.hasAllKeys(noImportantExports, Object.keys(defaultExports));
});

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc