
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@kant2002-diia-inhouse/errors
Advanced tools
This repository provides an overview over the flagship product Diia developed by the Ministry of Digital Transformation of Ukraine.
Diia is an app with access to citizen’s digital documents and government services.
The application was created so that Ukrainians could interact with the state in a few clicks, without spending their time on queues and paperwork - Diia open source application will help countries, companies and communities build a foundation for long-term relationships. At the heart of these relations are openness, efficiency and humanity.
We're pleased to share the Diia project with you.
Topic | Link | Description |
---|---|---|
Ministry of Digital Transformation of Ukraine | https://thedigital.gov.ua/ | The Official homepage of the Ministry of Digital Transformation of Ukraine |
Diia App | https://diia.gov.ua/ | The Official website for the Diia application |
This repository contains the package with common errors for backend services.
git clone
commandExample:
git clone https://github.com/diia-open-source/be-pkg-errors.git pkg-errors
cd ./pkg-errors
The installation of dependencies consists of the following 2 steps:
@kant2002-diia-inhouse
scopeEach Diia service depends on dependencies from @kant2002-diia-inhouse/<package>
scope which are distributed across different repositories, are built separately, and aren't published into public npm registry.
The full list of such dependencies can be found in the target service package.json
file in dependencies
and devDependencies
sections respectively.
Detailed instructions on how to link dependencies from @kant2002-diia-inhouse/<package>
scope are described in LINKDEPS.md
which can be found here
https://github.com/diia-open-source/diia-setup-howto/tree/main/backend
@kant2002-diia-inhouse
scopeIn order to install and use the linked dependencies for pkg-errors
the following command can be used:
$ cd ./pkg-errors
$ npm link @kant2002-diia-inhouse/db @kant2002-diia-inhouse/redis ... @kant2002-diia-inhouse/<package-name>
In case all dependencies from @kant2002-diia-inhouse
scope are linked, and can be resolved, you will then have a complete list of dependencies installed for the service code base.
In order to build the service you have to run the command npm run build
inside the root directory of service code base as per:
$ cd ./pkg-errors
$ npm run build
The Diia project welcomes contributions into this solution; please refer to the CONTRIBUTING.md file for details
Copyright (C) Diia and all other contributors.
Licensed under the EUPL (the "License"); you may not use this file except in compliance with the License. Re-use is permitted, although not encouraged, under the EUPL, with the exception of source files that contain a different license.
You may obtain a copy of the License at https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12.
Questions regarding the Diia project, the License and any re-use should be directed to modt.opensource@thedigital.gov.ua.
This project incorporates third party material. In all cases the original copyright notices and the license under which these third party dependencies were provided remains as so. In relation to the Typescript dependency you should also review the Typescript Third Party Notices.
FAQs
Custom errors
We found that @kant2002-diia-inhouse/errors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.