How to use the object-assign.another function in object-assign

To help you get started, we’ve selected a few object-assign examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Jam3 / detect-import-require / test / fixtures / module.js View on Github external
var path = require('path')
var foo1 = require('object-assign')
var another = require('object-assign').another
import { foo } from './foo'
import { foo as blah } from './blah'
import * as _ from 'lodash'
import defs from 'defaults'
import 'side-effects'
// import 'commented'
/* import { foo } from 'commented2'; */
// require('commented3')
require(__dirname + '/file.js')
require(path.join(__dirname, '/file.js'))

export default function () {
  var b = require('b')


ES2015 `Object.assign()` ponyfill

Latest version published 7 years ago

Package Health Score

77 / 100
Full package analysis