@alwaysmeticulous/recorder-loader
Advanced tools
Comparing version 2.0.4 to 2.2.1
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("MeticulousRecoderLoader",[],t):"object"==typeof exports?exports.MeticulousRecoderLoader=t():e.MeticulousRecoderLoader=t()}(self,(()=>(()=>{"use strict";var e={46:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.loadAndStartRecorder=void 0,t.loadAndStartRecorder=e=>{let t=!1;return new Promise(((o,r)=>{const n=e.maxMsToBlockFor||2e3;n>0&&setTimeout((()=>{t=!0,o()}),n);const d=document.createElement("script");d.type="text/javascript";const i=e.snippetsBaseUrl||"https://snippet.meticulous.ai";d.src=new URL("v1/stagingMeticulousSnippetManualInit.js",i).href,window.METICULOUS_RECORDING_TOKEN=e.projectId,e.uploadIntervalMs&&(window.METICULOUS_UPLOAD_INTERVAL_MS=e.uploadIntervalMs),e.commitHash&&(window.METICULOUS_APP_COMMIT_HASH=e.commitHash),e.snapshotLinkedStylesheets&&(window.METICULOUS_SNAPSHOT_LINKED_STYLESHEETS=e.snapshotLinkedStylesheets),d.onload=function(){var e;if(t)console.debug("Meticulous snippet abandoned due to max blocking time reached.");else{try{null===(e=window.__meticulous)||void 0===e||e.initialiseRecorder()}catch(e){r(e)}o()}},d.onerror=()=>{r("Meticulous recorder failed to initialise.")},document.head.appendChild(d)}))}}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var d=t[r]={exports:{}};return e[r](d,d.exports,o),d.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.loadAndStartRecorder=void 0;var t=o(46);Object.defineProperty(e,"loadAndStartRecorder",{enumerable:!0,get:function(){return t.loadAndStartRecorder}})})(),r})())); | ||
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define("MeticulousRecoderLoader",[],o):"object"==typeof exports?exports.MeticulousRecoderLoader=o():e.MeticulousRecoderLoader=o()}(self,(()=>(()=>{"use strict";var e={46:(e,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.loadAndStartRecorder=void 0,o.loadAndStartRecorder=({projectId:e,uploadIntervalMs:o,snapshotLinkedStylesheets:t,commitHash:r,maxMsToBlockFor:d,snippetsBaseUrl:n})=>{let i=!1;return new Promise(((a,s)=>{const c=null!=d?d:2e3;c>0&&setTimeout((()=>{i=!0,a()}),c);const u=document.createElement("script");u.type="text/javascript";const l=n||"https://snippet.meticulous.ai";u.src=new URL("v1/stagingMeticulousSnippetManualInit.js",l).href,window.METICULOUS_RECORDING_TOKEN=e,void 0!==o&&(window.METICULOUS_UPLOAD_INTERVAL_MS=o),void 0!==r&&(window.METICULOUS_APP_COMMIT_HASH=r),void 0!==t&&(window.METICULOUS_SNAPSHOT_LINKED_STYLESHEETS=t),u.onload=function(){var e;if(i)console.debug("Meticulous snippet abandoned due to max blocking time reached.");else{try{null===(e=window.__meticulous)||void 0===e||e.initialiseRecorder()}catch(e){s(e)}a()}},u.onerror=()=>{s("Meticulous recorder failed to initialise.")},document.head.appendChild(u)}))}}},o={};function t(r){var d=o[r];if(void 0!==d)return d.exports;var n=o[r]={exports:{}};return e[r](n,n.exports,t),n.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.loadAndStartRecorder=void 0;var o=t(46);Object.defineProperty(e,"loadAndStartRecorder",{enumerable:!0,get:function(){return o.loadAndStartRecorder}})})(),r})())); |
{ | ||
"name": "@alwaysmeticulous/recorder-loader", | ||
"version": "2.0.4", | ||
"version": "2.2.1", | ||
"license": "ISC", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "92bb745725b78c02f8322d20052de910158e201b" | ||
"gitHead": "5b7f933c229d4a5cb308b8d97f9d3366523d5378" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
4757