Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

attain

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

attain - npm Package Compare versions

Comparing version 0.0.159 to 0.0.160

docs/examples/globe.gif

43

docs/examples/tape-player.js

@@ -167,3 +167,3 @@ /* globals v */

FF({ time, after }){
const shift = dt * 4
const shift = dt * 8
return (

@@ -180,3 +180,3 @@ Number(time) > total()

RW({ time, after }){
const shift = dt * 4
const shift = dt * 8
return (

@@ -380,6 +380,6 @@ Number(time) - dt <= 0

`
,
{ hook: ({ dom }) =>
scale.map( x => dom.style.setProperty('--scale', x))
}
,
{ hook: ({ dom }) =>
scale.map( x => dom.style.setProperty('--scale', x))
}
, v('.center'

@@ -406,7 +406,2 @@ + v.css(`

const globe =
stream.scan( 0 ) ((p,x) => p + 1 ) ( stream.interval(3000) )
.map( x => x % 3 )
.map( i => ['🌍','🌏', '🌎'][i])
return () => v('.app'

@@ -427,3 +422,3 @@ + v.css`

+ v.css`
bc rgba(0,0,0,0.8)
bc rgba(0,0,0,1)
p 1em

@@ -433,11 +428,19 @@ br 0.25em

box-shadow 0px 0px 10px 1px rgba(0,0,0,0.1)
position: relative
`
, v('span', {
hook: ({ dom }) =>
globe.map( x => dom.textContent = x )
} )
, v('span'+v.css.pl('0.5em'), {
hook: ({ dom }) =>
route.map(route.toURL).map( x => dom.textContent = x )
})
, v('img'
+ v.css`
w 32px
position absolute
top: 8px;
left: 5px;
`
,
{ src: 'https://lh5.googleusercontent.com/proxy/2EF3He9faOriEP6cAsx26X4Q2jKX78NQ1Bv2SWzDp0h7o98jIzrtKfe-Z6P396M_80061-eKL3Y0rBYy6MjSt1rNE_JXoVp2EE9Pa3mH7rXhVXW6HaqY4cR1ga1MZrliiG5GoRoakUs=s0-d'
}
)
, v('span'+v.css.pl('2em'), {
hook: ({ dom }) =>
route.map(route.toURL).map( x => dom.textContent = x )
})
)

@@ -444,0 +447,0 @@ , v('.player'

{
"name": "attain",
"version": "0.0.159",
"version": "0.0.160",
"description": "A library for modelling and accessing data.",

@@ -5,0 +5,0 @@ "main": "dist/attain.min.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc