Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.201.179
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
node-sass /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
fixtures
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
scripts
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
.eslintrc
37
B
-rw-r--r--
2016-09-13 10:22
api.js
62.92
KB
-rw-r--r--
2018-08-09 12:53
binding.js
3.33
KB
-rw-r--r--
2018-08-09 12:53
cli.js
24.96
KB
-rw-r--r--
2018-08-09 12:53
downloadoptions.js
1.67
KB
-rw-r--r--
2018-07-08 11:24
errors.js
1.51
KB
-rw-r--r--
2016-09-13 10:22
lowlevel.js
6.18
KB
-rw-r--r--
2018-08-09 12:53
runtime.js
5.89
KB
-rw-r--r--
2018-08-09 12:53
spec.js
6.44
KB
-rw-r--r--
2018-08-09 12:53
types.js
18.88
KB
-rw-r--r--
2018-03-13 10:53
useragent.js
449
B
-rw-r--r--
2016-11-17 10:39
watcher.js
17.04
KB
-rw-r--r--
2018-08-09 12:53
Save
Rename
/*eslint new-cap: ["error", {"capIsNewExceptions": ["Color"]}]*/ var assert = require('assert'), path = require('path'), etx = require('../lib/extensions'), binding = process.env.NODESASS_COV ? require('../lib-cov/binding') : require('../lib/binding'); describe('binding', function() { describe('missing error', function() { it('should be useful', function() { process.env.SASS_BINARY_NAME = 'unknown-x64-48'; assert.throws( function() { binding(etx); }, function(err) { var re = new RegExp('Missing binding.*?\\' + path.sep + 'vendor\\' + path.sep); if ((err instanceof Error)) { return re.test(err); } } ); }); it('should list currently installed bindings', function() { assert.throws( function() { binding(etx); }, function(err) { var etx = require('../lib/extensions'); delete process.env.SASS_BINARY_NAME; if ((err instanceof Error)) { return err.message.indexOf( etx.getHumanEnvironment(etx.getBinaryName()) ) !== -1; } } ); }); }); describe('on unsupported environment', function() { describe('with an unsupported architecture', function() { beforeEach(function() { Object.defineProperty(process, 'arch', { value: 'foo', }); }); afterEach(function() { Object.defineProperty(process, 'arch', { value: 'x64', }); }); it('should error', function() { assert.throws( function() { binding(etx); }, 'Node Sass does not yet support your current environment' ); }); it('should inform the user the architecture is unsupported', function() { assert.throws( function() { binding(etx); }, 'Unsupported architecture (foo)' ); }); }); describe('with an unsupported platform', function() { beforeEach(function() { Object.defineProperty(process, 'platform', { value: 'bar', }); }); afterEach(function() { Object.defineProperty(process, 'platform', { value: 'darwin', }); }); it('should error', function() { assert.throws( function() { binding(etx); }, 'Node Sass does not yet support your current environment' ); }); it('should inform the user the platform is unsupported', function() { assert.throws( function() { binding(etx); }, 'Unsupported platform (bar)' ); }); }); describe('with an unsupported runtime', function() { beforeEach(function() { Object.defineProperty(process.versions, 'modules', { value: 'baz', }); }); afterEach(function() { Object.defineProperty(process.versions, 'modules', { value: 51, }); }); it('should error', function() { assert.throws( function() { binding(etx); }, 'Node Sass does not yet support your current environment' ); }); it('should inform the user the runtime is unsupported', function() { assert.throws( function() { binding(etx); }, 'Unsupported runtime (baz)' ); }); }); }); });