
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@workfront/objcodes
Advanced tools
Definitions for all constants which can be used to interact with Workfront API
Definitions for object codes to be used with Workfront API
Package export 2 types of bundles:
dist/objcodes.js - is ES6 module (ES6 import/export and ES5 code), which exports separate definitions for all object codes and also a single object named ObjCodes which contains values of all object codes.
This bundle is the default package entry point.
dist/umb/objcodes.js - is UMD bundle for ES5 environments.
We recommend to use dist/objcodes.js as it will allow tree-shaking feature of your favorite bundler to eliminate unused constants from the target bundle.
The code inside dist/objcodes.js is in ES5, so you don't need transpilers to use it.
import {Baseline} from '@workfront/objcodes'
// output 'BLIN'
console.log(Baseline)
import * as ObjCodes from '@workfront/objcodes'
// outputs 'BLIN'
console.log(ObjCodes.Baseline)
// TypeScript type definitions are bundled
import {TObjCode, OpTask} from '@workfront/objcodes'
// TS2322: Type '"FOO"' is not assignable to type 'TObjCode'
const myObjCode: TObjCode = 'FOO'
const myOtherObjCode = 'BAR' as const
function useObjCode(code: TObjCode) {
// do something
}
useObjCode(OpTask)
// TS2345: Argument of type '"BAR"' is not assignable to parameter of type 'TObjCode'
useObjCode(myOtherObjCode)
Copyright (c) 2019 Workfront
Licensed under the Apache License, Version 2.0.
See the top-level file LICENSE and
(http://www.apache.org/licenses/LICENSE-2.0).
FAQs
Definitions for all constants which can be used to interact with Workfront API
We found that @workfront/objcodes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.