- #6128 [feature] Graceful handling of undefined locale name
- #5554 [bugfix] Handle invalid mutations
- #6193 [bugfix] weekyear setter handle dow
- #5592 [bugfix] Stricter single digit date parsing
- #5827 [bugfix] ts: toISOString function also return null
- #5607 [bugfix] unify duration.valueOf and asMilliseconds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # NOTE: Install pycryptodome, there is no AES in stdlib... | |
| import json | |
| import hashlib | |
| import sys | |
| import argparse | |
| import io | |
| from urllib.parse import quote |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Sample code to convert from https://www.cadastre.bg/ polygons to geojson for | |
| * viewing on a standartized mapping software. | |
| */ | |
| var proj4 = require('proj4'); | |
| class Parser { | |
| constructor(s) { | |
| this.s = s; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # import vcf | |
| # with open('contacts.vcf', 'r') as f: | |
| # vcf_reader = vcf.Reader(f) | |
| # i = 0 | |
| # for record in vcf_reader: | |
| # print('{} {}'.format(i, record)) | |
| # i += 1 | |
| import json | |
| import quopri |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # moment 2.29.2 changelog | |
| This is security update, adressing | |
| https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4 | |
| Locales with names containing forward slash `/` and backward slash `\\` are no | |
| longer loaded from filesystem (they can still be used in locales which are | |
| defined on the spot). | |
| This might break your code, if you happen to package your own locales in |
NOTE: There are some changes in this release with questionable stability across the packaging/environment spectrum. Update with care.
React native 0.49+ crashes with dynamic requires. This is a workaround.
- #4213 [critical] Rename dynamic require to avoid React Native crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -x | |
| set -e | |
| set -o pipefail | |
| REPO="moment/moment" | |
| function json_escape(){ | |
| echo -n "$1" | python -c 'import json,sys; print json.dumps(sys.stdin.read())' | |
| } |
NewerOlder