Socket
Socket
Sign inDemoInstall

isolated

Package Overview
Dependencies
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isolated - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

build/lib/isolated.d.ts

2

.eslintrc.json
{
"extends": "es/2015/server"
"extends": "es/node"
}
{
"name": "isolated",
"version": "1.0.1",
"version": "2.0.0",
"description": "isolated provides one-time folders for unit tests.",

@@ -17,7 +17,12 @@ "contributors": [

"email": "matthias.wagler@thenativeweb.io"
},
{
"name": "Hannes Leutloff",
"email": "hannes.leutloff@thenativeweb.io"
}
],
"main": "lib/isolated.js",
"main": "build/lib/isolated.js",
"types": "build/lib/isolated.d.ts",
"dependencies": {
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"recursive-readdir": "2.2.2",

@@ -27,4 +32,7 @@ "temp": "0.9.0"

"devDependencies": {
"assertthat": "2.0.3",
"roboter": "4.0.4"
"@types/fs-extra": "8.0.0",
"@types/recursive-readdir": "2.2.0",
"@types/temp": "0.8.34",
"assertthat": "4.0.1",
"roboter": "7.1.1"
},

@@ -31,0 +39,0 @@ "repository": {

@@ -5,2 +5,12 @@ # isolated

## Status
| Category | Status |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Version | [![npm](https://img.shields.io/npm/v/isolated)](https://www.npmjs.com/package/isolated) |
| Dependencies | ![David](https://img.shields.io/david/thenativeweb/isolated) |
| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/isolated) |
| Build | [![CircleCI](https://img.shields.io/circleci/build/github/thenativeweb/isolated)](https://circleci.com/gh/thenativeweb/isolated/tree/master) |
| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/isolated) |
## Installation

@@ -17,5 +27,11 @@

```javascript
const isolated = require('isolated');
const isolated = require('isolated').default;
```
If you use TypeScript, use the following code instead:
```typescript
import isolated from 'isolated';
```
Then you can use it within your tests. In its simplest form, isolated provides a one-time folder for your test and guarantees to clean up later.

@@ -67,12 +83,1 @@

```
## License
The MIT License (MIT)
Copyright (c) 2013-2019 the native web.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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