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

@emotion/server

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/server - npm Package Compare versions

Comparing version 11.0.0-next.16 to 11.0.0-next.17

7

CHANGELOG.md
# @emotion/server
## 11.0.0-next.17
### Patch Changes
- Updated dependencies []:
- @emotion/css@11.0.0-next.17
## 11.0.0-next.16

@@ -4,0 +11,0 @@

18

create-instance/dist/server.browser.cjs.js

@@ -5,8 +5,12 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var through = require('through');
var tokenize = require('html-tokenize');
var pipe = require('multipipe');
var through = _interopDefault(require('through'));
var tokenize = _interopDefault(require('html-tokenize'));
var pipe = _interopDefault(require('multipipe'));
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
var through__default = /*#__PURE__*/_interopDefault(through);
var tokenize__default = /*#__PURE__*/_interopDefault(tokenize);
var pipe__default = /*#__PURE__*/_interopDefault(pipe);
var createExtractCritical = function createExtractCritical(cache) {

@@ -117,4 +121,4 @@ return function (html) {

var insed = {};
var tokenStream = tokenize();
var inlineStream = through(function write(thing) {
var tokenStream = tokenize__default['default']();
var inlineStream = through__default['default'](function write(thing) {
var type = thing[0],

@@ -153,3 +157,3 @@ data = thing[1];

});
return pipe(tokenStream, inlineStream);
return pipe__default['default'](tokenStream, inlineStream);
};

@@ -156,0 +160,0 @@ };

@@ -5,8 +5,12 @@ 'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var through = require('through');
var tokenize = require('html-tokenize');
var pipe = require('multipipe');
var through = _interopDefault(require('through'));
var tokenize = _interopDefault(require('html-tokenize'));
var pipe = _interopDefault(require('multipipe'));
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
var through__default = /*#__PURE__*/_interopDefault(through);
var tokenize__default = /*#__PURE__*/_interopDefault(tokenize);
var pipe__default = /*#__PURE__*/_interopDefault(pipe);
var createExtractCritical = function createExtractCritical(cache) {

@@ -117,4 +121,4 @@ return function (html) {

var insed = {};
var tokenStream = tokenize();
var inlineStream = through(function write(thing) {
var tokenStream = tokenize__default['default']();
var inlineStream = through__default['default'](function write(thing) {
var type = thing[0],

@@ -153,3 +157,3 @@ data = thing[1];

});
return pipe(tokenStream, inlineStream);
return pipe__default['default'](tokenStream, inlineStream);
};

@@ -156,0 +160,0 @@ };

"use strict";
function _interopDefault(ex) {
return ex && "object" == typeof ex && "default" in ex ? ex.default : ex;
}
Object.defineProperty(exports, "__esModule", {

@@ -11,3 +7,11 @@ value: !0

var through = _interopDefault(require("through")), tokenize = _interopDefault(require("html-tokenize")), pipe = _interopDefault(require("multipipe")), createExtractCritical = function(cache) {
var through = require("through"), tokenize = require("html-tokenize"), pipe = require("multipipe");
function _interopDefault(e) {
return e && e.__esModule ? e : {
default: e
};
}
var through__default = _interopDefault(through), tokenize__default = _interopDefault(tokenize), pipe__default = _interopDefault(pipe), createExtractCritical = function(cache) {
return function(html) {

@@ -50,3 +54,3 @@ for (var match, RGX = new RegExp(cache.key + "-([a-zA-Z0-9-_]+)", "gm"), o = {

return function() {
var insed = {}, tokenStream = tokenize(), inlineStream = through((function(thing) {
var insed = {}, tokenStream = tokenize__default.default(), inlineStream = through__default.default((function(thing) {
var type = thing[0], data = thing[1];

@@ -64,3 +68,3 @@ if ("open" === type) {

}));
return pipe(tokenStream, inlineStream);
return pipe__default.default(tokenStream, inlineStream);
};

@@ -67,0 +71,0 @@ };

@@ -5,3 +5,3 @@ 'use strict';

var server = require('../create-instance/dist/server.browser.cjs.js');
var createInstance_dist_server = require('../create-instance/dist/server.browser.cjs.js');
require('through');

@@ -12,3 +12,3 @@ require('html-tokenize');

var _createEmotionServer = server.default(css.cache),
var _createEmotionServer = createInstance_dist_server['default'](css.cache),
extractCritical = _createEmotionServer.extractCritical,

@@ -15,0 +15,0 @@ renderStylesToString = _createEmotionServer.renderStylesToString,

@@ -5,3 +5,3 @@ 'use strict';

var server = require('../create-instance/dist/server.cjs.dev.js');
var createInstance_dist_server = require('../create-instance/dist/server.cjs.dev.js');
require('through');

@@ -12,3 +12,3 @@ require('html-tokenize');

var _createEmotionServer = server.default(css.cache),
var _createEmotionServer = createInstance_dist_server['default'](css.cache),
extractCritical = _createEmotionServer.extractCritical,

@@ -15,0 +15,0 @@ renderStylesToString = _createEmotionServer.renderStylesToString,

@@ -7,9 +7,9 @@ "use strict";

var server = require("../create-instance/dist/server.cjs.prod.js");
var createInstance_dist_server = require("../create-instance/dist/server.cjs.prod.js");
require("through"), require("html-tokenize"), require("multipipe");
var css = require("@emotion/css"), _createEmotionServer = server.default(css.cache), extractCritical = _createEmotionServer.extractCritical, renderStylesToString = _createEmotionServer.renderStylesToString, renderStylesToNodeStream = _createEmotionServer.renderStylesToNodeStream;
var css = require("@emotion/css"), _createEmotionServer = createInstance_dist_server.default(css.cache), extractCritical = _createEmotionServer.extractCritical, renderStylesToString = _createEmotionServer.renderStylesToString, renderStylesToNodeStream = _createEmotionServer.renderStylesToNodeStream;
exports.extractCritical = extractCritical, exports.renderStylesToNodeStream = renderStylesToNodeStream,
exports.renderStylesToString = renderStylesToString;
{
"name": "@emotion/server",
"version": "11.0.0-next.16",
"version": "11.0.0-next.17",
"description": "Extract and inline critical css with emotion for server side rendering.",

@@ -23,3 +23,3 @@ "main": "dist/server.cjs.js",

"peerDependencies": {
"@emotion/css": "^11.0.0-next.16"
"@emotion/css": "^11.0.0-next.17"
},

@@ -32,4 +32,4 @@ "peerDependenciesMeta": {

"devDependencies": {
"@emotion/babel-plugin": "11.0.0-next.16",
"@emotion/css": "11.0.0-next.16",
"@emotion/babel-plugin": "11.0.0-next.17",
"@emotion/css": "11.0.0-next.17",
"@emotion/css-prettifier": "1.0.0-next.0",

@@ -36,0 +36,0 @@ "@types/node": "^10.11.4",

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