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

@payloadcms/live-preview

Package Overview
Dependencies
Maintainers
6
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@payloadcms/live-preview - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

3

dist/handleMessage.js

@@ -27,4 +27,5 @@ "use strict";

}
return initialData;
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9oYW5kbGVNZXNzYWdlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IG1lcmdlRGF0YSB9IGZyb20gJy4nXG5cbmV4cG9ydCBjb25zdCBoYW5kbGVNZXNzYWdlID0gYXN5bmMgPFQ+KGFyZ3M6IHtcbiAgZGVwdGg6IG51bWJlclxuICBldmVudDogTWVzc2FnZUV2ZW50XG4gIGluaXRpYWxEYXRhOiBUXG4gIHNlcnZlclVSTDogc3RyaW5nXG59KTogUHJvbWlzZTxUPiA9PiB7XG4gIGNvbnN0IHsgZGVwdGgsIGV2ZW50LCBpbml0aWFsRGF0YSwgc2VydmVyVVJMIH0gPSBhcmdzXG5cbiAgaWYgKGV2ZW50Lm9yaWdpbiA9PT0gc2VydmVyVVJMICYmIGV2ZW50LmRhdGEpIHtcbiAgICBjb25zdCBldmVudERhdGEgPSBKU09OLnBhcnNlKGV2ZW50Py5kYXRhKVxuXG4gICAgaWYgKGV2ZW50RGF0YS50eXBlID09PSAnbGl2ZVByZXZpZXcnKSB7XG4gICAgICBjb25zdCBtZXJnZWREYXRhID0gYXdhaXQgbWVyZ2VEYXRhPFQ+KHtcbiAgICAgICAgZGVwdGgsXG4gICAgICAgIGZpZWxkU2NoZW1hOiBldmVudERhdGEuZmllbGRTY2hlbWFKU09OLFxuICAgICAgICBpbmNvbWluZ0RhdGE6IGV2ZW50RGF0YS5kYXRhLFxuICAg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wiaW5jb21pbmdEYXRhIl0sIm1hcHBpbmdzIjoiOzs7OytCQUVhQTs7O2VBQUFBOzs7a0JBRmE7QUFFbkIsTUFBTUEsZ0JBQWdCLE9BQVVDO0lBTXJDLE1BQU0sRUFBRUMsS0FBSyxFQUFFQyxLQUFLLEVBQUVDLFdBQVcsRUFBRUMsU0FBUyxFQUFFLEdBQUdKO0lBRWpELElBQUlFLE1BQU1HLE1BQU0sS0FBS0QsYUFBYUYsTUFBTUksSUFBSSxFQUFFO1FBQzVDLE1BQU1DLFlBQVlDLEtBQUtDLEtBQUssQ0FBQ1AsT0FBT0k7UUFFcEMsSUFBSUMsVUFBVUcsSUFBSSxLQUFLLGVBQWU7WUFDcEMsTUFBTUMsYUFBYSxNQUFNQyxJQUFBQSxXQUFTLEVBQUk7Z0JBQ3BDWDtnQkFDQVksYUFBYU4sVUFBVU8sZUFBZTtnQkFDdENDLGNBQWNSLFVBQVVELElBQUk7Z0JBQzVCSDtnQkFDQUM7WUFDRjtZQUVBLE9BQU9PO1FBQ1Q7SUFDRjtJQUVBLE9BQU9SO0FBQ1QifQ==
{
"name": "@payloadcms/live-preview",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "The official live preview JavaScript SDK for Payload",

@@ -17,4 +17,4 @@ "repository": "https://github.com/payloadcms/payload",

"@types/react": "18.2.15",
"@payloadcms/eslint-config": "0.0.1",
"payload": "2.0.0-beta.15"
"payload": "2.0.0-beta.15",
"@payloadcms/eslint-config": "0.0.1"
},

@@ -21,0 +21,0 @@ "exports": null,

Sorry, the diff of this file is not supported yet

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