profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/thetutlage/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

dimerapp/markdown 68

Convert Markdown (with wings) to HTML or JSON

AdonisCommunity/create-adonis-ts-app 63

Boilerplate to create a new AdonisJs typescript project

adonisjs/encryption 14

Encryption provider for AdonisJs

poppinss/traits 13

A tiny library to add support for Traits in Javascript and Typescript projects

adonisjs/view 12

Template Engine For AdonisJS

poppinss/prompts 12

Module on top of enquirer with the API to fake prompts during testing. Used by AdonisJS

AdonisCommunity/vscode-extension 11

Vscode extension for AdonisJs: 🚨WIP🚨

adonisjs/require-ts 8

In memory typescript compiler with disk caching

adonisjs/profiler 7

Profile to time function calls with context in AdonisJs

issue commentadonisjs/lucid

Enable to save timestamps with microseconds precision in MySQL

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mitsuru-kasai-exwzd

comment created time in an hour

issue commentadonisjs/ally

Exception: E_OAUTH_STATE_MISMATCH (Ally 2.1.0)

Also confirming issues with v2.1.3.

I have had some success with it, but it fails when it shouldn't. I haven't determined why it has spotty success.

vincentducorps

comment created time in 8 hours

pull request commentadonisjs/core

feat: always try a graceful shutdown on first SIGINT

I am convinced that SIGINT is not a standard signal for process managers to shutdown applications gracefully.

I agree with that. SIGINT usually comes from the user's keyboard and it's with that in mind that I created this pull request.

targos

comment created time in a day

pull request commentadonisjs/core

feat: always try a graceful shutdown on first SIGINT

No, it sends SIGTERM. My point is that the process itself (docker-compose in that case) shuts down gracefully when it receives SIGINT. The Nest.JS framework also does it: https://docs.nestjs.com/fundamentals/lifecycle-events#application-shutdown Node.js, by default, doesn't listen to any signal. It's up to the application to decide what id does.

targos

comment created time in a day

pull request commentadonisjs/core

feat: always try a graceful shutdown on first SIGINT

docker-compose does a graceful shutdown with CTRL+C

targos

comment created time in a day

issue openedAdonisCommunity/eslint-plugin-adonis

Adonis Version

Hi.

Does this plugin work with AdonisJs 4.x?

created time in 2 days

issue closedadonisjs/lucid

Module '"@ioc:Adonis/Lucid/Orm"' has no exported member 'OrmConfig' in config/database.ts

Just updated core, lucid, etc.. to their latest versions and get this error, even when running node ace build --production

Package version

11.0.1

Node.js and npm version

node 15.10.0 npm 7.5.2

Sample Code (to reproduce the issue)

Thrown in /config/database.ts

closed time in 2 days

ad-on-is

issue commentadonisjs/lucid

Module '"@ioc:Adonis/Lucid/Orm"' has no exported member 'OrmConfig' in config/database.ts

I just saw in the release-notes that OrmConfig is deprecated. I was confused, after I installed a fresh adonisjs v5 project, it was still present in config/database.js

ad-on-is

comment created time in 2 days

issue openedadonisjs/lucid

Module '"@ioc:Adonis/Lucid/Orm"' has no exported member 'OrmConfig' in config/database.ts

Package version

11.0.1

Node.js and npm version

node 15.10.0 npm 7.5.2

Sample Code (to reproduce the issue)

Thrown in /config/database.ts

created time in 2 days

startedthetutlage/knex-dynamic-connection

started time in 2 days

startedthetutlage/Google-Play-Store-API

started time in 2 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

After setting git config --global http.sslBackend schannel it works with npm Version 7.6.0 and Node 15.10.0 on Windowns 10 1909

philippdormann

comment created time in 2 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

+1

image

I have tried both options for setting GIT globals.

philippdormann

comment created time in 2 days

issue commentadonisjs/core

Error: Cannot find module 'Encryption'

{
  "name": "adonis-fullstack-app",
  "version": "4.1.0",
  "adonis-version": "4.1.0",
  "description": "The fullstack application boilerplate for Adonisjs",
  "main": "index.js",
  "scripts": {
    "start": "node server.js",
    "test": "node ace test"
  },
  "keywords": [
    "adonisjs",
    "adonis-app"
  ],
  "author": "",
  "license": "UNLICENSED",
  "private": true,
  "dependencies": {
    "@adonisjs/ace": "^5.0.8",
    "@adonisjs/auth": "^3.0.7",
    "@adonisjs/bodyparser": "^2.0.5",
    "@adonisjs/cors": "^1.0.7",
    "@adonisjs/encryption": "^4.0.0",
    "@adonisjs/fold": "^4.0.9",
    "@adonisjs/framework": "^5.0.9",
    "@adonisjs/ignitor": "^2.0.8",
    "@adonisjs/lucid": "^6.1.3",
    "@adonisjs/mail": "^3.0.10",
    "@adonisjs/session": "^1.0.27",
    "@adonisjs/shield": "^1.0.8",
    "@adonisjs/validator": "^5.0.6",
    "@adonisjs/vow": "^1.0.17",
    "aws-sdk": "^2.851.0",
    "cryptr": "^6.0.2",
    "hashids": "^2.2.8",
    "jsonwebtoken": "^8.5.1",
    "lodash": "^4.17.21",
    "mysql": "^2.18.1",
    "pluralize": "^8.0.0",
    "validatorjs": "^3.22.1"
  },
  "devDependencies": {
    "eslint": "^7.19.0",
    "eslint-config-airbnb-base": "^14.2.1",
    "eslint-config-prettier": "^7.2.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-prettier": "^3.3.1",
    "jest": "^26.6.3",
    "prettier": "^2.2.1",
    "supertest": "^4.0.2"
  },
  "autoload": {
    "App": "./app"
  }
}

scube-elate

comment created time in 2 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

Probably it's environment problem with SSL certificates on Windows machine. Starting from Git 2.14 uses built-in Windows networking layer (Windows certificate storage mechanism), that's why if you have old, self-signed, or buggy CA certificates, Git may not work as expected.

From the Git for Windows 2.14 release notes:

It is now possible to switch between Secure Channel and OpenSSL for Git's HTTPS transport by setting the http.sslBackend config variable to "openssl" or "schannel"; This is now also the method used by the installer (rather than copying libcurl-4.dll files around).

General solution here is to audit/recheck which CA certs old, self-signed or buggy, and remove them from Windows certificate storage. But for fast solution, here's few options available:

  1. try different values for Git's http.sslBackend by executing in terminal and npm init ... again after each: git config --global http.sslBackend schannel git config --global http.sslBackend openssl
  2. disable SSL verification for Git, by executing, and npm init ... again: git config --global http.sslVerify false Please be advised disabling SSL verification globally might be considered a security risk and should be implemented only temporarily
  3. if nothing helped, then you should uninstall Git and install it again from scratch
philippdormann

comment created time in 2 days

issue openedadonisjs/lucid

hasMany query with orWhere returns unrelated rows

If you use hasMany relation and try to query it with orWhere condition it returns unrelated rows as it does not wrap conditions in brackets.

Package version

10.0.0

Node.js and npm version

Node.js 12.13.1 npm 6.14.10

Sample Code (to reproduce the issue)

  • Code
const user = await User.findOrFail(1)

await user.related('posts')
    .query()
    .where('isFeatured', 1)
    .orWhere('isPopular', 1)
  • Generates following queries
select * from `Users` where `id` = ? limit ?
select * from `Posts` where `isFeatured` = ? or `isPopular` = ? and `userId` = ?
  • It should generate this instead
select * from `Users` where `id` = ? limit ?
select * from `Posts` where (`isFeatured` = ? or `isPopular` = ?) and `userId` = ?

created time in 3 days

issue commentadonisjs/adonis-cli

Could not install Adonis using NPM

Do you find it ??? please say to me

masonchoo10

comment created time in 3 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

Yes GIT is installed and in PATH

philippdormann

comment created time in 3 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

Do you have Git installed and in PATH? Saw similar message without Git (can't remember if it got fixed or will be fixed with new with upcoming release)

philippdormann

comment created time in 3 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

I have the same behaviour. The only difference is, that I'm using Node Version 14.15.4 and NPM Version 6.14.10. If I run npm init adonis-ts-app adsd-mal --verbose I get the following output:

D:\wip>npm init adonis-ts-app adsd-mal --verbose
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'init',
npm verb cli   'adonis-ts-app',
npm verb cli   'adsd-mal',
npm verb cli   '--verbose'
npm verb cli ]
npm info using npm@6.14.10
npm info using node@v14.15.4
npx: installed 171 in 6.951so using node@v14.15.4
    _       _             _         _     14.15.4
   / \   __| | ___  _ __ (_)___    | |___
  / _ \ / _` |/ _ \| '_ \| / __|_  | / __|
 / ___ \ (_| | (_) | | | | \__ \ |_| \__ \
/_/   \_\__,_|\___/|_| |_|_|___/\___/|___/


CUSTOMIZE PROJECT
> Select the project structure · web
> Enter the project name · adsd-mal
> Setup eslint? (y/N) · false

RUNNING TASKS
┌ Scaffold project
│  CREATE: ace.....] - : info using node@v14.15.4
│  CREATE: app\Exceptions\Handler.ts
│  CREATE: commands\index.ts
│  CREATE: env.ts
│  CREATE: providers\AppProvider.ts
│  CREATE: public\favicon.ico
│  CREATE: resources\views\errors\not-found.edge
│  CREATE: resources\views\errors\server-error.edge
│  CREATE: resources\views\welcome.edge
│  CREATE: server.ts
│  CREATE: start\kernel.ts
│  CREATE: start\routes.ts
│  CREATE: .editorconfig
│  CREATE: .gitignore
│  CREATE: .adonisrc.json
│  CREATE: tsconfig.json
└ completed (41 ms)
┌ Install dependencies
│  [ wait ]  typescript, youch, youch-terminal, pino-pretty, adonis-preset-ts, and 1 other (dev)  ..
│  [ wait ]  @adonisjs/core, @adonisjs/repl, @adonisjs/session, @adonisjs/view, proxy-addr, and 2 others (prod)
│  [ error ]  npm install faileding node@v14.15.4
│  npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://github.com/thetutlage/matchit.git
│  npm ERR!
│  npm ERR! fatal: unable to access 'https://github.com/thetutlage/matchit.git/': SSL certificate problem: unable to get local issuer certificate
│  npm ERR!
│  npm ERR! exited with error code: 128
│
│  npm ERR! A complete log of this run can be found in:
│  npm ERR!     C:\Users\mschneid\AppData\Roaming\npm-cache\_logs\2021-03-01T15_17_27_779Z-debug.log
│
└ failed (17 s)

[ error ]  Unable to create project. Cleaning up
npm verb exit [ 0, true ]
npm timing npm Completed in 205863ms
npm info ok

It seems that something went wrong with the SSL Cert of the package matchit

philippdormann

comment created time in 3 days

issue closedadonisjs/docs

Client Side Javascript Package Versioning

I was opening up a PR to update the documentation around adonisjs/adonis-websocket-client#53 when I had a thought about the client-side API documentation. Let's say I'm using Adonis 4.1 and follow the documentation and run npm i @adonisjs/websocket-client. Adonis 4.2 is then released and @adonisjs/websocket-client continues to be updated. I'll still be referring to the 4.1 documentation which will be out of date with the version of the library I'm using.

I'm not quite sure how to solve this, but I think tying a release of these types of packages to an adonis version isn't feasible since they can be used in frontend packages. I also don't think it makes sense to update every branch with the plugin (so when 4.2 comes out, 4.1 and 4.2 because this is cumbersome (and will become more cumbersome overtime) and in the case of adonis-websocket-client the Client API and Server Api will quickly be incompatible.

One way to better tackle this might be to release 2.x of @adonisjs/websocket-client when 4.2 comes out and specify in the 4.1 documentation on install to make the packages max version 1.x but definitely think there might be a better way to tackle this.

closed time in 3 days

jakesyl

issue closedadonisjs/core

AdonisJS v5 problem build production

Package version

"@adonisjs/core": "^5.0.4-preview-rc-2.1"

Node.js and npm version

SERVER node: v12.16.2 npm: 6.14.4

Local Machine node: v14.8.0 npm: 6.14.7

Problem

I am making an API using AdonisJS 5. When I finished the API I generated a build using node ace build --production.

I tested it on the local machine and the API worked! But when I went up to the production server the following error appeared:

npm run start

start /usr/src/app node server.js

Error: Cannot find module '/usr/src/app/app/Exceptions/Handler' Require stack:

  • /usr/src/app/node_modules/@adonisjs/fold/build/src/Ioc/index.js
  • /usr/src/app/node_modules/@adonisjs/fold/build/index.js
  • /usr/src/app/node_modules/@adonisjs/aplication/build/index.js
  • /usr/src/app/node_modules/@adonisjs/core/build/standalone.js
  • /usr/src/app/server.js

1 Ioc.resolveAlias /usr/src/app/node_modules/@adonisjs/fold/build/src/Ioc/index.js:113

2 Ioc.make /usr/src/app/node_modules/@adonisjs/fold/build/src/Ioc/index.js:456

3 ExceptionManager.registerHandler /usr/src/app/node_moduLes/@adonisjs/http—server/build/src/Server/ExceptionManager/index.js:30

4 Server.errorHandler /usr/src/app/node_modules/@adonisjs/http—server/build/src/Server/index.js:103

5 HttpServer.createServer /usr/src/app/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:117

6 HttpServer.start /usr/src/app/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:148

This is my app/Exceptions/Handler.ts

import Logger from '@ioc:Adonis/Core/Logger' import HttpExceptionHandler from '@ioc:Adonis/Core/HttpExceptionHandler'

export default class ExceptionHandler extends HttpExceptionHandler { constructor() { super(Logger) } }

Temporary solution

The temporary solution I found for this problem was to delete the line "exceptionHandlerNamespace":"App/Exceptions/Handler" from the file .adonisrc.json

closed time in 3 days

danilloalvis

issue commentadonisjs/core

AdonisJS v5 problem build production

I found the problem, apparently when we run the command node ace build --production the folderapp/Exceptions is being created with the letter 'e' app/exceptions, I just renamed it to the correct name and it worked

danilloalvis

comment created time in 3 days

pull request commentadonisjs/core

feat: always try a graceful shutdown on first SIGINT

Graceful shutdown would be nice. Otherwise might end up in odd situtations when doing CTRL + C in middle of some action. Like updating series of data in DB without transaction or doing something with Redis cache or when messing with some websocket provider stuff etc With graceful shutdown all those providers have chanche to shut down connectionts and do clean shutdown

targos

comment created time in 3 days

issue commentAdonisCommunity/adonisjs.com-blog-comments

blog/socketio-with-adonisjs-v5/

I tried to use the service but nothing happened What is wrong ?

import Ws from 'App/Services/Ws'

export default class MessagesController { public async index({ view }) { const { report, healthy } = await HealthCheck.getReport() Ws.io.emit('news', { hello: 'world d' }) return view.render('message/index') } }

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/3.1.2/socket.io.js" crossorigin="anonymous"></script> <script> const socket = io('http://localhost:3333'); socket.on('news', (data) => { console.log(data); }); </script>

utterances-bot

comment created time in 4 days

issue commentadonisjs/core

init adonis-ts-app fails on Windows10

sure thing!

❯ npm init adonis-ts-app blog --verbose
npm verb cli [
npm verb cli   'C:\\node\\node.exe',
npm verb cli   'C:\\...\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'init',
npm verb cli   'adonis-ts-app',
npm verb cli   'blog',
npm verb cli   '--verbose'
npm verb cli ]
npm info using npm@7.0.2
npm info using node@v14.15.0
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:C:\...\npm\node_modules\npm\npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:E:\projects\.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:C:\...\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\...\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:cafile Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:setUserAgent Completed in 1ms
npm timing config:load:setEnvs Completed in 0ms
npm timing config:load Completed in 7ms
npm verb npm-session 930d83d14cf7c9ee
npm timing npm:load Completed in 76ms
npm http fetch GET 304 https://registry.npmjs.org/create-adonis-ts-app 948ms (from cache)
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
    _       _             _         _     
   / \   __| | ___  _ __ (_)___    | |___
  / _ \ / _` |/ _ \| '_ \| / __|_  | / __|
 / ___ \ (_| | (_) | | | | \__ \ |_| \__ \
/_/   \_\__,_|\___/|_| |_|_|___/\___/|___/


CUSTOMIZE PROJECT
> Select the project structure · api
> Enter the project name · blog
> Setup eslint? (y/N) · false

RUNNING TASKS
> Scaffold project 173 ms
> Install dependencies 37 s
> Configure installed packages 2.49 ms
  Cannot invoke instructions. Missing package "@adonisjs/core"

[ error ]  Unable to create project. Cleaning up
npm timing command:exec Completed in 53545ms
npm timing command:init Completed in 53625ms
npm verb exit 0
npm timing npm Completed in 53964ms
npm info ok
philippdormann

comment created time in 4 days

issue commentadonisjs/core

AdonisJS v5 problem build production

$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=debian

$ uname -a Kernel: Linux 0dc7fbcc17e0 4.4.0-190-generic #220-Ubuntu SMP Fri Aug 28 23:02:15 UTC 2020 x86_64 GNU/Linux

$ lscpu Architecture......................x86_64 CPU op-mode(s)..............32-bit, 64-bit Byte Order........................Little Endian CPU(s):.............................16 On-line CPU(s) list...........0-15 Thread(s) per core...........1 Core(s) per socket............16 Socket(s)..........................1 NUMA node(s)..................1 Vendor ID..........................GenuineIntel CPU family........................6 Model...............................63 Model name.....................Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz Stepping..........................2 CPU MHz.........................2300.002 BogoMIPS........................4600.00 Hypervisor vendor...........Microsoft Virtualization type...........full L1d cache........................32K L1i cache.........................32K L2 cache.........................256K L3 cache.........................25600K NUMA node0 CPU(s)......0-15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl xtopology pni cx16 hypervisor lahf_lm ssbd ibrs ibpb kaiser flush_l1d

danilloalvis

comment created time in 4 days

delete branch adonisjs/adonisjs.com

delete branch : snyk-upgrade-07211c52ef154efd13bd1c7efed81685

delete time in 4 days

push eventadonisjs/adonisjs.com

Harminder Virk

commit sha 42c9806dccec35df0c79b5e170437d72989f9112

fix: upgrade date-fns from 2.16.1 to 2.17.0 (#155) Snyk has created this PR to upgrade date-fns from 2.16.1 to 2.17.0. See this package in npm: https://www.npmjs.com/package/date-fns See this project in Snyk: https://app.snyk.io/org/thetutlage/project/e6bfd6e2-5f63-44f2-907a-6631485a47a9?utm_source=github&utm_medium=upgrade-pr Co-authored-by: snyk-bot <snyk-bot@snyk.io>

view details

push time in 4 days

PR merged adonisjs/adonisjs.com

[Snyk] Upgrade date-fns from 2.16.1 to 2.17.0

<h3>Snyk has created this PR to upgrade date-fns from 2.16.1 to 2.17.0.</h3>

merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/>

  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2021-02-05.

<details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>date-fns</b></summary> <ul> <li> <b>2.17.0</b> - <a href="https://snyk.io/redirect/github/date-fns/date-fns/releases/tag/v2.17.0">2021-02-05</a></br><p>Kudos to <a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/1952" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/1952/hovercard">@ shaykav</a>, <a href="https://snyk.io/redirect/github/davidgape89">@ davidgape89</a>, <a href="https://snyk.io/redirect/github/rikkalo">@ rikkalo</a>, <a href="https://snyk.io/redirect/github/tan75">@ tan75</a>, <a href="https://snyk.io/redirect/github/talgautb">@ talgautb</a>, <a href="https://snyk.io/redirect/github/owenl131">@ owenl131</a>, <a href="https://snyk.io/redirect/github/kylesezhi">@ kylesezhi</a>, <a href="https://snyk.io/redirect/github/inigoiparragirre">@ inigoiparragirre</a>, <a href="https://snyk.io/redirect/github/gius">@ gius</a>, <a href="https://snyk.io/redirect/github/Endeauvirr">@ Endeauvirr</a> and <a href="https://snyk.io/redirect/github/frankyston">@ frankyston</a>.</p> <h3>Fixed</h3> <ul> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/1950" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/1950/hovercard">Fixed Russian locale parsing issue</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2185" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2185/hovercard">Fixed <code>differenceInMonths</code> for edge cases, such as the end of February dates</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2010" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2010/hovercard">Fixed suffixes for the Kazakh locale</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2125" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2125/hovercard">Fixed <code>formatDuration</code> week translation in <code>pt</code> and <code>pt-BR</code> locales</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2099" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2099/hovercard">Made Japanese locale to use the correct value for the start of the week</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2080" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2080/hovercard">Adjusted date formats in the Basque locale</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2111" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2111/hovercard">Fixed the short and medium date formats in the Czech locale</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2187" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2187/hovercard">Adjusted the Polish translations of <code>formatDistance</code></a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2170" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2170/hovercard">Fixed the week's abbreviations in the Brazilian Portuguese</a>.</p> </li> </ul> <h3>Added</h3> <ul> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2172" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2172/hovercard">Added <code>intlFormat</code></a> a lightweight formatting function that uses <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl" rel="nofollow">Intl API</a>. Eventually, it will become the default formatting function, so it's highly recommended for new code.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/1952" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/1952/hovercard">Added <code>en-ZA</code> locale</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2016" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/2016/hovercard">Added an ability to format lowercase am/pm with <code>aaa</code> and <code>bbb</code> tokens</a>.</p> </li> <li> <p><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/2177/files">Added ordinal formatting for Japanese year values</a>.</p> </li> </ul> </li> <li> <b>2.16.1</b> - <a href="https://snyk.io/redirect/github/date-fns/date-fns/releases/tag/v2.16.1">2020-08-31</a></br><p>Kudos to <a href="https://snyk.io/redirect/github/aleksaps">@ aleksaps</a>, <a href="https://snyk.io/redirect/github/leedriscoll">@ leedriscoll</a> and <a href="https://snyk.io/redirect/github/BanForFun">@ BanForFun</a> for pull-requests!</p> <h3>Fixed</h3> <ul> <li><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/1925" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/1925/hovercard">Fixed a typo in Scottish Gaelic (gd) locale</a>.</li> <li><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/1928" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/1928/hovercard">Fixed typos in Serbian Latin locale</a>.</li> <li><a href="https://snyk.io/redirect/github/date-fns/date-fns/pull/1930" data-hovercard-type="pull_request" data-hovercard-url="/date-fns/date-fns/pull/1930/hovercard">Fixed greek grammar for Saturday on <code>formatRelative</code></a>.</li> <li>Removed locale snapshots from the npm package making it lighter.</li> </ul> </li> </ul> from <a href="https://snyk.io/redirect/github/date-fns/date-fns/releases">date-fns GitHub release notes</a> </details> </details> <hr/>

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJmMzU5NmRkOS1mMDc1LTRhNjItYjcyYS1jZDJhYTkyMWNhNTAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImYzNTk2ZGQ5LWYwNzUtNGE2Mi1iNzJhLWNkMmFhOTIxY2E1MCJ9fQ==" width="0" height="0"/>

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

<!--- (snyk:metadata:{"prId":"f3596dd9-f075-4a62-b72a-cd2aa921ca50","dependencies":[{"name":"date-fns","from":"2.16.1","to":"2.17.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/thetutlage/project/e6bfd6e2-5f63-44f2-907a-6631485a47a9?utm_source=github&utm_medium=upgrade-pr","projectPublicId":"e6bfd6e2-5f63-44f2-907a-6631485a47a9","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2021-02-05T14:09:28.758Z"},"templateVariants":["merge-advice-badge-shown"],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->

+4 -4

0 comment

2 changed files

thetutlage

pr closed time in 4 days