verdaccio / file-locking Goto Github PK
View Code? Open in Web Editor NEWπ¦library that handle file locking
Home Page: https://verdaccio.org/
License: MIT License
π¦library that handle file locking
Home Page: https://verdaccio.org/
License: MIT License
Use CircleCI 2.0 workflows
We should wait to enable Coverage and CodeCov on CircleCI after #29 to not have to reimplement it after that
No errors!
(node:56355) DeprecationWarning: "--compilers" will be removed in a future version of Mocha; see https://git.io/vdcSr for more info
(node:56355) ExperimentalWarning: The fs.promises API is experimental
testing locking
β file should be found to be locked
β file should fail to be found to be locked
β file should to be found to be unLock
β read file with no options should to be found to be read it as string
β read file with no options should to be found to be read it as object
β read file with options (parse) should to be not found to be read it
(node:56355) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: false == true
at /Users/jpicado/projects/@verdaccio/file-locking/test/lock.spec.js:72:14
at /Users/jpicado/projects/@verdaccio/file-locking/src/index.js:155:5
(node:56355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:56355) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
β read file with options should to be found to be read it and fails to be parsed
(node:56355) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: false == true
at /Users/jpicado/projects/@verdaccio/file-locking/test/lock.spec.js:85:14
at /Users/jpicado/projects/@verdaccio/file-locking/src/index.js:155:5
(node:56355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
β read file with options (parse, lock) should to be found to be read it as object
β read file with options (parse, lock) should to be found to be read it and fails to be parsed
(node:56355) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: false == true
at /Users/jpicado/projects/@verdaccio/file-locking/test/lock.spec.js:114:14
at /Users/jpicado/projects/@verdaccio/file-locking/src/index.js:155:5
(node:56355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
9 passing (211ms)
β¨ Done in 4.63s.
"devDependencies": {
"@types/node": "11.13.8",
"@verdaccio/babel-preset": "0.1.0",
"@verdaccio/eslint-config": "0.0.1",
"@verdaccio/types": "5.0.2",
"cross-env": "5.2.0",
"eslint": "5.16.0",
"husky": "0.14.3",
"jest": "24.7.1",
"lint-staged": "6.0.1",
"standard-version": "5.0.2",
"typescript": "3.2.4"
},
We are using Mocha here.
Migration to CircleCI 2.0 will be available soon
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.