Comparing version 2.15.2 to 2.15.3
@@ -0,1 +1,8 @@ | ||
## [2.15.3](https://github.com/streamich/memfs/compare/v2.15.2...v2.15.3) (2019-06-01) | ||
### Bug Fixes | ||
* 🐛 mocks process.emitWarning for browser compatibility ([e3456b2](https://github.com/streamich/memfs/commit/e3456b2)), closes [#374](https://github.com/streamich/memfs/issues/374) | ||
## [2.15.2](https://github.com/streamich/memfs/compare/v2.15.1...v2.15.2) (2019-02-16) | ||
@@ -2,0 +9,0 @@ |
@@ -7,2 +7,3 @@ export interface IProcess { | ||
nextTick: (callback: (...args: any[]) => void, ...args: any[]) => void; | ||
emitWarning: (message: string, type: string) => void; | ||
env: { | ||
@@ -9,0 +10,0 @@ MEMFS_DONT_WARN?: boolean; |
@@ -22,2 +22,7 @@ "use strict"; | ||
p.nextTick = require('./setImmediate').default; | ||
if (!p.emitWarning) | ||
p.emitWarning = function (message, type) { | ||
// tslint:disable-next-line:no-console | ||
console.warn("" + type + (type ? ': ' : '') + message); | ||
}; | ||
if (!p.env) | ||
@@ -24,0 +29,0 @@ p.env = {}; |
{ | ||
"name": "memfs", | ||
"version": "2.15.2", | ||
"version": "2.15.3", | ||
"description": "In-memory file-system with Node's fs API.", | ||
@@ -35,17 +35,17 @@ "main": "lib/index.js", | ||
"@semantic-release/git": "7.0.8", | ||
"@semantic-release/npm": "5.1.4", | ||
"@semantic-release/npm": "5.1.7", | ||
"@types/jest": "23.3.14", | ||
"@types/node": "10.12.26", | ||
"cpy-cli": "^2.0.0", | ||
"@types/node": "10.14.8", | ||
"cpy-cli": "2.0.0", | ||
"husky": "1.3.1", | ||
"jest": "21.2.1", | ||
"prettier": "1.16.4", | ||
"pretty-quick": "1.10.0", | ||
"jest": "24.8.0", | ||
"prettier": "1.17.1", | ||
"pretty-quick": "1.11.0", | ||
"rimraf": "2.6.3", | ||
"semantic-release": "15.13.3", | ||
"ts-jest": "23.10.5", | ||
"ts-node": "7.0.1", | ||
"tslint": "5.12.1", | ||
"semantic-release": "15.13.12", | ||
"ts-jest": "24.0.2", | ||
"ts-node": "8.2.0", | ||
"tslint": "5.17.0", | ||
"tslint-config-common": "1.6.0", | ||
"typescript": "3.3.3" | ||
"typescript": "3.4.5" | ||
}, | ||
@@ -52,0 +52,0 @@ "config": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167174
4187