You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@tech_query/node-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tech_query/node-toolkit - npm Package Compare versions

Comparing version
0.6.1
to
0.6.2
+6
-1
dist/language.js

@@ -34,3 +34,8 @@ "use strict";

filename: fileName || undefined,
babelrc: !onlyModule
babelrc: !onlyModule,
parserOpts: {
plugins: ['optionalCatchBinding', 'objectRestSpread', 'asyncGenerators', 'classProperties', ['decorators', {
decoratorsBeforeExport: true
}], 'importMeta', 'dynamicImport', 'exportDefaultFrom', 'exportNamespaceFrom']
}
};

@@ -37,0 +42,0 @@ if (!onlyModule) option.presets = ['@babel/preset-env'];

+9
-5
{
"name": "@tech_query/node-toolkit",
"version": "0.6.1",
"version": "0.6.2",
"description": "Toolkit for Node.JS packages",

@@ -31,10 +31,14 @@ "keywords": [

"lint": "eslint source/ test/ --fix",
"bundle": "babel source/ -d dist/",
"test": "mocha --exit",
"debug": "mocha --inspect-brk",
"build": "npm run lint && npm run bundle && npm test",
"compile": "babel source/ -d dist/",
"build": "npm run lint && npm test && npm run compile && esdoc",
"prepublishOnly": "npm run build",
"precommit": "npm run build && esdoc && git add .",
"start": "opn docs/index.html"
},
"husky": {
"hook": {
"pre-commit": "npm run build && git add ."
}
},
"dependencies": {

@@ -60,3 +64,3 @@ "@babel/core": "^7.1.0",

"eslint": "^5.6.0",
"husky": "^0.14.3",
"husky": "^1.0.1",
"mocha": "^5.2.0",

@@ -63,0 +67,0 @@ "opn-cli": "^3.1.0",

@@ -27,6 +27,16 @@ import { transform } from '@babel/core';

const option = {
plugins: ['@babel/plugin-transform-modules-commonjs'],
ast: false,
filename: fileName || undefined,
babelrc: !onlyModule
plugins: ['@babel/plugin-transform-modules-commonjs'],
ast: false,
filename: fileName || undefined,
babelrc: !onlyModule,
parserOpts: {
plugins: [
'optionalCatchBinding', 'objectRestSpread', 'asyncGenerators',
'classProperties', [
'decorators', {decoratorsBeforeExport: true}
],
'importMeta', 'dynamicImport',
'exportDefaultFrom', 'exportNamespaceFrom'
]
}
};

@@ -33,0 +43,0 @@