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

stardust

Package Overview
Dependencies
Maintainers
13
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stardust - npm Package Compare versions

Comparing version 0.27.4 to 0.27.5

14

CHANGELOG.md

@@ -5,6 +5,18 @@ # Change Log

[Full Changelog](https://github.com/TechnologyAdvice/stardust/compare/v0.27.3...HEAD)
[Full Changelog](https://github.com/TechnologyAdvice/stardust/compare/v0.27.4...HEAD)
**Merged pull requests:**
- Add Flag examples [\#357](https://github.com/TechnologyAdvice/stardust/pull/357) ([fodurrr](https://github.com/fodurrr))
## [v0.27.4](https://github.com/TechnologyAdvice/stardust/tree/v0.27.4) (2016-08-02)
[Full Changelog](https://github.com/TechnologyAdvice/stardust/compare/v0.27.3...v0.27.4)
**Implemented enhancements:**
- How to access input value while typing on Dropdown [\#355](https://github.com/TechnologyAdvice/stardust/issues/355)
- Add Dropdown onSearchChange callback [\#360](https://github.com/TechnologyAdvice/stardust/pull/360) ([levithomason](https://github.com/levithomason))
**Merged pull requests:**
- Update Flag rest props and propTypes [\#359](https://github.com/TechnologyAdvice/stardust/pull/359) ([levithomason](https://github.com/levithomason))

@@ -11,0 +23,0 @@

7

dist/utils/debug.js

@@ -6,2 +6,5 @@ 'use strict';

});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var debug = void 0;

@@ -17,6 +20,6 @@ var noop = function noop() {

try {
localStorage.debug = localStorage.debug || 'stardust:*';
if ((typeof localStorage === 'undefined' ? 'undefined' : _typeof(localStorage)) === 'object') localStorage.debug = localStorage.debug || 'stardust:*';
} catch (err) {
/* eslint-disable no-console */
console.log('Stardust debug disabled. The browser could not write to localStorage.', err);
console.log('Stardust debug disabled. Could not write to localStorage.', err);
/* eslint-enable no-console */

@@ -23,0 +26,0 @@ }

@@ -7,2 +7,4 @@ 'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _debug = require('./debug');

@@ -12,23 +14,23 @@

// do nothing if we're not in a browser
/**
* Ensure the user's app only uses our one copy of jQuery and SUI jQuery plugins.
*/
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && window.window === window) {
var debug = (0, _debug.makeDebugger)('jquery');
var jQuery = void 0;
if (window.jQuery) jQuery = window.jQuery;else if ((0, _get3.default)(window, '$.prototype.jquery')) jQuery = window.$;
var debug = (0, _debug.makeDebugger)('jquery');
if (jQuery) {
/* eslint-disable no-console */
console.error(['Do not load jQuery on the window, it is bundled with Stardust.', 'Stardust will soon be jQuery free: https://github.com/TechnologyAdvice/stardust/issues/247.', 'Note that, until this is complete, including jQuery on the page will mean that jQuery ' + 'is included twice: once on the window, and then again by Stardust and Semantic UI which ' + 'will overwrite `window.jQuery`.'].join(' '));
/* eslint-enable no-console */
}
var jQuery = void 0;
if (window.jQuery) jQuery = window.jQuery;else if ((0, _get3.default)(window, '$.prototype.jquery')) jQuery = window.$;
debug('Loading jQuery');
window.jQuery = window.$ = require('jquery');
if (jQuery) {
/* eslint-disable no-console */
console.error(['Do not load jQuery on the window, it is bundled with Stardust.', 'Stardust will soon be jQuery free: https://github.com/TechnologyAdvice/stardust/issues/247.', 'Note that, until this is complete, including jQuery on the page will mean that jQuery ' + 'is included twice: once on the window, and then again by Stardust and Semantic UI which ' + 'will overwrite `window.jQuery`.'].join(' '));
/* eslint-enable no-console */
}
debug('Loading jQuery');
// load jQuery, then load SUI jQuery
window.jQuery = window.$ = require('jquery');
debug('Loading SUI Form plugin');
require('semantic-ui-css/components/form');
debug('Loading SUI Form plugin');
require('semantic-ui-css/components/form');
}
{
"name": "stardust",
"version": "0.27.4",
"version": "0.27.5",
"description": "The official Semantic-UI-React integration.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -9,6 +9,6 @@ let debug

try {
localStorage.debug = localStorage.debug || 'stardust:*'
if (typeof localStorage === 'object') localStorage.debug = localStorage.debug || 'stardust:*'
} catch (err) {
/* eslint-disable no-console */
console.log('Stardust debug disabled. The browser could not write to localStorage.', err)
console.log('Stardust debug disabled. Could not write to localStorage.', err)
/* eslint-enable no-console */

@@ -15,0 +15,0 @@ }

@@ -7,25 +7,27 @@ /**

const debug = makeDebugger('jquery')
// do nothing if we're not in a browser
if (typeof window === 'object' && window.window === window) {
const debug = makeDebugger('jquery')
let jQuery
if (window.jQuery) jQuery = window.jQuery
else if (_.get(window, '$.prototype.jquery')) jQuery = window.$
let jQuery
if (window.jQuery) jQuery = window.jQuery
else if (_.get(window, '$.prototype.jquery')) jQuery = window.$
if (jQuery) {
/* eslint-disable no-console */
console.error([
'Do not load jQuery on the window, it is bundled with Stardust.',
'Stardust will soon be jQuery free: https://github.com/TechnologyAdvice/stardust/issues/247.',
'Note that, until this is complete, including jQuery on the page will mean that jQuery ' +
'is included twice: once on the window, and then again by Stardust and Semantic UI which ' +
'will overwrite `window.jQuery`.',
].join(' '))
/* eslint-enable no-console */
}
if (jQuery) {
/* eslint-disable no-console */
console.error([
'Do not load jQuery on the window, it is bundled with Stardust.',
'Stardust will soon be jQuery free: https://github.com/TechnologyAdvice/stardust/issues/247.',
'Note that, until this is complete, including jQuery on the page will mean that jQuery ' +
'is included twice: once on the window, and then again by Stardust and Semantic UI which ' +
'will overwrite `window.jQuery`.',
].join(' '))
/* eslint-enable no-console */
}
debug('Loading jQuery')
// load jQuery, then load SUI jQuery
window.jQuery = window.$ = require('jquery')
debug('Loading jQuery')
window.jQuery = window.$ = require('jquery')
debug('Loading SUI Form plugin')
require('semantic-ui-css/components/form')
debug('Loading SUI Form plugin')
require('semantic-ui-css/components/form')
}
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