emotion-server
Advanced tools
Comparing version 11.0.0-next.8 to 11.0.0-next.10
# emotion-server | ||
## 11.0.0-next.10 | ||
### Major Changes | ||
- [`b8476e08`](https://github.com/emotion-js/emotion/commit/b8476e08af4a2e8de94a112cb0daf6e8e4d56fe1) [#1600](https://github.com/emotion-js/emotion/pull/1600) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Rename `emotion-server` to `@emotion/server`. Please change any imports of `emotion-server` to import `@emotion/server` or use the `@emotion/pkg-renaming` ESLint rule from `@emotion/eslint-plugin`. | ||
## 11.0.0-next.8 | ||
@@ -4,0 +10,0 @@ |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var createEmotionServer = _interopDefault(require('create-emotion-server')); | ||
var emotion = require('emotion'); | ||
var _createEmotionServer = createEmotionServer(emotion.cache), | ||
extractCritical = _createEmotionServer.extractCritical, | ||
renderStylesToString = _createEmotionServer.renderStylesToString, | ||
renderStylesToNodeStream = _createEmotionServer.renderStylesToNodeStream; | ||
exports.extractCritical = extractCritical; | ||
exports.renderStylesToNodeStream = renderStylesToNodeStream; | ||
exports.renderStylesToString = renderStylesToString; | ||
throw new Error("The `emotion-server` package has been renamed to `@emotion/server`. Please import it like this `import { extractCritical, renderStylesToString, renderStylesToNodeStream } from '@emotion/server'`."); |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var createEmotionServer = _interopDefault(require('create-emotion-server')); | ||
var emotion = require('emotion'); | ||
var _createEmotionServer = createEmotionServer(emotion.cache), | ||
extractCritical = _createEmotionServer.extractCritical, | ||
renderStylesToString = _createEmotionServer.renderStylesToString, | ||
renderStylesToNodeStream = _createEmotionServer.renderStylesToNodeStream; | ||
exports.extractCritical = extractCritical; | ||
exports.renderStylesToNodeStream = renderStylesToNodeStream; | ||
exports.renderStylesToString = renderStylesToString; | ||
throw new Error("The `emotion-server` package has been renamed to `@emotion/server`. Please import it like this `import { extractCritical, renderStylesToString, renderStylesToNodeStream } from '@emotion/server'`."); |
"use strict"; | ||
function _interopDefault(ex) { | ||
return ex && "object" == typeof ex && "default" in ex ? ex.default : ex; | ||
} | ||
Object.defineProperty(exports, "__esModule", { | ||
value: !0 | ||
}); | ||
var createEmotionServer = _interopDefault(require("create-emotion-server")), emotion = require("emotion"), _createEmotionServer = createEmotionServer(emotion.cache), extractCritical = _createEmotionServer.extractCritical, renderStylesToString = _createEmotionServer.renderStylesToString, renderStylesToNodeStream = _createEmotionServer.renderStylesToNodeStream; | ||
exports.extractCritical = extractCritical, exports.renderStylesToNodeStream = renderStylesToNodeStream, | ||
exports.renderStylesToString = renderStylesToString; | ||
throw new Error("The `emotion-server` package has been renamed to `@emotion/server`. Please import it like this `import { extractCritical, renderStylesToString, renderStylesToNodeStream } from '@emotion/server'`."); |
{ | ||
"name": "emotion-server", | ||
"version": "11.0.0-next.8", | ||
"version": "11.0.0-next.10", | ||
"description": "Extract and inline critical css with emotion for server side rendering.", | ||
@@ -10,19 +10,7 @@ "main": "dist/emotion-server.cjs.js", | ||
"dist", | ||
"types" | ||
"types/*.d.ts" | ||
], | ||
"scripts": { | ||
"test:typescript": "dtslint types" | ||
"test:typescript": "exit 0" | ||
}, | ||
"dependencies": { | ||
"create-emotion-server": "11.0.0-next.0" | ||
}, | ||
"peerDependencies": { | ||
"emotion": "^11.0.0-next.8" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^10.11.4", | ||
"babel-plugin-emotion": "^11.0.0-next.8", | ||
"dtslint": "^0.3.0", | ||
"emotion": "^11.0.0-next.8" | ||
}, | ||
"author": "Kye Hohenberger", | ||
@@ -29,0 +17,0 @@ "homepage": "https://emotion.sh", |
@@ -1,9 +0,3 @@ | ||
// @flow | ||
import createEmotionServer from 'create-emotion-server' | ||
import { cache } from 'emotion' | ||
export const { | ||
extractCritical, | ||
renderStylesToString, | ||
renderStylesToNodeStream | ||
} = createEmotionServer(cache) | ||
throw new Error( | ||
"The `emotion-server` package has been renamed to `@emotion/server`. Please import it like this `import { extractCritical, renderStylesToString, renderStylesToNodeStream } from '@emotion/server'`." | ||
) |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
0
0
3914
7
15
1
0
- Removedcreate-emotion-server@11.0.0-next.0
- Removed@emotion/utils@0.11.2(transitive)
- Removedbuffer-from@0.1.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcreate-emotion-server@11.0.0-next.0(transitive)
- Removedduplexer2@0.1.4(transitive)
- Removedemotion@11.0.0(transitive)
- Removedhtml-tokenize@2.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@0.0.11.0.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmultipipe@1.0.2(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-keys@0.4.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@1.0.342.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@0.10.311.1.1(transitive)
- Removedthrough@2.3.8(transitive)
- Removedthrough2@0.4.2(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@2.1.2(transitive)