Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@knit/needle

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knit/needle - npm Package Compare versions

Comparing version 0.0.37 to 0.0.43

31

dist/lib/index.js

@@ -12,15 +12,21 @@ 'use strict';

var pkgNeedle = (pkg.knit || {}).needle || {};
var pkgPaths = (pkgNeedle || {}).paths || {};
var ROOT_DIR = process.env.PWD || '';
var MOD_STUB = path.join('modules', 'node_modules');
var DIST_STUB = 'dist';
var LIB_STUB = 'lib';
var ES6_STUB = 'es6';
var UMD_STUB = 'umd';
var TESTS_STUB = '__tests__';
var DATA_STUB = 'data';
var ENTRY_DIR = process.env.ENTRY_DIR || 'webpack_entry';
var SERVER_HOST = process.env.HOST || 'localhost';
var SERVER_PORT = parseInt(process.env.PORT, 10) || 8080;
var PKG_ENV = ((pkg.knit || {}).needle || {}).env || {};
var MOD_STUB = pkgPaths.modulesStub || path.join('modules', 'node_modules');
var DIST_STUB = pkgPaths.distStub || 'dist';
var LIB_STUB = pkgPaths.libStub || 'lib';
var ES6_STUB = pkgPaths.es6Stub || 'es6';
var UMD_STUB = pkgPaths.umdStub || 'umd';
var TESTS_STUB = pkgPaths.testsStub || '__tests__';
var DATA_STUB = pkgPaths.dataStub || 'data';
var ENTRY_DIR = pkgPaths.entryStub || 'webpack_entry';
var pkgServer = (pkgNeedle || {}).server || {};
var SERVER_HOST = process.env.HOST || pkgServer.host || 'localhost';
var SERVER_PORT = parseInt(process.env.PORT || pkgServer.port, 10) || 8080;
var PKG_ENV = (pkgNeedle || {}).env || {};
module.exports = {

@@ -30,2 +36,3 @@ paths: {

data: path.join(ROOT_DIR, DATA_STUB),
dataStub: DATA_STUB,
modulesStub: MOD_STUB,

@@ -47,3 +54,3 @@ modules: path.join(ROOT_DIR, MOD_STUB),

},
proxy: process.env.PROXY || 'http://localhost:5000',
proxy: process.env.PROXY || (pkgNeedle || {}).proxy || 'http://localhost:5000',
env: Object.assign({}, {

@@ -50,0 +57,0 @@ 'process.env': {

@@ -26,3 +26,3 @@ {

"description": "Knitting needle",
"version": "0.0.37",
"version": "0.0.43",
"main": "dist/lib/index.js",

@@ -29,0 +29,0 @@ "dependencies": {

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