npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@beisen/talent-core

v3.0.0-beta1

Published

=====================

Downloads

556

Readme

talent-core版本说明

=====================

注意事项:打tag后请检查下边地址的版本是否存在 http://stnew03.beisen.com/ux/@beisen/talent-core/release/dist/talent-libs-1.0.2-9.min.js

1.0.72

  • callFetch header中的按钮编码和页面编码转码(业务会自定义可能包含中文)

1.0.71

  • 新增fetch失败提示Failed to fetch的多语言翻译

1.0.70

  • 新增babel-polyfill

1.0.69

  • 新增babel-polyfill, 有bug

1.0.68

  • 升级validate.js版本0.10-0.12

1.0.67

  • 操作日志修改uid和tid为user_id和tenant_id

1.0.66

  • 操作日志添加uid和tid

1.0.65

  • 断网提示支持多语言

1.0.63

  • 修改操作日志header字段 ftc: traceId fan: 按钮编码 fal: 按钮中文描述 fpn: 页面编码 fpl: 页面中文描述 fapp: 应用名称 fver: 前端版本

1.0.62

  • commonFetch中analysisData处理兼容

1.0.60

  • fetch设置analysisData中的默认值为''

1.0.59

  • fetch中analysisData作兼容

1.0.58

  • fetch的header中添加操作日志参数 tc: traceId an: 按钮名称 aid: 按钮id pn: 页面名称 pid: 页面id app: 应用名称 ver:前端版本

1.0.57

  • webpack支持扩展loaders

1.0.55

  • commonFetch修复返回失败error信息

1.0.54

  • @beisen/code-split-component替换原来的,修复ie10兼容性问题

1.0.53

  • 组件拆分webpack支持

1.0.52

  • 修复日志重复traceid bug
  • 断网提示兼容性bug

1.0.51

  • 修改断网提示语文案

1.0.50

  • callFetch和commonFetch增加断网提示

1.0.45

  • 重新发版

1.0.44(未发版成功)

  • commonFetch添加默认headers

1.0.43

  • custom webpack prod添加publicPath

1.0.42

  • 扩展webpack支持code split拆分chunk

1.0.41

  • webpack支持传入crossOriginLoading

1.0.40

  • commonFetch bug失败后未return

1.0.39

  • fetch中url参数二次编码问题

1.0.38

  • scss加参数&minimize&-autoprefixer

1.0.37

  • webpack开发环境新增参数enableEslint来决定是否开启eslint

1.0.36

  • commonFetch用ok来判断状态

1.0.35

  • fetch headers新增'X-Sourced-By': 'ajax',用来区别是访问接口还是直接跳转

1.0.34

  • fetch firefox跨域请求bug

1.0.33

  • fetch处理公式编辑器的跨域请求支持传自定义headers

1.0.32

  • fetch处理公式编辑器的跨域请求

1.0.31

  • 新增平台业务日志系统打点及CommonFetch CommonFetch使用说明如下:
let url = 'http://localhost:3000/i18nAll/en.js'
let params = {
  method: 'GET',
  credentials: 'same-origin'
}
let failureCallBack = function(res) {
  console.log(res, 'res')
}
let successCallBack = function(data) {
  console.log(data, 'data')
}

let analysisData = {
	sourceActionName: '',  //来源动作名称
	sourceActionCode: '',  //来源动作名称
	pageCode: '',  //来源页面编码
	dataKey: []  //数据id
}

window.CommonFetch(url, params, successCallBack, failureCallBack, analysisData)

1.0.30

  • 修复首屏时间打点type不匹配问题

1.0.29

  • 新增get请求param中有数组的序列化处理逻辑

1.0.28

  • 新增打点traceId

1.0.27

  • 更新bench版本

1.0.26

  • 删除npmrc中的ftp地址

1.0.25

  • 新增公共方法getDecodeUrl

1.0.24

  • get请求新增时间戳防止ie下缓存bug

1.0.23

  • 移动端新增exec拷贝文件

1.0.22

  • 修改移动端编译工具

1.0.21

  • 修复ptid参数问题

1.0.20

  • 取参数pt和ptid,为弹窗中使用

1.0.19

  • 修复safari浏览器中url%编码问题

1.0.18 稳定版

  • 修改ReactTransformTenchmark的包名为小写 注:8-17的版本都为测试,不可用
  • 1.0.18-3 saga测试版
  • 1.0.18-4 fetch改造测试版
  • 1.0.18-5 fetch测试
  • 1.0.18-8 给reducer加判断
  • 1.0.18-9 修复打点类型问题
  • 1.0.18-10 webpack使用friendly-errors-webpack-plugin插件,去掉dashboard,启动时只显示有用信息
  • 1.0.18-12 兼容saga代码
  • 1.0.18-13 修复fetch bug、loader新增babel缓存
  • 1.0.18-14 分支版本,实现按需加载优化性能
  • 1.0.18-15 新增react-router-redux库及说明
  • 1.0.18-21 新增自定义参数window.customParam为一个对象
  • 1.0.18-23 取消devtools工具,合并分支
  • 1.0.18-27 修复customParams对象置为空的bug
  • 1.0.18-28 修复get中?和新增customParam POST请求
  • 1.0.18-29 修复弹窗中的shadow_context传递

1.0.7

  • 修复fetch传入get参数时统一转换为大写去判断
  • desktop开发webpack支持传入publicPath参数,便于启动两个服务

1.0.6 修复webapck-dashboard插件一直占用进程问题

1.0.5 修复params bug

  • 1.0.5-1 新增NaDeStyle图标
  • 1.0.5-2 新增参数控制是否使用webpack-dashboard(测试版本)

1.0.4 (有bug)

  • 新增打点middleware
  • 修改ReactTransformTenchmark组件版本

1.0.3 修复redux-tools工具压缩时问题

  • 1.0.3-1 打点测试(不可用)
  • 1.0.3-2 打点测试(不可用)

1.0.2

  • 新增@beisen/ReactTransformTenchmark,打点统一走iTalentPMS

  • 去掉移动端ChaoUI别名,新增@beisen/BeisenCloudMobile拷贝

  • 1.0.2-1 新增fetch中action返回params

  • 1.0.2-2 新增NaDeStyle图标(该版本号没打对,请勿使用)

  • 1.0.2-3 新增NaDeStyle图标

  • 1.0.2-4 移动端external ChaosUI

  • 1.0.2-5 执行build-core-es5,防止lib下的找不到文件

  • 1.0.2-6 (不可用)

  • 新增给talent-core自动打tag脚本

  • 移动和pc项目新增webpack-dashboard,可以在项目package.json的start命令中使用方式如下 "start": "webpack-dashboard -- webpack-dev-server --config ./webpack/webpack.config.js",

  • 1.0.2-7 (不可用,版本本地和ci不一致)修复自动打tag脚本bug

  • 1.0.2-8 一个稳定版,去掉自动tag

  • 1.0.2-9 修复自动tag防止ci多编译一次

  • 1.0.2-10 开发环境支持谷歌扩展Redux DevTools工具且loggerMiddleware支持immutable

  • 1.0.2-11 (不可用)打包react-css-transition-group库

  • 1.0.2-12 修复找不到库bug

1.0.1

  • 1.0.1-1 核心fetch改造(不支持向下兼容)
  • 1.0.1-2 修改fetch返回数据格式都转为对象的问题,对打点做了判断
  • 1.0.1-3 新增ajax打点的url加域名
  • 1.0.1-4 新增性能打点开关IsUseUxPMS
  • 1.0.1-5 更改打点中application换为appName和打点接口域名换为ip 42.159.8.36
  • 1.0.1-6 扩展配置新增ChaoUI别名
  • 1.0.1-7 开发和测试不打运维的开发,线上re-render不打运维接口
  • 1.0.1-8 去掉线上re-render打点数据
  • 1.0.1-9 去掉测试re-render

0.5.7

  • 0.5.7-1 回退fetch、去掉lodash externals,更新webapp中 prod里的别名
  • 0.5.7-2 更新webapp中 prod里的别名 (0.5.7-1没打上去)
  • 0.5.7-3 新增ES服务器打点数据收集URL
  • 0.5.7-4 desktop的config中加入拷贝beisencloudUI的指令
  • 0.5.7-5 sid更改为sessionId
  • 0.5.7-6 移除better-npm-run
  • 0.5.7-7 -6build出现问题,重新打的tag
  • 0.5.7-8 新增依赖eslint相关依赖,analysisInterface.js中新增BSGlobal参数的判空
  • 0.5.7-9 NaDeStyle更新
  • 0.5.7-10 readme和tag版本与dist中文件版本匹配
  • 0.5.7-11 修改打点文件,保证page值首字母转化为大写
  • 0.5.7-12 删除移动端webpack中chaosUI多余的别名
  • 0.5.7-13 新增fetch中action返回params
  • 0.5.7-14 新增重复渲染打点内容
  • 0.5.7-15 改造fetch测试,该版本不可用
  • 0.5.7-16 修改了change-skin.scss中的样式

0.5.6

  • 0.5.6-1 添加能解决兼容性的babel库transform-class-properties等三个
  • 0.5.6-2 添加pc和移动图标
  • 0.5.6-3 添加json-loader
  • 0.5.6-4 测试ethos tag
  • 0.5.6-5 pc和移动的webpack加入eslint测试
  • 0.5.6-6 新增图标
  • 0.5.6-7 新增prod下的css打包为不带hash值的talent-pc.min.css供组件使用及pc增加ethos打包挂至window上
  • 0.5.6-8 pc新增换肤样式、新增hotfix文件、加入分析middleware
  • 0.5.6-9 更新copy-webpack-plugin版本且pc prod配置中新增copy ethos(该版本不可用)
  • 0.5.6-10 修复由于copy升级使得原来的路径拷贝不正确
  • 0.5.6-11 解决webpack-dev-server与copy插件升级后的issue,回退copy版本,改用node的exec来拷贝
  • 0.5.6-12 去除device.js和react下的container/app.js以及lodash
  • 0.5.6-13 新增图标
  • 0.5.6-14 测试性能分析(该版不可用)
  • 0.5.6-15 将pc的talent-libs-hash随pc项目一起上线,不由talent-core统一管理版本
  • 0.5.6-16 改造fetch,增加状态码不是200的处理且删除上面15版本内容 (fetch有问题)
  • 0.5.6-17 恢复lodash (完整版)
  • 0.5.6-18 将lodash的这四个单独打为一个包omit、uniq、pick、filter(不可用)
  • 0.5.6-19 lodash打包时加了window._ = window.lodash(可用)
  • 0.5.6-20 fetch加上403和404处理
  • 0.5.6-21 移动端加ChaosUIV1的别名
  • 0.5.6-22 新增图标
  • 0.5.6-23 pc prod新增BeisenCloudUI的拷贝
  • 0.5.6-24 更新打点
  • 0.5.6-25 beisencloud pc talent-libs移至项目中;新增prod去除console插件
  • 0.5.6-26 更新prod中chunkhash为hash
  • 0.5.6-27 fetch更新测试

0.5.5

  • 0.5.5-1 公共依赖库打包方式不使用UMD来测试
  • 0.5.5-2 扩展项目prod任务开启压缩
  • 0.5.5-3 修改fetch中执行报错action的顺序,先代码本身,后http;更改css中引入图标文件的路径
  • 0.5.5-4 测试talent-libs挂在window上,而不使用别名
  • 0.5.5-5 测试talent-libs挂在window上,而不使用别名
  • 0.5.5-6 测试talent-lib打包
  • 0.5.5-7 测试ReactTransformTenchmark不用别名方式及log信息只在dev下输出
  • 0.5.5-8 ReactTransformTenchmark不用别名报错修复
  • 0.5.5-9 去掉webapp和custom下webpack配置中的TalentCore别名
  • 0.5.5-10 修改outerscript中build-prod命令执行的webpack为./webpack/webpack.prod.config.js"
  • 0.5.5-11 新增normalize.scss文件&&新增图标95d-960
  • 0.5.5-12 新增图标
  • 0.5.5-13 dev环境下的图片不带hash
  • 0.5.5-14 将reset跟talent-pc合在一起
  • 0.5.5-15 测试ci build失败tag
  • 0.5.5-16 测试发包tag
  • 0.5.5-17 去掉redux-async-connect为了兼容性测试
  • 0.5.5-18 作用同17版本
  • 0.5.5-19 更新talent-pc.css
  • 0.5.5-20 添加统计分析middleware
  • 0.5.5-21 升级webpack2&&desktop webpack新增happypack,在分支上打的tag不成功
  • 0.5.5-22 升级webpack2&&desktop webpack新增happypack
  • 0.5.5-23 去掉webpack2和happypack,更新talent-pc的reset

0.5.4

  • 0.5.3未成功发布至npm包中,该tag为测试使用

0.5.3

  • 改造fetch(支持自定义header及全局customHeaders函数、fecth新增httpcode的处理)
  • 升级react-router至2.4.0
  • 新增react-addons-pure-render-mixin、babel-polyfill及validata.js
  • 开放router中的nextState给业务
  • 修改公共库的打包方式
  • 各项目的webpack.prod中hash变为chunkhash

0.5.2

  • 去掉talent-core项目本身的case-sensitive-paths-webpack-plugin插件
  • fetch的回调直接执行对应的build
  • 0.5.2-1 ---- 改造fetch的参数(支持传自定义header对象且若有全局的customHeaders函数则使用该函数返回的header对象) ---- 升级react-router至2.4.0(location变为nextstate) ---- dependencies中库的版本固定
  • 0.5.2-2 (修复fetch的bug)
  • 0.5.2-3 (新增PureRenderMixin插件)
  • 0.5.2-4 (测试将项目依赖的公共包放入talent-core的dependencies)
  • 0.5.2-5 (去掉webpack中react-hot-loader及未用到的包如moment等;新增babel-polyfill;更新package.json中config)
  • 0.5.2-6 (新增对validata.js库的管理;去掉custom配置中的react-hot;开放prod中的hotfix)
  • 0.5.2-7 (开放router中的nextState给业务,临时方案)
  • 0.5.2-8 (修改talent-core的build的环境)
  • 0.5.2-9 (webpack配置中新增对提取的公共模块合并)
  • 0.5.2-10 (prod中hash变为chunkhash)
  • 0.5.2-11 (修改公共依赖的打包方式UnlifyJs.minify)
  • 0.5.2-12 (对打包方式dev时不压缩,注:ci build有问题)
  • 0.5.2-13 (fecth新增httpcode的处理并在buildCommonLib中判断运行环境,注:ci build有问题)
  • 0.5.2-14 (修复buildCommonLib中路径问题,注:ci build有问题)
  • 0.5.2-15 (测试buildCommonLib中路径问题bug,注:ci build有问题)
  • 0.5.2-16 (暂不加buildCommonLibs,只新增fecth新增httpcode的处理)
  • 0.5.2-17 (添加buildCommonLibs,并对其进行测试)
  • 0.5.2-18 (修改fetch)

0.5.1

  • 在createEntry中添加return store
  • 0.5.1-1 (增加NaDe的样式并打包;改变打包规则只生成talent-libs)
  • 0.5.1-2 (增加middleware扩展)
  • 0.5.1-3 (增加middleware扩展后build)
  • 0.5.1-4 (增加middleware后bug修复)
  • 0.5.1-5 (新增webpack下的custom配置)
  • 0.5.1-6 (增加webpack的publicPath)
  • 0.5.1-7 (修改custom下的webpack.prod下的App-[hash].min.js)
  • 0.5.1-8 (修改custom下的webpack.prod下的name-[hash].min.js;去掉webpack的publicPath;)
  • 0.5.1-9 (修改webpack.config.js中DefinePluginConfig参数;重新打包talent-libs)
  • 0.5.1-10 (修改webpack,去掉hotfix插件的使用,影响项目打包)
  • 0.5.1-11 (修改webpack,开发环境启用css分离打包;清理dist文件夹内容;)
  • 0.5.1-12 (修改NaDeStyle内容;)
  • 0.5.1-13 (给custom/desktop/webapp的webpack开发环境增加case-sensitive-paths-webpack-plugin插件)
  • 0.5.1-14 (修改fetch增加对这种application/x-www-form-urlencoded的contentType的参数作转换)
  • 0.5.1-15 (去掉上一版本的fetch中多余未删掉的判断)
  • 0.5.1-16 (fetch的回调直接执行,可能不是一个action)

0.5.0

  • 开放路由配置给业务
  • 0.5.0-1 (css使用hash命名)
  • 0.5.0-2 (解决css的hot-loader,新建一个去掉了ExtractTextPlugin插件的loaders-dev)
  • 0.5.0-3 (测试在createEntry中return store)

0.4.9

  • 更新keymirror
  • 分离webpack

0.4.8

  • 加入动态路由配置,但require路径是固定的
  • 解决bundle-loader在mac和windows中正则匹配的问题

0.4.7

  • fetch.js(add content type and next action)
  • package.json(add "isUpdateVer": false)
  • update desktop webpack.config.js bug
  • delete airbnb lib and airbnb config in karma

0.4.6

  • replace seal-immu and delete DedupePlugin