Skip to content

Commit 0c035a5

Browse files
committed
DP-151 Remove V8JS from all versions of DreamFactory
- Remove V8JS engine
1 parent bb720ba commit 0c035a5

9 files changed

Lines changed: 4 additions & 452 deletions

File tree

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"dreamfactory",
77
"rest",
88
"api",
9-
"v8js",
109
"php",
1110
"python",
1211
"python3",

config/df.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
return [
44
'scripting' => [
5-
// 'all' to disable all scripting, or comma-delimited list of v8js, nodejs, python, and/or php
5+
// 'all' to disable all scripting, or comma-delimited list of nodejs, python, and/or php
66
'disable' => env('DF_SCRIPTING_DISABLE'),
77
// path to the installed nodejs executable
88
'nodejs_path' => env('DF_NODEJS_PATH'),

src/Components/ScriptEngineManager.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use DreamFactory\Core\Script\Engines\Php;
88
use DreamFactory\Core\Script\Engines\Python;
99
use DreamFactory\Core\Script\Engines\Python3;
10-
use DreamFactory\Core\Script\Engines\V8Js;
1110
use InvalidArgumentException;
1211

1312
/**
@@ -104,15 +103,6 @@ public function __construct($app)
104103
'factory' => function ($config){
105104
return new Python3($config);
106105
},
107-
],
108-
[
109-
'name' => 'v8js',
110-
'label' => 'V8js',
111-
'description' => 'Server-side JavaScript handler using the V8js engine.',
112-
'sandboxed' => true,
113-
'factory' => function ($config){
114-
return new V8Js($config);
115-
},
116106
]
117107
];
118108
foreach ($types as $type) {

src/Components/ScriptSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
namespace DreamFactory\Core\Script\Components;
33

44
/**
5-
* V8Js scripting session object
5+
* Scripting session object
66
*/
77
class ScriptSession
88
{

0 commit comments

Comments
 (0)