profile
viewpoint
Cam Song camsong Alibaba - 会影 Hangzhou, China 阿里巴巴前端工程师,想用最新的技术打造最酷的数据应用?那就联系我吧👌

camsong/blog 3133

✍️Front-end Development Thoughts

alibaba/pont 1632

🌉前端接口层工具

alibaba/kiwi 1155

🐤Kiwi-国际化全流程解决方案

camsong/fetch-jsonp 842

Make JSONP request like window.fetch

camsong/chrome-github-mate 335

Chrome extension to make single file download effortless and with more features

camsong/fetch-ie8 263

A window.fetch JavaScript polyfill supporting IE8

camsong/fetch-detector 37

检测浏览器版本判断是否支持 Fetch

camsong/babel-npm-boilerplate 14

A Boilerplate for creating NPM packages using Babel, ESLint, Mocha and Chai

camsong/bravo-bootstrap-rails 4

A pure gem just adds bootstrap to your Rails project.

camsong/bravo-generators 2

A collection of useful Rails generator scripts

startednefe/regraph

started time in a day

startedmicrosoft/playwright

started time in 3 days

push eventnefe/Hiring

Cam Song

commit sha c119b3c5dd5ea90aaa688f1d763c8076d50eb972

招聘30人

view details

push time in 8 days

push eventnefe/Hiring

Cam Song

commit sha 080b9d84a47b716a8760261dd9751d9597bec38d

添加3个技术方向详细JD

view details

push time in 8 days

startedumijs/hooks

started time in 12 days

startedKOP-XIAO/Clash-Merlin

started time in 14 days

startedopenwrt/luci

started time in 14 days

startedDreamacro/clash

started time in 14 days

startedmistic100/Photo-Sphere-Viewer

started time in a month

startedaframevr/aframe

started time in a month

startedjamiebuilds/itsy-bitsy-data-structures

started time in 2 months

startedjamiebuilds/unstated-next

started time in 2 months

startedbpmn-io/bpmn-js

started time in 2 months

push eventnefe/Hiring

黄子毅

commit sha 590f4e83e63c56f9d4802d3df4bb3cb3a8782756

Add Hooks history

view details

Cam Song

commit sha 09a92c2704ba3ff7a27b91314b297b8f79fd6018

Merge pull request #2 from ascoders/patch-1 Add Hooks history

view details

push time in 2 months

PR merged nefe/Hiring

Add Hooks history
+1 -1

0 comment

1 changed file

ascoders

pr closed time in 2 months

startednefe/Hiring

started time in 2 months

push eventnefe/Hiring

Cam Song

commit sha 302bc45fc4e9d2cb56f930139edadc91ae692353

🔥🔥🔥年底急招 P6🔥🔥🔥

view details

push time in 2 months

startedalibaba/kiwi

started time in 2 months

startedalibaba/pont

started time in 2 months

push eventnefe/Hiring

Cam Song

commit sha 25b7a67fdac922fa7fd499b3b774c1c704790b0e

年底急招 P6+

view details

push time in 2 months

startedalibaba/kiwi

started time in 2 months

startedalibaba/pont

started time in 2 months

startedrecharts/recharts

started time in 2 months

startednefe/You-Dont-Need-jQuery

started time in 2 months

startedseeingtheory/Seeing-Theory

started time in 2 months

issue closednefe/You-Dont-Need-jQuery

Unexpected end of JSON input

I am trying to install dependencies but I keep getting an error stopping it. npm ERR! Unexpected end of JSON input while parsing near '...:"^6.18.0","babel-tem'

closed time in 3 months

vkoll29

issue commentnefe/You-Dont-Need-jQuery

Unexpected end of JSON input

Please check your node and npm environment.

vkoll29

comment created time in 3 months

issue commentnefe/You-Dont-Need-jQuery

one-liner statement everywhere

Looks good, could you make a PR?

the-liquid-metal

comment created time in 3 months

push eventnefe/Hiring

Cam Song

commit sha bb6af311cd068e2b7201d8849299d70e0d4e1da2

年底急招,可年后入职

view details

push time in 3 months

push eventnefe/Hiring

Cam Song

commit sha 138fae72b369ea4ecee3065122536301d875b680

阿里招聘P6起,欢迎加入

view details

push time in 3 months

push eventnefe/You-Dont-Need-jQuery

Che Fisher

commit sha ed840ad73364a8743a73f11263d2dcac43401496

Update native wrap function From [the docs](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild): _The Node.appendChild() method adds a node to the end of the list of children of a specified parent node. If the given child is a reference to an existing node in the document, appendChild() moves it from its current position to the new position (there is no requirement to remove the node from its parent node before appending it to some other node)._ So, no need to remove it first since it will be moved anyway.

view details

Cam Song

commit sha 277980ca499bacc1fb249d7bed8d284bc1d20330

Merge pull request #231 from GrayedFox/patch-1 Update native wrap function

view details

push time in 3 months

PR merged nefe/You-Dont-Need-jQuery

Update native wrap function

From the docs:

The Node.appendChild() method adds a node to the end of the list of children of a specified parent node. If the given child is a reference to an existing node in the document, appendChild() moves it from its current position to the new position (there is no requirement to remove the node from its parent node before appending it to some other node).

So, no need to remove it first since it will be moved anyway.

+0 -1

1 comment

1 changed file

GrayedFox

pr closed time in 3 months

pull request commentnefe/You-Dont-Need-jQuery

Update native wrap function

Good point 👏

GrayedFox

comment created time in 3 months

push eventnefe/You-Dont-Need-jQuery

Daniil Senkiv

commit sha 8b95e4ed6d0de76a94613d4e2b156443e42e55cd

fixed link

view details

Cam Song

commit sha cf86dbc869bcf8aea56cac177bbaae6d3ce78c0d

Merge pull request #229 from DASenkiv/patch-1 fixed link

view details

push time in 3 months

PR merged nefe/You-Dont-Need-jQuery

fixed link
+1 -1

0 comment

1 changed file

DASenkiv

pr closed time in 3 months

push eventnefe/You-Dont-Need-jQuery

TangelSaki

commit sha 14a0fcf1846ae7f3bc55d7b95a0232fbf6acc3ad

fix(docs): fix translation Fix translation on how to get window.document width/height

view details

Cam Song

commit sha d7104d3809ed7bbe935e24d6cc1614580bd04ec5

Merge pull request #233 from TangelSaki/fix-translation fix(docs): fix translation

view details

push time in 3 months

PR merged nefe/You-Dont-Need-jQuery

fix(docs): fix translation

Fix translation on how to get window.document width/height

+29 -29

0 comment

5 changed files

TangelSaki

pr closed time in 3 months

push eventnefe/You-Dont-Need-jQuery

Gleb L

commit sha 022931ed212da52113ebf421a16f9044940d4a39

Update README-ru.md

view details

Cam Song

commit sha cf214a225670f168231c2d3730d628126168cf33

Merge pull request #234 from gee-paice/patch-1 Update README-ru.md

view details

push time in 3 months

PR merged nefe/You-Dont-Need-jQuery

Update README-ru.md

spelling mistake

+1 -1

0 comment

1 changed file

gee-paice

pr closed time in 3 months

startedbvaughn/react-window

started time in 4 months

startedkripken/sql.js

started time in 4 months

startedzeit/swr

started time in 4 months

startedSimonZhangITer/MyBlog

started time in 4 months

startedascoders/react-native-image-viewer

started time in 4 months

startedgoorockey/node-wechat-terminal

started time in 4 months

MemberEvent

startedheweiye/Merlin_Shadowsocks

started time in 4 months

release nefe/number-precision

1.3.2

released time in 4 months

created tagnefe/number-precision

tag1.3.2

🚀1K tiny & fast lib for doing addition, subtraction, multiplication and division operations precisely

created time in 4 months

push eventnefe/number-precision

Cam Song

commit sha 8ab4f95b0325c6bf5adc681ef9499863ccde2b6c

bump version to 1.3.2

view details

push time in 4 months

pull request commentnefe/number-precision

fix: #19

@lxfriday Thanks for your contributions 👏 I would like to invite you to be a collaborator. Please add my wechat tel: 13162473297

lxfriday

comment created time in 4 months

push eventnefe/number-precision

Cam Song

commit sha f247577abab7fa0def7b810ffce3e8354ccbe02e

fix: add test for 1/3

view details

push time in 4 months

issue closednefe/number-precision

two float number plus a problem

NP.plus(8.05463959, 9.90925221) is beyond boundary when transfer to integer, the results may not be accurate

closed time in 4 months

icssjs

issue commentnefe/number-precision

two float number plus a problem

Yep, this number's precision is out of js can control, the warning already showed the concern. You need to use https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt to fix this

icssjs

comment created time in 4 months

issue commentnefe/number-precision

NP.divide(1, 3) = 0.333333333333

Fixed by https://github.com/nefe/number-precision/pull/21 Great thanks to @lxfriday

wangyupo

comment created time in 4 months

push eventnefe/number-precision

Cam Song

commit sha 6c36cc5b6625ddda43bb1f8a2834d1d6ec078d22

fix: more test of NP.divide, close #12

view details

push time in 4 months

issue closednefe/number-precision

divide(83.42894732749,100) = 0.8342894732748999

divide(83.42894732749,100) 0.8342894732748999

closed time in 4 months

jiang43605

push eventnefe/number-precision

dependabot[bot]

commit sha 023968acc644e2dbcf12598cdf673f9209c5287e

build(deps): bump diff from 3.4.0 to 3.5.0 Bumps [diff](https://github.com/kpdecker/jsdiff) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/kpdecker/jsdiff/releases) - [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md) - [Commits](https://github.com/kpdecker/jsdiff/compare/v3.4.0...v3.5.0) Signed-off-by: dependabot[bot] <support@github.com>

view details

Cam Song

commit sha 16fbfc6ef7106a81561f15914173adfea7cfa20b

Merge pull request #22 from nefe/dependabot/npm_and_yarn/diff-3.5.0 build(deps): bump diff from 3.4.0 to 3.5.0

view details

push time in 4 months

PR merged nefe/number-precision

build(deps): bump diff from 3.4.0 to 3.5.0 dependencies

Bumps diff from 3.4.0 to 3.5.0. <details> <summary>Changelog</summary>

Sourced from diff's changelog.

v3.5.0 - March 4th, 2018

  • Omit redundant slice in join method of diffArrays - 1023590
  • Support patches with empty lines - fb0f208
  • Accept a custom JSON replacer function for JSON diffing - 69c7f0a
  • Optimize parch header parser - 2aec429
  • Fix typos - e89c832

Commits </details> <details> <summary>Commits</summary>

  • e9ab948 v3.5.0
  • b73884c Update release notes
  • 8953021 Update release notes
  • 1023590 Omit redundant slice in join method of diffArrays
  • c72ef4a Add missing test coverage
  • b9ef24f Support patches with empty lines
  • 10aaabb Support patches with empty lines
  • 196d3aa Support patches with empty lines
  • e24d789 Support patches with empty lines
  • 8616a02 Support patches with empty lines
  • Additional commits viewable in compare view </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+37 -16

0 comment

1 changed file

dependabot[bot]

pr closed time in 4 months

push eventnefe/number-precision

dependabot[bot]

commit sha 413c6f67f21ad849a999fce4d555736e8b1475d9

build(deps): bump lodash from 4.17.4 to 4.17.15 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.15. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.4...4.17.15) Signed-off-by: dependabot[bot] <support@github.com>

view details

Cam Song

commit sha e7e8e0aebfafda14c5cda3a3b98acfffd97f9214

Merge pull request #24 from nefe/dependabot/npm_and_yarn/lodash-4.17.15 build(deps): bump lodash from 4.17.4 to 4.17.15

view details

push time in 4 months

PR merged nefe/number-precision

build(deps): bump lodash from 4.17.4 to 4.17.15 dependencies

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps lodash from 4.17.4 to 4.17.15. <details> <summary>Commits</summary>

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+37 -21

0 comment

1 changed file

dependabot[bot]

pr closed time in 4 months

push eventnefe/number-precision

dependabot[bot]

commit sha f0b068efd65434a2c39e75d3467ebc082c58548b

build(deps): bump lodash.merge from 4.6.0 to 4.6.2 Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.0 to 4.6.2. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/commits) Signed-off-by: dependabot[bot] <support@github.com>

view details

Cam Song

commit sha 12ea593eb0dffb4e683b0e2bc76cd0640a033fb7

Merge pull request #25 from nefe/dependabot/npm_and_yarn/lodash.merge-4.6.2 build(deps): bump lodash.merge from 4.6.0 to 4.6.2

view details

push time in 4 months

PR merged nefe/number-precision

build(deps): bump lodash.merge from 4.6.0 to 4.6.2 dependencies

Bumps lodash.merge from 4.6.0 to 4.6.2. <details> <summary>Commits</summary>

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+37 -16

0 comment

1 changed file

dependabot[bot]

pr closed time in 4 months

push eventnefe/number-precision

dependabot[bot]

commit sha ab673f159b5fe3c329c1b1b65d8d03718627a5a5

build(deps): bump js-yaml from 3.10.0 to 3.13.1 Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.10.0 to 3.13.1. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/3.10.0...3.13.1) Signed-off-by: dependabot[bot] <support@github.com>

view details

Cam Song

commit sha d0353bb2f952aa11273ccf6ceecf0d5835bb7e6c

Merge pull request #23 from nefe/dependabot/npm_and_yarn/js-yaml-3.13.1 build(deps): bump js-yaml from 3.10.0 to 3.13.1

view details

push time in 4 months

PR merged nefe/number-precision

build(deps): bump js-yaml from 3.10.0 to 3.13.1 dependencies

Bumps js-yaml from 3.10.0 to 3.13.1. <details> <summary>Changelog</summary>

Sourced from js-yaml's changelog.

3.13.1 / 2019-04-05

  • Fix possible code execution in (already unsafe) .load(), #480.

3.13.0 / 2019-03-20

  • Security fix: safeLoad() can hang when arrays with nested refs used as key. Now throws exception for nested arrays. #475.

3.12.2 / 2019-02-26

  • Fix noArrayIndent option for root level, #468.

3.12.1 / 2019-01-05

  • Added noArrayIndent option, #432.

3.12.0 / 2018-06-02

  • Support arrow functions without a block statement, #421.

3.11.0 / 2018-03-05

  • Fix dump in bin/octal/hex formats for negative integers, #399.
  • Add arrow functions suport for !!js/function. </details> <details> <summary>Commits</summary>

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+37 -28

0 comment

1 changed file

dependabot[bot]

pr closed time in 4 months

push eventnefe/number-precision

lxfriday

commit sha cb5560d8ddbd0a9aaa418a8163bae33f52885c64

fix: divide error #19

view details

Cam Song

commit sha 6d29b95aad4d371819fee14422d284be5dc94102

Merge pull request #21 from lxfriday/master fix: #19

view details

push time in 4 months

issue closednefe/number-precision

33.3333除以100 在浏览器上计算出现问题

NP.divide(33.3333, 100) = 0.33333300000000005

closed time in 4 months

UnlimitedGalaxy

PR merged nefe/number-precision

fix: #19

ref #19

+375 -371

1 comment

5 changed files

lxfriday

pr closed time in 4 months

startedreact-hook-form/react-hook-form

started time in 4 months

startedalibaba/kiwi

started time in 5 months

startedalibaba/pont

started time in 5 months

startedVay-keen/Machine-learning-learning-notes

started time in 5 months

issue openedalibaba/kiwi

对于国际化文件,禁用中文检查

image

如图,对于国际化资源文件,应该禁用中文检查,可以通过添加类似 //disable-kiwi 指令完成

created time in 5 months

startedvugu/vugu

started time in 6 months

startedweb-animations/web-animations-js

started time in 6 months

more