Socket
Socket
Sign inDemoInstall

bd-stampy

Package Overview
Dependencies
115
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.5 to 0.6.0

components/QueryStringProvider.jsx

6

__tests__/utils/UrlStore-test.js

@@ -7,3 +7,9 @@ // var base_path = '../../';

describe('TestTest', function(){
it('passes the test', function() {
expect(true).toBe(false);
});
});
// describe('UrlStore.getQueryParams', function() {

@@ -10,0 +16,0 @@ // var BrowserHistory = require(base_path + 'utils/BrowserHistory');

25

components/DataTable.jsx

@@ -158,9 +158,22 @@ import React, { Component, PropTypes } from 'react';

renderPagination(length) {
if(this.props.pagination) {
const {
pagination,
paginationPage,
paginationLength,
onPaginate,
onPagingate
} = this.props;
if(pagination) {
const handleClick = (a,b) => {
onPaginate && onPaginate(a,b);
onPagingate && onPagingate(a,b);
};
return (
<Pagination
length={length}
page={this.props.paginationPage}
amount={this.props.paginationLength}
onClick={this.props.onPagingate}
page={paginationPage}
amount={paginationLength}
onClick={handleClick}
/>

@@ -199,2 +212,4 @@ );

paginationPage: PropTypes.number,
onPagingate: PropTypes.func, // legacy
onPaginate: PropTypes.func, // corrected spelling
empty: PropTypes.element,

@@ -205,3 +220,1 @@ modifier: PropTypes.string

export default DataTable;

@@ -8,6 +8,6 @@ var path = require('path');

files: [
'./testsEntry.js'
'__tests__/**/*.js'
],
preprocessors: {
'./testsEntry.js': 'webpack'
'__tests__/**/*.js': 'webpack'
},

@@ -14,0 +14,0 @@ reporters: ['mocha', 'coverage'],

{
"name": "bd-stampy",
"version": "0.5.5",
"version": "0.6.0",
"description": "React UI Component Library",
"main": "stampy.js",
"scripts": {
"test": "karma start karma.conf.js",
"coverage": "istanbul cover __tests__/components/Button-test.js"
"test": "echo 'no tests provided'"
},

@@ -10,0 +9,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc