Skip to content

Remove Assignment of process.env and Remove Embedded node_modules #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ cover_html
.splunkrc
*.zip
test_logs/*
docs/
docs/
node_modules
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# <u>[DEPRECATED]</u>

This package is deprecated and no longer supported or actively developed by MITRE. Use is NOT RECOMMENDED.

If you are using this package as a dependency of [Heimdall2](https://github.com/mitre/heimdall2) or the [SAF CLI](https://github.com/mitre/saf), please update to the latest version and clean out your `node_modules` directory. This package is no longer a required dependency.

---

[![Build Status](https://travis-ci.org/splunk/splunk-sdk-javascript.svg?branch=master)](https://travis-ci.org/splunk/splunk-sdk-javascript)
# The Splunk Enterprise Software Development Kit for JavaScript

Expand Down
4 changes: 0 additions & 4 deletions client/splunk.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,6 @@ require.define("/index.js", function (require, module, exports, __dirname, __fil
(function() {
var root = exports || this;

// Declare a process environment so that we can set
// some globals here and have interop with node
process.env = process.env || {};

module.exports = root = {
Logger : require('./lib/log').Logger,
Context : require('./lib/context'),
Expand Down
4 changes: 0 additions & 4 deletions client/splunk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,6 @@
(function() {
var root = exports || this;

// Declare a process environment so that we can set
// some globals here and have interop with node
process.env = process.env || {};

module.exports = root = {
Logger : require('./lib/log').Logger,
Context : require('./lib/context'),
Expand Down
5 changes: 0 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
(function() {
var root = exports || this;

// Declare a process environment so that we can set
// some globals here and have interop with node
var env = require("dotenv").config();
process.env = process.env || {};

module.exports = root = {
Logger : require('./lib/log').Logger,
Context : require('./lib/context'),
Expand Down
1 change: 0 additions & 1 deletion node_modules/.bin/JSONStream

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/acorn

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/browser-pack

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/browserify

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/color-support

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/coveralls

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/deps-sort

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/detective

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esparse

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esvalidate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/handlebars

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/insert-module-globals

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/js-yaml

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/jsesc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/jshint

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/miller-rabin

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/mkdirp

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/module-deps

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/mustache

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/needle

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/nodeunit

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/nyc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/opener

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/parser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/rimraf

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/sha.js

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/sshpk-conv

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/sshpk-sign

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/sshpk-verify

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tap

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tap-mocha-reporter

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tap-parser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/ts-node

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsserver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/uglifyjs

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/umd

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/undeclared-identifiers

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/uuid

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/which

This file was deleted.

22 changes: 0 additions & 22 deletions node_modules/@babel/code-frame/LICENSE

This file was deleted.

19 changes: 0 additions & 19 deletions node_modules/@babel/code-frame/README.md

This file was deleted.

173 changes: 0 additions & 173 deletions node_modules/@babel/code-frame/lib/index.js

This file was deleted.

Loading