Socket
Socket
Sign inDemoInstall

mining-utils

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mining-utils - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

test/util-test.ts

2

index.js

@@ -7,2 +7,2 @@ "use strict";

__export(require("./src/util/removeAccent"));
__export(require("./util/removePunctuation"));
__export(require("./src/util/removePunctuation"));
{
"name": "mining-utils",
"version": "0.4.2",
"version": "0.4.3",
"description": "",

@@ -11,3 +11,3 @@ "author": "Oracy Rezende Martos <oramartos_21@hotmail.com> (https://github.com/Oracy)",

"scripts": {
"test": "mocha -r ts-node/register src/test/*.ts",
"test": "mocha -r ts-node/register test/**/*.ts",
"build": "npm run build:remove-previous && npm run build:transpile && npm run build:minify && npm run build:clean && npm run build:after",

@@ -17,3 +17,3 @@ "build:remove-previous": "rm -rf dist && rm -f index.js",

"build:transpile": "npx tsc",
"build:clean": "mv dist/index.js ./ && mv dist/index.d.ts ./ && rm -rf dist/",
"build:clean": "mv dist/src/index.js ./ && mv dist/src/index.d.ts ./ && rm -rf dist/",
"build:after": "ts-node src/util/changeDir.ts",

@@ -35,9 +35,6 @@ "start": "npm run build"

"devDependencies": {
"@types/chai": "^4.2.4",
"@types/mocha": "^5.2.7",
"@types/node": "~12.11.5",
"chai": "^4.2.0",
"mocha": "^6.2.2",
"ts-node": "^8.4.1",
"typescript": "^3.6.4",
"@types/chai": "^4.2.4",
"@types/mocha": "^5.2.7",
"gulp": "^4.0.2",

@@ -47,2 +44,5 @@ "gulp-concat": "^2.6.1",

"gulp-uglify": "^3.0.2",
"mocha": "^6.2.2",
"ts-node": "^8.4.1",
"typescript": "^3.6.4",
"uglify-es": "^3.3.9"

@@ -49,0 +49,0 @@ },

@@ -8,6 +8,5 @@ import { readFileSync, writeFileSync } from 'fs';

const fileData: object = readFileSync(file);
const result: string = fileData.toString().replace(new RegExp(/\.\/util/, 'g'), './src/util')
const result: string = fileData.toString().replace('./util', './src/util')
writeFileSync(file, result);
}

@@ -10,4 +10,4 @@ {

"include": [
"src/"
"src/", "test"
]
}
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