@ebay/ebayui-core
Advanced tools
Comparing version 0.1.0-1 to 0.1.0-2
@@ -33,5 +33,5 @@ 'use strict'; | ||
var selectedOption = options.find(function (option) { | ||
var selectedOption = options.filter(function (option) { | ||
return option.selected; | ||
}) || options[0]; | ||
})[0] || options[0]; | ||
@@ -38,0 +38,0 @@ if (options.length > 0 && selectedOption.value === options[0].value) { |
{ | ||
"name": "@ebay/ebayui-core", | ||
"version": "0.1.0-1", | ||
"version": "0.1.0-2", | ||
"scripts": { | ||
"installMarkoV3": "yarn add marko@^3 marko-widgets@^6 -D", | ||
"installMarkoV4": "yarn add marko@^4 marko-widgets@^7 -D", | ||
"prepublishOnly": "node scripts/prepublish", | ||
@@ -10,12 +12,13 @@ "postpublish": "node scripts/postpublish", | ||
"report": "nyc report --reporter=html", | ||
"test": "yarn coverage && yarn report && yarn test:integration", | ||
"test": "yarn coverage && yarn report", | ||
"test:server": "marko test --server", | ||
"test:browser": "marko test --browser", | ||
"test:fps": "karma start", | ||
"test:integration": "mocha integration/index.js", | ||
"build": "yarn clean; yarn lint && yarn test", | ||
"test:integration": "yarn installMarkoV3 && mocha integration && yarn installMarkoV4 && mocha integration && yarn installMarkoV3 && yarn clean:integration", | ||
"clean": "rimraf .coverage .karma .nyc_output demo/static", | ||
"clean:integration": "rimraf integration/*.marko.js integration/static", | ||
"lint": "yarn lint:less && yarn lint:js", | ||
"lint:less": "stylelint '**/**.less'", | ||
"lint:js": "eslint .", | ||
"build": "yarn lint && yarn test && mocha integration && yarn clean:integration && yarn installMarkoV4 && nyc marko test && mocha integration", | ||
"shrinkwrap": "rimraf yarn.lock; rimraf node_modules; yarn cache clean && yarn", | ||
@@ -22,0 +25,0 @@ "ts": "yarn test:server", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
363339
424