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

emotion-reset

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emotion-reset - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

4

dist/index.js

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

var _emotion = require('emotion');
var _core = require('@emotion/core');
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
var reset = (0, _emotion.css)(_templateObject);
var reset = (0, _core.css)(_templateObject);
exports.default = reset;
{
"name": "emotion-reset",
"version": "1.0.4",
"version": "2.0.0",
"description": "Reset file for emotion JSS library",

@@ -29,2 +29,3 @@ "main": "dist/index.js",

"devDependencies": {
"@emotion/core": "^10.0.5",
"babel-cli": "^6.26.0",

@@ -34,3 +35,2 @@ "babel-plugin-transform-es2015-block-scoping": "^6.26.0",

"babel-plugin-transform-es2015-template-literals": "^6.22.0",
"emotion": "^8.0.8",
"npm-check-updates": "^2.14.0",

@@ -40,4 +40,4 @@ "reset.css": "^2.0.2"

"peerDependencies": {
"emotion": ">=8"
"@emotion/core": ">=10"
}
}

@@ -18,18 +18,18 @@ # emotion-reset

import emotionReset from 'emotion-reset';
import {injectGlobal} from 'emotion';
import {Global, css} from '@emotion/core';
/* eslint-disable no-unused-expressions */
injectGlobal`
${emotionReset}
render(
<Global styles={css`
${emotionReset}
// You can continue writing global styles, for instance
*, *::after, *::before {
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
}
...
`;
/* eslint-enable */
// You can continue writing global styles, for instance
*, *::after, *::before {
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
}
...
`} />
);
```

@@ -36,0 +36,0 @@

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

import {css} from 'emotion';
import {css} from '@emotion/core';

@@ -3,0 +3,0 @@ const reset = css`

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