Comparing version 2.6.2 to 2.7.0
@@ -21,3 +21,3 @@ "use strict"; | ||
*/ | ||
var Node = (function (_super) { | ||
var Node = /** @class */ (function (_super) { | ||
__extends(Node, _super); | ||
@@ -217,3 +217,3 @@ function Node(ino, perm) { | ||
*/ | ||
var Link = (function (_super) { | ||
var Link = /** @class */ (function (_super) { | ||
__extends(Link, _super); | ||
@@ -323,3 +323,3 @@ function Link(vol, parent, name) { | ||
*/ | ||
var File = (function () { | ||
var File = /** @class */ (function () { | ||
/** | ||
@@ -411,3 +411,3 @@ * Open a Link-Node pair. `node` is provided separately as that might be a different node | ||
*/ | ||
var Stats = (function () { | ||
var Stats = /** @class */ (function () { | ||
function Stats() { | ||
@@ -414,0 +414,0 @@ // User ID and group ID. |
@@ -15,3 +15,3 @@ "use strict"; | ||
var node_1 = require("./node"); | ||
var ObjectStore = (function () { | ||
var ObjectStore = /** @class */ (function () { | ||
function ObjectStore(obj) { | ||
@@ -39,3 +39,3 @@ this.obj = obj; | ||
var key = function (type, id) { return "memfs." + namespace + "." + type + "." + id; }; | ||
var NodeLocalStorage = (function (_super) { | ||
var NodeLocalStorage = /** @class */ (function (_super) { | ||
__extends(NodeLocalStorage, _super); | ||
@@ -67,3 +67,3 @@ function NodeLocalStorage() { | ||
}(node_1.Node)); | ||
var LinkLocalStorage = (function (_super) { | ||
var LinkLocalStorage = /** @class */ (function (_super) { | ||
__extends(LinkLocalStorage, _super); | ||
@@ -87,3 +87,3 @@ function LinkLocalStorage() { | ||
}(node_1.Link)); | ||
return (function (_super) { | ||
return /** @class */ (function (_super) { | ||
__extends(VolumeLocalStorage, _super); | ||
@@ -90,0 +90,0 @@ function VolumeLocalStorage() { |
@@ -1,1 +0,69 @@ | ||
{"name":"memfs","version":"2.6.2","description":"In-memory file-system with Node's fs API.","main":"lib/index.js","keywords":["fs","filesystem","fs.js","memory-fs","memfs","file","file system","mount","memory","in-memory","virtual","test","testing","mock"],"repository":{"type":"git","url":"https://github.com/streamich/memfs.git"},"dependencies":{"fast-extend":"0.0.2","fs-monkey":"^0.3.0"},"devDependencies":{"jest":"21.2.1","jest-tap-reporter":"1.7.0","ts-jest":"21.2.4","mocha":"3.4.2","chai":"4.1.0","typescript":"2.4.2","ts-node":"3.3.0","babel-cli":"6.26.0","babel-preset-es2015":"6.24.1","gulp":"3.9.1","gulp-typescript":"3.2.1","source-map-support":"0.4.15","nyc":"11.1.0","watch":"1.0.2","@types/node":"8.0.17","@types/jest":"21.1.10","semantic-release":"8.2.3"},"scripts":{"build":"npm run build-ts && npm run build-js","build-ts":"gulp build-ts","build-js":"babel src --out-dir lib","test":"jest","test:coverage":"jest --coverage","test:watch":"jest --watch","watch":"watch 'npm run build' ./src","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":".*/__tests__/.*\\.(test|spec)\\.(jsx?|tsx?)$"}} | ||
{ | ||
"name": "memfs", | ||
"version": "2.7.0", | ||
"description": "In-memory file-system with Node's fs API.", | ||
"main": "lib/index.js", | ||
"keywords": [ | ||
"fs", | ||
"filesystem", | ||
"fs.js", | ||
"memory-fs", | ||
"memfs", | ||
"file", | ||
"file system", | ||
"mount", | ||
"memory", | ||
"in-memory", | ||
"virtual", | ||
"test", | ||
"testing", | ||
"mock" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/streamich/memfs.git" | ||
}, | ||
"dependencies": { | ||
"fast-extend": "0.0.2", | ||
"fs-monkey": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"jest": "21.2.1", | ||
"jest-cli": "22.1.4", | ||
"jest-tap-reporter": "1.7.0", | ||
"ts-jest": "21.2.4", | ||
"typescript": "2.6.2", | ||
"ts-node": "3.3.0", | ||
"babel-cli": "6.26.0", | ||
"babel-preset-es2015": "6.24.1", | ||
"gulp": "3.9.1", | ||
"gulp-typescript": "3.2.3", | ||
"semantic-release": "12.2.2", | ||
"rimraf": "2.6.2", | ||
"@types/node": "9.3.0", | ||
"@types/jest": "22.0.1" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf lib types", | ||
"build": "npm run clean && npm run build-ts && npm run build-js", | ||
"build-ts": "gulp build-ts", | ||
"build-js": "babel src --out-dir lib", | ||
"test": "jest", | ||
"test:coverage": "jest --coverage", | ||
"test:watch": "jest --watch", | ||
"watch": "watch 'npm run build' ./src", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx" | ||
], | ||
"transform": { | ||
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
}, | ||
"testRegex": ".*/__tests__/.*\\.(test|spec)\\.(jsx?|tsx?)$" | ||
} | ||
} |
@@ -6,2 +6,3 @@ { | ||
"automerge": true, | ||
"pinVersions": false, | ||
"major": { | ||
@@ -11,4 +12,5 @@ "automerge": false | ||
"devDependencies": { | ||
"automerge": true | ||
"automerge": true, | ||
"pinVersions": true | ||
} | ||
} |
// Here we mock the global `process` variable in case we are not in Node's environment. | ||
interface IProcess { | ||
export interface IProcess { | ||
getuid(): number, | ||
@@ -5,0 +5,0 @@ getgid(): number, |
@@ -7,8 +7,16 @@ { | ||
"noImplicitAny": false, | ||
"sourceMap": false | ||
"sourceMap": false, | ||
"declaration": true, | ||
"declarationDir": "./types", | ||
"outDir": "./lib" | ||
}, | ||
"exclude": [ | ||
"demo", | ||
"src/__tests__", | ||
"node_modules", | ||
"lib" | ||
], | ||
"include": [ | ||
"src" | ||
] | ||
} |
Sorry, the diff of this file is too big to display
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
248262
14
53
6013