@shopify/react-serialize
Advanced tools
Comparing version 1.0.15 to 1.0.16
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var React = tslib_1.__importStar(require("react")); | ||
var react_1 = tslib_1.__importDefault(require("react")); | ||
var serialize_javascript_1 = tslib_1.__importDefault(require("serialize-javascript")); | ||
@@ -12,4 +12,4 @@ var utilities_1 = require("./utilities"); | ||
: {}; | ||
return (React.createElement("script", tslib_1.__assign({ type: "text/json", id: utilities_1.serializedID(id), dangerouslySetInnerHTML: { __html: serialize_javascript_1.default(data) } }, additionalProps))); | ||
return (react_1.default.createElement("script", tslib_1.__assign({ type: "text/json", id: utilities_1.serializedID(id), dangerouslySetInnerHTML: { __html: serialize_javascript_1.default(data) } }, additionalProps))); | ||
} | ||
exports.default = Serializer; |
{ | ||
"name": "@shopify/react-serialize", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Provides an idiomatic way to serialize data for rehydration in a universal react application.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10130