@shopify/react-serialize
Advanced tools
Comparing version 1.0.10 to 1.0.12
"use strict"; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var React = __importStar(require("react")); | ||
var serialize_javascript_1 = __importDefault(require("serialize-javascript")); | ||
var tslib_1 = require("tslib"); | ||
var React = tslib_1.__importStar(require("react")); | ||
var serialize_javascript_1 = tslib_1.__importDefault(require("serialize-javascript")); | ||
var utilities_1 = require("./utilities"); | ||
@@ -32,4 +12,4 @@ function Serializer(_a) { | ||
: {}; | ||
return (React.createElement("script", __assign({ type: "text/json", id: utilities_1.serializedID(id), dangerouslySetInnerHTML: { __html: serialize_javascript_1.default(data) } }, additionalProps))); | ||
return (React.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.10", | ||
"version": "1.0.12", | ||
"license": "MIT", | ||
@@ -26,3 +26,4 @@ "description": "Provides an idiomatic way to serialize data for rehydration in a universal react application.", | ||
"dependencies": { | ||
"serialize-javascript": "^1.5.0" | ||
"serialize-javascript": "^1.5.0", | ||
"tslib": "^1.9.3" | ||
}, | ||
@@ -29,0 +30,0 @@ "peerDependencies": { |
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
15
10124
3
206
+ Addedtslib@^1.9.3
+ Addedtslib@1.14.1(transitive)