New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pubkeeper/crypto-aes-cbc

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pubkeeper/crypto-aes-cbc - npm Package Compare versions

Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2

dist/pubkeeper-crypto-aes-cbc.js

33

package.json
{
"name": "@pubkeeper/crypto-aes-cbc",
"version": "3.0.0-alpha.1",
"version": "3.0.0-alpha.2",
"description": "AES-CBC Crypto for Pubkeeper (using aes-js)",

@@ -10,11 +10,9 @@ "main": "dist/index.js",

"lint": "eslint src/",
"flow": "flow",
"typecheck": "flow check",
"test": "mocha --opts __test__/.mocha.opts",
"test:watch": "mocha -w --opts __test__/.mocha.opts",
"verify": "npm run lint && npm run typecheck"
"verify": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pubkeeper/javascript-crypt-aes-cbc.git"
"url": "git+https://github.com/pubkeeper/javascript-crypto-aes-cbc.git"
},

@@ -24,28 +22,29 @@ "author": "",

"bugs": {
"url": "https://github.com/pubkeeper/javascript-crypt-aes-cbc/issues"
"url": "https://github.com/pubkeeper/javascript-crypto-aes-cbc/issues"
},
"homepage": "https://github.com/pubkeeper/javascript-crypt-aes-cbc#readme",
"homepage": "https://github.com/pubkeeper/javascript-crypto-aes-cbc#readme",
"devDependencies": {
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"chai": "^3.5.0",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.1.3",
"chai": "^4.1.2",
"eslint": "^4.8.0",
"eslint-config-airbnb-base": "^12.0.1",
"eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.2.0",
"flow-bin": "^0.44.2",
"mocha": "^3.3.0",
"rimraf": "^2.6.1",
"sinon": "^2.2.0",
"sinon-chai": "^2.10.0",
"webpack": "^2.4.1"
"sinon": "^4.0.0",
"sinon-chai": "^2.14.0",
"webpack": "^3.6.0",
"webpack-node-externals": "^1.6.0"
},
"dependencies": {
"aes-js": "^3.1.0"
"aes-js": "^3.1.0",
"babel-runtime": "^6.26.0"
}
}
const path = require('path');
const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
module.exports = {
const browser = {
entry: './index.js',
output: {
library: 'PubkeeperCryptoAesCbc',
libraryTarget: 'umd',
path: path.resolve(__dirname, 'dist'),
filename: 'pubkeeper-crypto-aes-cbc.js',
},
module: {
rules: [
{
enforce: 'pre',
test: /\.js$/,
exclude: /(node_modules)/,
loader: 'eslint-loader',
},
{
test: /\.js$/,
exclude: /(node_modules)/,
loader: 'babel-loader',
},
],
},
};
const browserMinified = {
...browser,
output: {
...browser.output,
filename: 'pubkeeper-crypto-aes-cbc.min.js',
},
plugins: [
...(browser.plugins || []),
new webpack.optimize.UglifyJsPlugin()
],
};
const node = {
target: 'node',
entry: './index.js',
externals: [nodeExternals()],
output: {
libraryTarget: 'commonjs',
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
},
plugins: [new webpack.optimize.ModuleConcatenationPlugin()],
module: {

@@ -22,2 +64,11 @@ rules: [

loader: 'babel-loader',
options: {
"presets": [
["env", {
"targets": {
"node": "current"
}
}]
],
},
},

@@ -27,1 +78,3 @@ ],

};
module.exports = [browser, browserMinified, node];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc