// npm 패키지
size-sensor
DOM element size sensor which will callback when size changed.
버전
17
메인테이너
1
라이선스
ISC
최초 publish
2018-06-06
publisher
atool
tarball
16,664 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2026-05-19
// publisher 캠페인by atool
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @1.0.4· 1 file flagged
llm: benign · 0.85→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
- @1.0.4··AUTO-PUBLISHED·publisher: atoolheuristic 75/100static flags 1llm benign (0.85) via ollamamature-packagepublisher-multi-name-burst:4osv-flagged:MAL-2026-4153public-github-push
→ 의심 전송지 없음, 원격 실행 형태 없음 — 1 known-vendor host(s).
// offending code· 1 file flaggedpatterns: 1
--- package/package.json (excerpt) --- { "name": "size-sensor", "version": "1.0.4", "description": "DOM element size sensor which will callback when size changed.", "main": "lib/index.js", "types": "index.d.ts", "scripts": { "debug": "cross-env NODE_ENV=babel cross-env DEBUG_MODE=1 jest", "test": "cross-env NODE_ENV=babel jest", "build:umd": "rimraf ./dist && cross-env NODE_ENV=rollup rollup -c", "build:lib": "rimraf ./lib && cross-env NODE_ENV=babel babel src -d lib", "build": "npm run build:umd && npm run build:lib && limit-size" }, "limit-size": [ { "limit": "1 KB", "path": "dist/size-sensor.min.js", "gzip": true } ], "repository": { "type": "git", "url": "git+https://github.com/hustcc/size-sensor.git" }, "keywords": [ "resize", "size", "sensor", "size-detector", "element" ], "optionalDependencies": { "@antv/setup": "github:antvis/G2#7cb42f57561c321ecb09b4552802ae0ac55b3a7a" }, "devDependencies": { "@babel/cli": "^7.6.0", "@babel/core": "^7.6.0", "@babel/preset-env": "^7.6.0", "babel-jest": "^24.9.0", "babel-plugin-version": "^0.2.1", "cross-env": "^5.1.3", "jest": "^24.9.0", "jest-electron": "^0.1.6", "limit-size": "^0.1.2", "rimraf": "^2.6.2", "rollup": "^1.21.4", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-uglify": "^6.0.3" }, "jest": { "runner": "jest-electron/runner", "testEnvironment": " --- bundled output (OSV-MAL flagged — LLM scope expansion) --- --- dist/size-sensor.min.js (bundled) --- ((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).sizeSensor={})})(this,function(e){function u(o){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:60,u=null;return function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];clearTimeout(u),u=setTimeout(function(){o.apply(e,n)},r)}}var t=1,i=function(){return"".concat(t++)},s="size-sensor-id",o="undefined"!=typeof ResizeObserver?function(n,e){function t(){i&&i.disconnect(),o=[],i=void 0,n.removeAttribute(s),e&&e()}var i=void 0,o=[],r=u(function(){o.forEach(function(e){e(n)})});return{element:n,bind:function(e){var t;i||((t=new ResizeObserver(r)).observe(n),r(),i=t),-1===o.indexOf(e)&&o.push(e)},destroy:t,unbind:function(e){e=o.indexOf(e);-1!==e&&o.splice(e,1),0===o.length&&i&&t()}}}:function(n,e){function t(){i&&i.parentNode&&(i.contentDocument&&i.contentDocument.defaultView.removeEventListener("resize",r),i.parentNode.removeChild(i),n.removeAttribute(s),i=void 0,o=[],e)&&e()}var i=void 0,o=[],r=u(function(){o.forEach(function(e){e(n)})});return{element:n,bind:function(e){var t;i||("static"===getComputedStyle(n).position&&(n.style.position="relative"),(t=document.createElement("object")).onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class","size-sensor-object"),t.setAttribute("tabindex","-1"),t.type="text/html",n.appendChild(t),t.data="about:blank",i=t),-1===o.indexOf(e)&&o.push(e)},destroy:t,unbind:function(e){e=o.indexOf(e);-1!==e&&o.splice(e,1),0===o.length&&i&&t()}}},r={};function d(e){e&&r[e]&&delete r[e]}function c(e){var t,n=e.getAttribute(s);return n&&r[n]?r[n]:(t=i(),e.setAttribute(s,t),n=o(e,function(
