@nrk/core-input
Advanced tools
Comparing version 1.1.1 to 1.1.2
'use strict'; | ||
var name = "@nrk/core-input"; | ||
var version = "1.1.0"; | ||
var version = "1.1.1"; | ||
@@ -6,0 +6,0 @@ var IS_BROWSER = typeof window !== 'undefined'; |
import React from 'react' | ||
import PropTypes from 'prop-types' | ||
import coreInput from './core-input' | ||
@@ -43,1 +44,9 @@ import {exclude} from '../utils' | ||
}}) | ||
Input.propTypes = { | ||
onFilter: PropTypes.func, | ||
onSelect: PropTypes.func, | ||
onAjax: PropTypes.func, | ||
ajax: PropTypes.string, | ||
open: PropTypes.bool | ||
} |
@@ -1,12 +0,13 @@ | ||
/*! @nrk/core-input v1.1.0 - Copyright (c) 2017-2018 NRK */ | ||
/*! @nrk/core-input v1.1.1 - Copyright (c) 2017-2018 NRK */ | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) : | ||
typeof define === 'function' && define.amd ? define(['react'], factory) : | ||
(global.CoreInput = factory(global.React)); | ||
}(this, (function (React) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('prop-types')) : | ||
typeof define === 'function' && define.amd ? define(['react', 'prop-types'], factory) : | ||
(global.CoreInput = factory(global.React,global.PropTypes)); | ||
}(this, (function (React,PropTypes) { 'use strict'; | ||
React = React && React.hasOwnProperty('default') ? React['default'] : React; | ||
PropTypes = PropTypes && PropTypes.hasOwnProperty('default') ? PropTypes['default'] : PropTypes; | ||
var name = "@nrk/core-input"; | ||
var version = "1.1.0"; | ||
var version = "1.1.1"; | ||
@@ -306,2 +307,10 @@ var IS_BROWSER = typeof window !== 'undefined'; | ||
Input.propTypes = { | ||
onFilter: PropTypes.func, | ||
onSelect: PropTypes.func, | ||
onAjax: PropTypes.func, | ||
ajax: PropTypes.string, | ||
open: PropTypes.bool | ||
}; | ||
return Input; | ||
@@ -308,0 +317,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! @nrk/core-input v1.1.0 - Copyright (c) 2017-2018 NRK */ | ||
/*! @nrk/core-input v1.1.1 - Copyright (c) 2017-2018 NRK */ | ||
(function (global, factory) { | ||
@@ -9,3 +9,3 @@ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | ||
var name = "@nrk/core-input"; | ||
var version = "1.1.0"; | ||
var version = "1.1.1"; | ||
@@ -12,0 +12,0 @@ var IS_BROWSER = typeof window !== 'undefined'; |
@@ -5,3 +5,3 @@ { | ||
"author": "NRK <opensource@nrk.no> (https://www.nrk.no/)", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
@@ -13,3 +13,6 @@ "main": "core-input.cjs.js", | ||
"url": "git+https://github.com/nrkno/core-components.git" | ||
}, | ||
"dependencies": { | ||
"prop-types": "15.6.2" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
110485
1075
0
1
+ Addedprop-types@15.6.2
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.6.2(transitive)