LICENSE and README updates (#254)

* LICENSE and README updates

* Remove duplicated definition

* Remove duplicated file
This commit is contained in:
Jaco Greeff
2018-11-21 12:26:38 +01:00
committed by GitHub
parent ad9b46a5b9
commit 3bc1b7541b
274 changed files with 1670 additions and 379 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { arrayFilter } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isNull from '../is/null';
import isUndefined from '../is/undefined';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import arrayFilter from './filter';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import ExtError from './ext/error';
import isFunction from './is/function';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isFunction from '../is/function';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import bnFromHex from '../hex/toBn';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import bnFromHex from './fromHex';
import bnToBn from './toBn';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import bufferToU8a from './toU8a';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { bufferToU8a } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name bufferToU8a
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isError from '../is/error';
import { ExtError } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { ExtErrorInterface } from '../types';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import ExtError from './error';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexAddPrefix } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hasPrefix from './hasPrefix';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexFixLength } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hexAddPrefix from './addPrefix';
import hexStripPrefix from './stripPrefix';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexHasPrefix } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isHex from '../is/hex';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hexAddPrefix from './addPrefix';
import hexFixLength from './fixLength';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexStripPrefix } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hasPrefix from './hasPrefix';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexToBn } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexToNumber } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hexToBn from './toBn';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { hexToU8a } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import assert from '../assert';
import isHex from '../is/hex';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import assert from './assert';
import logger from './logger';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import BN from 'bn.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isBoolean } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isBoolean
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isBuffer } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isInstanceOf from './instanceOf';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isError } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isInstanceOf from './instanceOf';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isFunction } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isFunction
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isHex } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isString from './string';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isBn from './bn';
import isBuffer from './buffer';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isInstanceOf } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isInstanceOf
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isIp } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import ipRegex from 'ip-regex';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isNull } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isNull
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isNumber } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isNumber
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isObject } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
type ObjectIndexed = {
[index: string]: any
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isObservable } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isFunction from './function';
import isObject from './object';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isString } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isString
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isU8a } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isInstanceOf from './instanceOf';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { isUndefined } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name isUndefined
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { logger } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { Logger, Logger$Data } from './types';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import numberToHex from './toHex';
import numberToU8a from './toU8a';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { numberToHex } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hexFixLength from '../hex/fixLength';
import isNull from '../is/null';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { numberToU8a } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import hexToU8a from '../hex/toU8a';
import numberToHex from './toHex';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { promisify } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name promisify
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { stringCamelCase } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import stringCamelCase from 'camelcase';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import stringCamelCase from './camelCase';
import stringLowerFirst from './lowerFirst';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { stringLowerFirst } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isNull from '../is/null';
import isUndefined from '../is/undefined';
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
describe('TextDecoder', () => {
let origTD;
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
// tslint:disable-next-line
if (typeof TextDecoder === 'undefined') {
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
describe('TextEncoder', () => {
let origTE;
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
// tslint:disable-next-line
if (typeof TextEncoder === 'undefined') {
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { stringShorten } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name stringShorten
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { stringToU8a } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import './polyfill/textEncoder';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { stringUpperFirst } from '.';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import isNull from '../is/null';
import isUndefined from '../is/undefined';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import syncify from './syncify';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import deasync from 'deasync';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
export interface ExtErrorInterface {
code: number;
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { u8aConcat } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import u8aToU8a from './toU8a';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import { u8aFixLength } from './index';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
/**
* @name u8aFixLength
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// of the Apache-2.0 license. See the LICENSE file for details.
import u8aConcat from './concat';
import u8aFixLength from './fixLength';

Some files were not shown because too many files have changed in this diff Show More