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

@progress/kendo-popup-common

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-popup-common - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1-dev.201806191441

2

dist/npm/main.js

@@ -500,2 +500,2 @@ 'use strict';

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbIi91c3IvbG9jYWwvamVua2lucy93b3Jrc3BhY2Uva2VuZG8tcG9wdXAtY29tbW9uX3JlbGVhc2Uvc3JjL2FsaWduLXBvaW50LmpzIiwiL3Vzci9sb2NhbC9qZW5raW5zL3dvcmtzcGFjZS9rZW5kby1wb3B1cC1jb21tb25fcmVsZWFzZS9zcmMvYWxpZ24uanMiLCIvdXNyL2xvY2FsL2plbmtpbnMvd29ya3NwYWNlL2tlbmRvLXBvcHVwLWNvbW1vbl9yZWxlYXNlL3NyYy9hZGQtc2Nyb2xsLmpzIiwiL3Vzci9sb2NhbC9qZW5raW5zL3dvcmtzcGFjZS9rZW5kby1wb3B1cC1jb21tb25fcmVsZWFzZS9zcmMvYXBwbHktbG9jYXRpb24tb2Zmc2V0LmpzIiwiL3Vzci9sb2NhbC9qZW5raW5zL3dvcmtzcGFjZS9rZW5kby1wb3B1cC1jb21tb25fcmVsZWFzZS9zcmMvb3duZXItZG9jdW1lbnQuanMiLCIvdXNyL2xvY2FsL2plbmtpbnMvd29ya3NwYWNlL2tlbmRvLXBvcHVwLWNvbW1vbl9yZWxlYXNlL3NyYy93aW5kb3cuanMiLCIvdXNyL2xvY2FsL2plbmtpbnMvd29ya3NwYWNlL2tlbmRvLXBvcHVwLWNvbW1vbl9yZWxlYXNlL3NyYy9kb2N1bWVudC5qcyIsIi91c3IvbG9jYWwvamVua2lucy93b3Jrc3BhY2U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Y29uc3QgaXNCZWZvcmVBbmNob3IgPSBhbmNob3JBbGlnblBvaW50ID09PSBhbGlnblBvaW50LnRvcCB8fCBhbmNob3JBbGlnblBvaW50ID09PSBhbGlnblBvaW50LmxlZnQ7XG4gICAgICAgIGlmIChvZmZzZXQgPCAwICYmIGlzQmVmb3JlQW5jaG9yKSB7XG4gICAgICAgICAgICBvdXRwdXQgPSBzaXplICsgYW5jaG9yU2l6ZSArIG1hcmdpblRvQWRkO1xuICAgICAgICAgICAgaWYgKG9mZnNldCArIG91dHB1dCArIHNpemUgPiB2aWV3UG9ydFNpemUpIHtcbiAgICAgICAgICAgICAgICBvdXRwdXQgPSAwOyAvL3NraXAgZmxpcFxuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKG9mZnNldCA+PSAwICYmICFpc0JlZm9yZUFuY2hvcikge1xuICAgICAgICAgICAgaWYgKG9mZnNldCArIHNpemUgPiB2aWV3UG9ydFNpemUpIHtcbiAgICAgICAgICAgICAgICBvdXRwdXQgKz0gLShhbmNob3JTaXplICsgc2l6ZSArIG1hcmdpblRvQWRkKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKG9mZnNldCArIG91dHB1dCA8IDApIHtcbiAgICAgICAgICAgICAgICBvdXRwdXQgPSAwOyAvL3NraXAgZmxpcFxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIG91dHB1dDtcbn07XG5cbmNvbnN0IHJlc3RyaWN0VG9WaWV3ID0gKG9wdGlvbnMpID0+IHtcbiAgICBjb25zdCB7IGFuY2hvclJlY3QsIGFuY2hvckFsaWduLCBlbGVtZW50UmVjdCwgZWxlbWVudEFsaWduLCBjb2xsaXNpb25zLCB2aWV3UG9ydCwgbWFyZ2luID0ge30gfSA9IG9wdGlvbnM7XG4gICAgY29uc3QgeyB0b3A6IGVsZW1lbnRUb3AsIGxlZnQ6IGVsZW1lbnRMZWZ0LCBoZWlnaHQ6IGVsZW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ICBhbmNob3JTaXplOiBhbmNob3JSZWN0LmhlaWdodCxcbiAgICAgICAgICAgIHZpZXdQb3J0U2l6ZTogdmlld1BvcnRIZWlnaHQsXG4gICAgICAgICAgICBhbmNob3JBbGlnblBvaW50OiBhbmNob3JBbGlnbi52ZXJ0aWNhbCxcbiAgICAgICAgICAgIGVsZW1lbnRBbGlnblBvaW50OiBlbGVtZW50QWxpZ24udmVydGljYWxcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgaWYgKGlzSG9yaXpvbnRhbEZsaXApIHtcbiAgICAgICAgbGVmdCArPSBmbGlwKHtcbiAgICAgICAgICAgIG1hcmdpbjogaG9yaXpvbnRhbE1hcmdpbixcbiAgICAgICAgICAgIG9mZnNldDogZWxlbWVudExlZnQsXG4gICAgICAgICAgICBzaXplOiBlbGVtZW50V2lkdGgsXG4gICAgICAgICAgICBhbmNob3JTaXplOiBhbmNob3JSZWN0LndpZHRoLFxuICAgICAgICAgICAgdmlld1BvcnRTaXplOiB2aWV3UG9ydFdpZHRoLFxuICAgICAgICAgICAgYW5jaG9yQWxpZ25Qb2ludDogYW5jaG9yQWxpZ24uaG9yaXpvbnRhbCxcbiAgICAgICAgICAgIGVsZW1lbnRBbGlnblBvaW50OiBlbGVtZW50QWxpZ24uaG9yaXpvbnRhbFxuICAgICAgICB9KTtcbiAgICB9XG4gICAgY29uc3QgZmxpcHBlZEhvcml6b250YWwgPSBpc0hvcml6b250YWxGbGlwICYmIGxlZnQgIT09IDA7XG4gICAgY29uc3QgZmxpcHBlZFZlcnRpY2FsID0gaXNWZXJ0aWNhbEZsaXAgJiYgdG9wICE9PSAwO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgICAgZmxpcHBlZDogZmxpcHBlZEhvcml6b250YWwgfHwgZmxpcHBlZFZlcnRpY2FsLFxuICAgICAgICBmbGlwOiB7XG4gICAgICAgICAgICBob3Jpem9udGFsOiBmbGlwcGVkSG9yaXpvbnRhbCxcbiAgICAgICAgICAgIHZlcnRp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0FDckQ7O0lBRUQsT0FBTyxNQUFNLENBQUM7Q0FDakIsQ0FBQSxBQUFDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9

@@ -6,3 +6,3 @@ {

"license": "Apache-2.0",
"version": "1.6.0",
"version": "1.6.1-dev.201806191441",
"main": "dist/npm/main.js",

@@ -13,4 +13,4 @@ "module": "dist/es/main.js",

"es2015": "dist/es2015/main.js",
"jsdelivr": "dist/cdn/js/kendo-popup-common.js",
"unpkg": "dist/cdn/js/kendo-popup-common.js",
"jsdelivr": "dist/cdn/main.js",
"unpkg": "dist/cdn/main.js",
"scripts": {

@@ -27,3 +27,3 @@ "build-package": "gulp build-rollup-package build-cdn",

"@telerik/eslint-config": "^1.0.0",
"@telerik/kendo-package-tasks": "^2.0.0",
"@telerik/kendo-package-tasks": "^2.1.0",
"@telerik/semantic-prerelease": "^1.0.0",

@@ -30,0 +30,0 @@ "@krux/condition-jenkins": "1.0.1",

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