New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hyperdart/backend

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperdart/backend - npm Package Compare versions

Comparing version

to
1.0.7

2

dist/index.js

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=["https://unpkg.com/react@17.0.2/umd/react.production.min.js","https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js","https://unpkg.com/@material-ui/core@4.12.4/umd/material-ui.production.min.js"];exports.createDartFrame=(e,n)=>{const o=e?.client?.location||"index.umd.js",i=e?.client?.cdn_libraries||t,r=e?.client?.moduleName||"HDTestComponent",a=e?.name||"hd-test-component",s=e?.client?.baseURL||`/${a}`;return`\n\t<!DOCTYPE html>\n\t<html lang="en">\n\t<head>\n\t\t<script>\n\t\t\ttry {\n\t\t\t\tif (window.parent !== window) {\n\t\t\t\twindow.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(err) {\n\t\t\t\tconsole.log('Error setting dev tools hook', err)\n\t\t\t}\n\t\t<\/script>\n\t\t<meta charset="utf-8" />\n\t\t<meta\n\t\t name="viewport"\n\t\t content="width=device-width, initial-scale=1, shrink-to-fit=no"\n\t\t/>\n\t\t<meta name="theme-color" content="#000000" />\n\t\t<title>${r}</title>\n\t\t${i.reduce(((t,e)=>`\n\t\t${t}\n\t\t${(t=>t.endsWith(".js")?`<script src="${t}" crossorigin><\/script>`:t.endsWith(".css")?`<link rel="stylesheet" href="${t}">`:"")(e)}\n\t\t`),"")}\n\t\t${`<script src="${o}"><\/script>`}\n\t</head>\n\t<body>\t\n \t<noscript>\n \t\tYou need to enable JavaScript to run this app.\n \t</noscript>\n\t\t<div id="root"></div>\n\t\t<script type="module">\n\t\t\tconst resizeObserver = new ResizeObserver((entries) => { \n\t\t\t\t// console.log('Body height changed:', entries[0].target.clientHeight)\n\t\t\t\twindow.parent.postMessage({type: 'resizeIframe', height: entries[0].target.clientHeight}, '*')\n\t\t\t})\n\t\t\tresizeObserver.observe(document.getElementById('root'))\n\t\t\tfunction loadComponent(searchData, UIOptions) {\n\t\t\t\tReactDOM.render(\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\twindow['${r}'], \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsearchData,\n\t\t\t\t\t\t\tUIOptions,\n\t\t\t\t\t\t\tbasename : location.pathname.indexOf('${s}') < 0 ? '' : location.pathname.slice(0, location.pathname.indexOf('${s}')),\n\t\t\t\t\t\t\tbaseURL : '${s}'\n\t\t\t\t\t\t}\n\t\t\t\t\t), \n\t\t\t\t\tdocument.getElementById('root')\n\t\t\t\t)\n\t\t\t}\n\t\t\tloadComponent(${JSON.stringify(n&&n[0])})\n\t\t\twindow.onmessage = function(e) {\n\t\t\t\tif (e.data.type === "dataRefresh")\n\t\t\t\t\tloadComponent(e.data.searchData && e.data.searchData[0], e.data.UIOptions)\n\t\t\t}\n\t\t<\/script>\n\t</body>\n\t</html>\n\t`};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=["https://unpkg.com/react@17.0.2/umd/react.production.min.js","https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js","https://unpkg.com/@material-ui/core@4.12.4/umd/material-ui.production.min.js"];exports.createDartFrame=(e,n)=>{const o=e&&e.client&&e.client.location||"index.umd.js",i=e&&e.client&&e.client.cdn_libraries||t,r=e&&e.client&&e.client.moduleName||"HDTestComponent",a=e&&e.name||"hd-test-component",s=e&&e.client&&e.client.baseURL||`/${a}`;return`\n\t<!DOCTYPE html>\n\t<html lang="en">\n\t<head>\n\t\t<script>\n\t\t\ttry {\n\t\t\t\tif (window.parent !== window) {\n\t\t\t\twindow.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(err) {\n\t\t\t\tconsole.log('Error setting dev tools hook', err)\n\t\t\t}\n\t\t<\/script>\n\t\t<meta charset="utf-8" />\n\t\t<meta\n\t\t name="viewport"\n\t\t content="width=device-width, initial-scale=1, shrink-to-fit=no"\n\t\t/>\n\t\t<meta name="theme-color" content="#000000" />\n\t\t<title>${r}</title>\n\t\t${i.reduce(((t,e)=>`\n\t\t${t}\n\t\t${(t=>t.endsWith(".js")?`<script src="${t}" crossorigin><\/script>`:t.endsWith(".css")?`<link rel="stylesheet" href="${t}">`:"")(e)}\n\t\t`),"")}\n\t\t${`<script src="${o}"><\/script>`}\n\t</head>\n\t<body>\t\n \t<noscript>\n \t\tYou need to enable JavaScript to run this app.\n \t</noscript>\n\t\t<div id="root"></div>\n\t\t<script type="module">\n\t\t\tconst resizeObserver = new ResizeObserver((entries) => { \n\t\t\t\t// console.log('Body height changed:', entries[0].target.clientHeight)\n\t\t\t\twindow.parent.postMessage({type: 'resizeIframe', height: entries[0].target.clientHeight}, '*')\n\t\t\t})\n\t\t\tresizeObserver.observe(document.getElementById('root'))\n\t\t\tfunction loadComponent(searchData, UIOptions) {\n\t\t\t\tReactDOM.render(\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\twindow['${r}'], \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsearchData,\n\t\t\t\t\t\t\tUIOptions,\n\t\t\t\t\t\t\tbasename : location.pathname.indexOf('${s}') < 0 ? '' : location.pathname.slice(0, location.pathname.indexOf('${s}')),\n\t\t\t\t\t\t\tbaseURL : '${s}'\n\t\t\t\t\t\t}\n\t\t\t\t\t), \n\t\t\t\t\tdocument.getElementById('root')\n\t\t\t\t)\n\t\t\t}\n\t\t\tloadComponent(${JSON.stringify(n&&n[0])})\n\t\t\twindow.onmessage = function(e) {\n\t\t\t\tif (e.data.type === "dataRefresh")\n\t\t\t\t\tloadComponent(e.data.searchData && e.data.searchData[0], e.data.UIOptions)\n\t\t\t}\n\t\t<\/script>\n\t</body>\n\t</html>\n\t`};
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

const t=["https://unpkg.com/react@17.0.2/umd/react.production.min.js","https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js","https://unpkg.com/@material-ui/core@4.12.4/umd/material-ui.production.min.js"];var n=(n,e)=>{const o=n?.client?.location||"index.umd.js",i=n?.client?.cdn_libraries||t,a=n?.client?.moduleName||"HDTestComponent",r=n?.name||"hd-test-component",s=n?.client?.baseURL||`/${r}`;return`\n\t<!DOCTYPE html>\n\t<html lang="en">\n\t<head>\n\t\t<script>\n\t\t\ttry {\n\t\t\t\tif (window.parent !== window) {\n\t\t\t\twindow.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(err) {\n\t\t\t\tconsole.log('Error setting dev tools hook', err)\n\t\t\t}\n\t\t<\/script>\n\t\t<meta charset="utf-8" />\n\t\t<meta\n\t\t name="viewport"\n\t\t content="width=device-width, initial-scale=1, shrink-to-fit=no"\n\t\t/>\n\t\t<meta name="theme-color" content="#000000" />\n\t\t<title>${a}</title>\n\t\t${i.reduce(((t,n)=>`\n\t\t${t}\n\t\t${(t=>t.endsWith(".js")?`<script src="${t}" crossorigin><\/script>`:t.endsWith(".css")?`<link rel="stylesheet" href="${t}">`:"")(n)}\n\t\t`),"")}\n\t\t${`<script src="${o}"><\/script>`}\n\t</head>\n\t<body>\t\n \t<noscript>\n \t\tYou need to enable JavaScript to run this app.\n \t</noscript>\n\t\t<div id="root"></div>\n\t\t<script type="module">\n\t\t\tconst resizeObserver = new ResizeObserver((entries) => { \n\t\t\t\t// console.log('Body height changed:', entries[0].target.clientHeight)\n\t\t\t\twindow.parent.postMessage({type: 'resizeIframe', height: entries[0].target.clientHeight}, '*')\n\t\t\t})\n\t\t\tresizeObserver.observe(document.getElementById('root'))\n\t\t\tfunction loadComponent(searchData, UIOptions) {\n\t\t\t\tReactDOM.render(\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\twindow['${a}'], \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsearchData,\n\t\t\t\t\t\t\tUIOptions,\n\t\t\t\t\t\t\tbasename : location.pathname.indexOf('${s}') < 0 ? '' : location.pathname.slice(0, location.pathname.indexOf('${s}')),\n\t\t\t\t\t\t\tbaseURL : '${s}'\n\t\t\t\t\t\t}\n\t\t\t\t\t), \n\t\t\t\t\tdocument.getElementById('root')\n\t\t\t\t)\n\t\t\t}\n\t\t\tloadComponent(${JSON.stringify(e&&e[0])})\n\t\t\twindow.onmessage = function(e) {\n\t\t\t\tif (e.data.type === "dataRefresh")\n\t\t\t\t\tloadComponent(e.data.searchData && e.data.searchData[0], e.data.UIOptions)\n\t\t\t}\n\t\t<\/script>\n\t</body>\n\t</html>\n\t`};export{n as createDartFrame};
const t=["https://unpkg.com/react@17.0.2/umd/react.production.min.js","https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js","https://unpkg.com/@material-ui/core@4.12.4/umd/material-ui.production.min.js"];var n=(n,e)=>{const o=n&&n.client&&n.client.location||"index.umd.js",i=n&&n.client&&n.client.cdn_libraries||t,a=n&&n.client&&n.client.moduleName||"HDTestComponent",r=n&&n.name||"hd-test-component",s=n&&n.client&&n.client.baseURL||`/${r}`;return`\n\t<!DOCTYPE html>\n\t<html lang="en">\n\t<head>\n\t\t<script>\n\t\t\ttry {\n\t\t\t\tif (window.parent !== window) {\n\t\t\t\twindow.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(err) {\n\t\t\t\tconsole.log('Error setting dev tools hook', err)\n\t\t\t}\n\t\t<\/script>\n\t\t<meta charset="utf-8" />\n\t\t<meta\n\t\t name="viewport"\n\t\t content="width=device-width, initial-scale=1, shrink-to-fit=no"\n\t\t/>\n\t\t<meta name="theme-color" content="#000000" />\n\t\t<title>${a}</title>\n\t\t${i.reduce(((t,n)=>`\n\t\t${t}\n\t\t${(t=>t.endsWith(".js")?`<script src="${t}" crossorigin><\/script>`:t.endsWith(".css")?`<link rel="stylesheet" href="${t}">`:"")(n)}\n\t\t`),"")}\n\t\t${`<script src="${o}"><\/script>`}\n\t</head>\n\t<body>\t\n \t<noscript>\n \t\tYou need to enable JavaScript to run this app.\n \t</noscript>\n\t\t<div id="root"></div>\n\t\t<script type="module">\n\t\t\tconst resizeObserver = new ResizeObserver((entries) => { \n\t\t\t\t// console.log('Body height changed:', entries[0].target.clientHeight)\n\t\t\t\twindow.parent.postMessage({type: 'resizeIframe', height: entries[0].target.clientHeight}, '*')\n\t\t\t})\n\t\t\tresizeObserver.observe(document.getElementById('root'))\n\t\t\tfunction loadComponent(searchData, UIOptions) {\n\t\t\t\tReactDOM.render(\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\twindow['${a}'], \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsearchData,\n\t\t\t\t\t\t\tUIOptions,\n\t\t\t\t\t\t\tbasename : location.pathname.indexOf('${s}') < 0 ? '' : location.pathname.slice(0, location.pathname.indexOf('${s}')),\n\t\t\t\t\t\t\tbaseURL : '${s}'\n\t\t\t\t\t\t}\n\t\t\t\t\t), \n\t\t\t\t\tdocument.getElementById('root')\n\t\t\t\t)\n\t\t\t}\n\t\t\tloadComponent(${JSON.stringify(e&&e[0])})\n\t\t\twindow.onmessage = function(e) {\n\t\t\t\tif (e.data.type === "dataRefresh")\n\t\t\t\t\tloadComponent(e.data.searchData && e.data.searchData[0], e.data.UIOptions)\n\t\t\t}\n\t\t<\/script>\n\t</body>\n\t</html>\n\t`};export{n as createDartFrame};
//# sourceMappingURL=index.modern.js.map
{
"name": "@hyperdart/backend",
"version": "1.0.6",
"version": "1.0.7",
"description": "hyperDart backend for dart development",

@@ -18,3 +18,3 @@ "author": "hyperDart",

"files": [
"dist"
"dist/*.js"
],

@@ -21,0 +21,0 @@ "devDependencies": {