Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBernier committed Nov 28, 2021
1 parent 4921d76 commit c818ff0
Show file tree
Hide file tree
Showing 8 changed files with 3,818 additions and 6,015 deletions.
12 changes: 2 additions & 10 deletions dist/factom-struct.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions dist/factom-struct.js.LICENSE.txt
@@ -0,0 +1,19 @@
/**
* @license
* Copyright 2009 The Closure Library Authors
* Copyright 2020 Daniel Wirtz / The long.js Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
*/
12 changes: 2 additions & 10 deletions dist/factom.js

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions dist/factom.js.LICENSE.txt
@@ -0,0 +1,30 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*! https://mths.be/punycode v1.3.2 by @mathias */

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/**
* @license
* Copyright 2009 The Closure Library Authors
* Copyright 2020 Daniel Wirtz / The long.js Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
*/
276 changes: 138 additions & 138 deletions docs/doc.md

Large diffs are not rendered by default.

9,388 changes: 3,570 additions & 5,818 deletions package-lock.json

Large diffs are not rendered by default.

50 changes: 27 additions & 23 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "factom",
"version": "1.4.2",
"version": "1.4.3",
"description": "Library to build applications on the Factom blockchain",
"main": "src/factom.js",
"types": "factom.d.ts",
Expand Down Expand Up @@ -36,37 +36,41 @@
},
"homepage": "https://github.com/PaulBernier/factomjs#readme",
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.24.0",
"base-58": "0.0.1",
"bluebird": "^3.7.2",
"hash.js": "^1.1.7",
"long": "^4.0.0",
"retry": "^0.12.0",
"long": "^5.2.0",
"retry": "^0.13.1",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/plugin-transform-async-to-generator": "^7.13.0",
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/preset-env": "^7.14.1",
"@babel/runtime": "^7.14.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"babel-loader": "^8.2.2",
"@babel/core": "^7.16.0",
"@babel/plugin-transform-async-to-generator": "^7.16.0",
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/runtime": "^7.16.3",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"babel-loader": "^8.2.3",
"buffer": "^6.0.3",
"chai": "^4.3.4",
"coveralls": "^3.1.0",
"coveralls": "^3.1.1",
"documentation": "^13.2.5",
"dotenv": "^9.0.1",
"eslint": "^7.26.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"mocha": "^8.4.0",
"dotenv": "^10.0.0",
"eslint": "^8.3.0",
"https-browserify": "^1.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "2.3.0",
"sinon": "^10.0.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.7.0"
"prettier": "2.5.0",
"sinon": "^12.0.1",
"stream-http": "^3.2.0",
"url": "^0.11.0",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1"
},
"husky": {
"hooks": {
Expand Down
46 changes: 30 additions & 16 deletions webpack.config.js
Expand Up @@ -2,27 +2,41 @@ const path = require('path');

module.exports = {
mode: 'production',
entry: {
'factom': './src/factom.js',
'factom-struct': './src/factom-struct'
entry: {
factom: './src/factom.js',
'factom-struct': './src/factom-struct',
},
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].js',
library: '[name]',
libraryTarget: 'umd'
libraryTarget: 'umd',
},
resolve: {
fallback: {
https: require.resolve('https-browserify'),
http: require.resolve('stream-http'),
buffer: require.resolve('buffer/'),
url: require.resolve('url/'),
},
},
module: {
rules: [{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/env'],
plugins: ['@babel/transform-runtime', '@babel/transform-async-to-generator', '@babel/transform-modules-commonjs']
}
}
}]
rules: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/env'],
plugins: [
'@babel/transform-runtime',
'@babel/transform-async-to-generator',
'@babel/transform-modules-commonjs',
],
},
},
},
],
},
};
};

0 comments on commit c818ff0

Please sign in to comment.